<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>NOONnoo by Melle Wynia &#187; WordPress Tutorials</title>
	<atom:link href="http://www.noonnoo.com/category/wordpress-tutorial/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.noonnoo.com</link>
	<description></description>
	<lastBuildDate>Fri, 19 Feb 2010 23:26:45 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Adding Admin Elements in Themes</title>
		<link>http://www.noonnoo.com/wordpress-tutorial/adding-admin-elements-in-themes/</link>
		<comments>http://www.noonnoo.com/wordpress-tutorial/adding-admin-elements-in-themes/#comments</comments>
		<pubDate>Sat, 02 Jan 2010 17:00:57 +0000</pubDate>
		<dc:creator>Melle</dc:creator>
				<category><![CDATA[WordPress Tutorials]]></category>

		<guid isPermaLink="false">http://www.noonnoo.com/?p=219</guid>
		<description><![CDATA[Not long after I started experimenting with WordPress themes, I wanted the &#8220;Edit post&#8221;, &#8220;Edit page&#8221;, &#8220;Edit comment&#8221; and &#8220;Site Admin&#8221; links in the same style as you can find those in the WordPress admin area. So I made those and I can tell you it makes live much easier. In this tutorial I explain [...]]]></description>
			<content:encoded><![CDATA[<p>Not long after I started experimenting with WordPress themes, I wanted the &#8220;Edit post&#8221;, &#8220;Edit page&#8221;, &#8220;Edit comment&#8221; and &#8220;Site Admin&#8221; links in the same style as you can find those in the WordPress admin area. So I made those and I can tell you it makes live much easier. In this tutorial I explain how to install those in your own theme.<span id="more-219"></span></p>
<h3>Please be aware: You need to have some knowledge of HTML and CSS. If you don&#8217;t have that, please don&#8217;t read any further. You could email me if you want me to integrate it for you.</h3>
<div class="alignleft-bot" style="width:3;"><div class="alignleft-top"><img src="http://www.noonnoo.com/wp-content/uploads/2009/12/2009-12-24_fromadminarea.png" alt="The dark Admin Bar in the Admin Area."/><p>The dark Admin Bar in the Admin Area.</p></div></div> <div class="alignleft-bot" style="width:3;"><div class="alignleft-top"><img src="http://www.noonnoo.com/wp-content/uploads/2009/12/2009-12-24_toadminarea.png" alt="The dark Admin Bar in the theme. It will show up when I or someone else is logged in."/><p>The dark Admin Bar in the theme. It will show up when I or someone else is logged in.</p></div></div> <div class="alignleft-bot" style="width:3;"><div class="alignleft-top"><img src="http://www.noonnoo.com/wp-content/uploads/2009/12/2009-12-24_editthiscomment.png" alt="When I am logged in and have the permissions to edit comments, this button will show up."/><p>When I am logged in and have the permissions to edit comments, this button will show up.</p></div></div> <div class="alignleft-bot" style="width:3;"><div class="alignleft-top"><img src="http://www.noonnoo.com/wp-content/uploads/2009/12/2009-12-24_loggedinas.png" alt="This will show up under the comment form."/><p>This will show up under the comment form.</p></div></div>
<h2>1. Adding the CSS</h2>
<p>Place this piece of code in the &lt;head&gt; within the &lt;style&gt; element. It will only load when someone is logged in. When the adminbuttons etc. don&#8217;t show up as they should, you may have to change the CSS slightly.</p>
<pre>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 120px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&lt;?php if ( $user_ID ) <img src='http://www.noonnoo.com/wp-includes/images/smilies/icon_confused.gif' alt=':?' class='wp-smiley' /> &gt;</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 120px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="white-space: pre;"> </span>&lt;?php endif</div>

&lt;?php if ( $user_ID ) : ?&gt;

		/* Rich Admin CSS */

		/* ## Big Admin Bar at the top */

		.logged-in {
			padding:0; margin:0;
			height:46px;
			background:#464646 url(&lt;?php echo get_option('home'); ?&gt;/wp-admin/images/wp-logo.gif) no-repeat 16px 8px;
			color:#999;
		}

		.logged-in h1 {
        	margin:0; padding:10px 0 0 55px;
        	display:block;
			height:36px;
		}

	&lt;/style&gt;

	&lt;!--[if lt IE 8]&gt;
	&lt;style type="text/css" media="screen"&gt;
		.logged-in h1{
			height:44px;
			padding-top:2px;
		}
	&lt;/style&gt;
	&lt;![endif]--&gt;

	&lt;style type="text/css" media="screen"&gt;

		.logged-in h1 a  {
        	margin:0; padding:0;
        	color:#fff; font:22px Georgia,"Times New Roman","Bitstream Charter",Times,serif; font-weight:normal; text-decoration:none;
		}

		.logged-in h1 a em {
	        font-style:normal;
		}

		.logged-in h1 a:hover span {
	        text-decoration:underline;
		}

		.logged-in h1 a em {
			margin:0 0 0 11px; padding:2px 6px;
			vertical-align:middle;
			-moz-border-radius:3px; -webkit-border-radius:3px;
			background:#585858 url(&lt;?php echo get_option('home'); ?&gt;/wp-admin/images/visit-site-button-grad.gif) repeat-x;
	        font-size:50%; line-height:17px; color:#aaa;text-shadow:0 -1px 0 #3F3F3F;
		}

		.logged-in h1 a:hover em {
			color:#fff;
		}

		.logged-in p a, .comments_logged-in a {
			color:#ccc; font-weight:normal;
		}

		.logged-in p a:hover, .comments_logged-in a:hover {
			text-decoration:underline; color:#fff;
		}

		.logged-in p {
			margin:-46px 0 0 0; padding:16px 15px 0 0;
			text-align:right; font:12px "Lucida Grande",Verdana,Arial,"Bitstream Vera Sans",sans-serif;
		}

		/* ## Edit Page/Post Buttons */

		strong.edit a {
        	margin:-5px 0 0 0; padding:4px 10px;
        	cursor:pointer;
        	border-color:#bbb; border-style:solid; border-width:1px; -moz-border-radius:11px; -webkit-border-radius:11px;
			background:#f2f2f2 url(&lt;?php echo get_option('home'); ?&gt;/wp-admin/images/white-grad.png) repeat-x scroll left top;
            color:#464646; font-family:"Lucida Grande",Verdana,Arial,"Bitstream Vera Sans",sans-serif; font-size:11px !important; text-decoration:none; text-shadow:0 1px 0 #fff; line-height:2em; font-size-adjust:none; font-style:normal; font-variant:normal; font-weight:normal; text-decoration:none !important;
		}

		strong.edit a:hover {
	        border-color:#666;
			background:#f2f2f2 url(&lt;?php echo get_option('home'); ?&gt;/wp-admin/images/white-grad.png) repeat-x scroll left top;
	        color:#000;
		}

		/* // ## A logged in user doesn't have to fill in his/her name etc, so he/she'll see this form instead. */

		.comments_logged-in {
			margin:30px 0 0 0; padding:10px 10px 10px 15px;
			-moz-border-radius: 3px; -khtml-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px;
			background:#333; color:#999;
			font:12px "Lucida Grande","Lucida Sans Unicode",Tahoma,Verdana,sans-serif;
		}

		/* // Rich Admin CSS  */

	&lt;?php endif; ?&gt;</pre>
<h2>2. Add the dark Admin Bar</h2>
<p>Add the code staight under the &lt;body&gt; tag. This bar will show up when someone is logged in.</p>
<pre>&lt;?php if ( $user_ID ) :

		global $userdata;
		get_currentuserinfo();
		?&gt;

			&lt;div class="logged-in"&gt;
				&lt;h1&gt;
					&lt;a class="dashboard" href="&lt;?php echo get_option('home'); ?&gt;/wp-admin/"&gt;&lt;span&gt;&lt;?php bloginfo('name'); ?&gt;&lt;/span&gt;&lt;em&gt;Go to the Dashboard&lt;/em&gt;&lt;/a&gt;
				&lt;/h1&gt;
				&lt;p&gt;
					Howdy, &lt;a href="&lt;?php echo get_option('home'); ?&gt;/wp-admin/profile.php"&gt; &lt;?php echo($userdata-&gt;user_login); ?&gt;&lt;/a&gt; |
					&lt;?php wp_loginout(); ?&gt;
				&lt;/p&gt;
			&lt;/div&gt;
&lt;?php endif; ?&gt;</pre>
<p>oke</p>
<h2>3. Adding the &#8220;Edit this&#8221; buttons</h2>
<p>Now replace the normal &#8220;Edit this&#8221; buttons you find at posts and pages with this piece of code. These buttons will only show up if the one logged in has the permissions to edit it, of course.</p>
<pre>&lt;?php edit_post_link(__('Edit This'), '&lt;strong class="edit"&gt;', '&lt;/strong&gt;'); ?&gt;</pre>
<p>Now replace the normal &#8220;Edit this&#8221; buttons you find in every comment with this piece of code.</p>
<pre>&lt;?php edit_comment_link(__('Edit Comment'), '&lt;strong class="edit"&gt;', '&lt;/strong&gt;'); ?&gt;</pre>
<h2>4. Adding the &#8220;Logged in as&#8230;.&#8221;</h2>
<p>Replace the code within the &lt;?php if ( is_user_logged_in() ) : ?&gt; with this.</p>
<pre>&lt;p class="comments_logged-in"&gt;&lt;?php printf(__('Logged in as %s.'), '&lt;a href="'.get_option('siteurl').'/wp-admin/profile.php"&gt;'.$user_identity.'&lt;/a&gt;'); ?&gt; &lt;a href="&lt;?php echo wp_logout_url(get_permalink()); ?&gt;" title="&lt;?php _e('Log out of this account') ?&gt;"&gt;&lt;?php _e('Log out &amp;raquo;'); ?&gt;&lt;/a&gt;&lt;/p&gt;</pre>
<h2>5. Enjoy!</h2>
<p>You may have to specify some of the CSS we added in step 1 and it should work well!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.noonnoo.com/wordpress-tutorial/adding-admin-elements-in-themes/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Install WordPress using MAMP (localhost) on a MAC</title>
		<link>http://www.noonnoo.com/wordpress-tutorial/install-wordpress-in-on-your-localhost-using-mamp-on-a-mac/</link>
		<comments>http://www.noonnoo.com/wordpress-tutorial/install-wordpress-in-on-your-localhost-using-mamp-on-a-mac/#comments</comments>
		<pubDate>Thu, 23 Jul 2009 15:39:23 +0000</pubDate>
		<dc:creator>Melle</dc:creator>
				<category><![CDATA[WordPress Tutorials]]></category>

		<guid isPermaLink="false">http://www.noonnoo.com/wordpress/?p=70</guid>
		<description><![CDATA[It is not hard to install WordPress locally on your MAC, you&#8217;ll probably have this done within 10 minutes if you follow this tutorial. Following on this tutorial, I will write a tutorial on how to access your WordPress installation installed via MAMP on your MAC in a virtual machine for cross browser testing. I&#8217;ll [...]]]></description>
			<content:encoded><![CDATA[<p>It is not hard to install WordPress locally on your MAC, you&#8217;ll probably have this done within 10 minutes if you follow this tutorial. Following on this tutorial, I will write a tutorial on how to access your WordPress installation installed via MAMP on your MAC in a virtual machine for cross browser testing. I&#8217;ll refer to this tutorial.<span id="more-70"></span></p>
<h2>Step 1: Download MAMP</h2>
<p><a href="http://www.mamp.info/en/index.html">Download</a> and install the free version of MAMP.</p>
<h2>Step 2: Set MAMP preferences</h2>
<p>If you fire up MAMP, go to Preferences &gt; to the tab Ports and click on &#8220;Set to default Apache and MySQL posts&#8221;. After you did this go to http://localhost/ and a directory page should show up unless you have something installed in htdocs.</p>
<p>This step is very important, otherwise, WordPress won&#8217;t work in your virtualmachine.</p>
<p><a href="http://www.noonnoo.com/wordpress/wp-content/uploads/2009/07/Afbeelding-12.png"><img title="MAMP which is just fired up" src="http://www.noonnoo.com/wordpress/wp-content/uploads/2009/07/Afbeelding-12.png" alt="MAMP which is just fired up" width="500" height="273" /></a></p>
<p><a href="http://www.noonnoo.com/wordpress/wp-content/uploads/2009/07/Afbeelding-13.png"><img title="MAMP &gt; Preferences" src="http://www.noonnoo.com/wordpress/wp-content/uploads/2009/07/Afbeelding-13.png" alt="MAMP &gt; Preferences" width="500" height="335" /></a></p>
<h2>Step 3: Checking the address of your MAC</h2>
<p>Go to System Preferences &gt; Network &gt; Airport when using a wireless metwork or if you&#8217;re not connected to a wireless network to System Preferences &gt; Network &gt; Ethernet. You&#8217;ll find your local ip-address there. Copy it. Yes, I know, my installation of MAC is Dutch (not German!), but that doesn&#8217;t matter. Now quit and start MAMP. Open your browser and go to this address, in my case http://192.168.178.32/.</p>
<p><a href="http://www.noonnoo.com/wordpress/wp-content/uploads/2009/07/Afbeelding-10.png"><img title="Airport connection" src="http://www.noonnoo.com/wordpress/wp-content/uploads/2009/07/Afbeelding-10.png" alt="Airport connection" width="500" height="106" /></a></p>
<h2>Step 4: Install WordPress in MAMP</h2>
<p>Download <a href="http://wordpress.org/download/">WordPress</a>. Unzip the file. You have a folder WordPress now. Fire up the Finder and go to Applications &gt; MAMP &gt; htdocs and paste the folder WordPress to htdocs. Now go to the localaddress you found in Step 3, in my case: http://192.168.178.32/wordpress/. http://localhost/wordpress/ should work too, but if you want to access your WordPress installation in a virtualmachine too, you have to go to http://192.168.178.32/wordpress/. Click on &#8220;Create a Configuration File&#8221;.</p>
<p><a href="http://www.noonnoo.com/wordpress/wp-content/uploads/2009/07/Afbeelding-15.png"><img title="WordPress fired up for the first time " src="http://www.noonnoo.com/wordpress/wp-content/uploads/2009/07/Afbeelding-15.png" alt="WordPress fired up for the first time " width="500" height="359" /></a></p>
<p>Click than on &#8220;Let&#8217;s go!&#8221;.</p>
<p><a href="http://www.noonnoo.com/wordpress/wp-content/uploads/2009/07/Afbeelding-17.png"><img class="alignnone size-full wp-image-72" title="The &quot;Let's go!&quot; button." src="http://www.noonnoo.com/wordpress/wp-content/uploads/2009/07/Afbeelding-17.png" alt="The &quot;Let's go!&quot; button." width="500" height="256" /></a></p>
<p>Now you have to fill in your database information, but before you can do that, you have to make a database. Go to the main window of MAMP and click on &#8220;Open start page&#8221;. It will open a new tab in your browser.</p>
<p><a href="http://www.noonnoo.com/wordpress/wp-content/uploads/2009/07/Afbeelding-12.png"><img title="MAMP which is just fired up" src="http://www.noonnoo.com/wordpress/wp-content/uploads/2009/07/Afbeelding-12.png" alt="MAMP which is just fired up" width="500" height="273" /></a></p>
<p>You can see the Host, the User and Password now. You&#8217;ll need them after we finished You can see on this page your Than click on &#8216;PhpMyAdmin&#8217;. Click on the image below for the reallife sized version.</p>
<p><a rel="attachment wp-att-75" href="http://www.noonnoo.com/wordpress/wordpress-tutorial/install-wordpress-in-on-your-localhost-using-mamp-on-a-mac/attachment/afbeelding-18-2/"><img class="alignnone size-medium wp-image-75" title="MAMP Home" src="http://www.noonnoo.com/wordpress/wp-content/uploads/2009/07/Afbeelding-181-500x350.png" alt="MAMP Home" width="500" height="350" /></a></p>
<p>Now create a new database called &#8220;WordPress&#8221;. Click on the image below for a reallife sized version.</p>
<p><a rel="attachment wp-att-80" href="http://www.noonnoo.com/wordpress/wordpress-tutorial/install-wordpress-in-on-your-localhost-using-mamp-on-a-mac/attachment/afbeelding-19-copy/"><img class="alignnone size-medium wp-image-80" title="Creating a new database." src="http://www.noonnoo.com/wordpress/wp-content/uploads/2009/07/Afbeelding-19-copy-500x233.png" alt="Creating a new database." width="500" height="233" /></a></p>
<p>After you did this, go to the tab where you are trying to install WordPress and change the following information and click on submit:</p>
<ul>
<li><strong>Database Name: </strong>WordPress</li>
<li><strong>User Name: </strong>root</li>
<li><strong>Password: </strong>root</li>
</ul>
<p><img class="alignnone size-full wp-image-82" title="The information." src="http://www.noonnoo.com/wordpress/wp-content/uploads/2009/07/Afbeelding-20.png" alt="The information." width="500" height="492" /></p>
<h2>Step 4: Enjoy your WordPress installation!</h2>
<p>Now you installed WordPress! You have to run the setup, but that won&#8217;t probably be a problem.</p>
<p>Following on this tutorial, I will write a tutorial on how to access your WordPress installation installed via MAMP on your MAC in a virtual machine for cross browser testing. I&#8217;ll refer to this tutorial.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.noonnoo.com/wordpress-tutorial/install-wordpress-in-on-your-localhost-using-mamp-on-a-mac/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
