<?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>Web-kreation &#187; Wordpress</title>
	<atom:link href="http://web-kreation.com/category/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://web-kreation.com</link>
	<description>Web &#38; Graphic Design by Jeremie Tisseau, Web Design Consultant at Calleo</description>
	<lastBuildDate>Mon, 07 May 2012 04:27:42 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Migrating a WordPress Site &#8211; FTP, PhpMyAdmin and SQL queries</title>
		<link>http://web-kreation.com/tutorials/migrating-a-wordpress-site-ftp-phpmyadmin-and-sql-queries/</link>
		<comments>http://web-kreation.com/tutorials/migrating-a-wordpress-site-ftp-phpmyadmin-and-sql-queries/#comments</comments>
		<pubDate>Fri, 25 Jun 2010 02:31:04 +0000</pubDate>
		<dc:creator>Jeeremie</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://web-kreation.com/?p=3228</guid>
		<description><![CDATA[In this tutorial we are going to explore how to migrate your Wordpress site from one host to another, using FTP and PhpMyAdmin. We will cover everything from exporting/importing a database in PhpMyAdmin to creating a new one, creating a new user, updating user privileges... And last but not least, I will show you how to update your old domain name URIs (e.g. http://old-domain.com) to your new domain name (e.g. http://new-domain.com) using SQL Queries in PhpMyAdmin.]]></description>
			<content:encoded><![CDATA[<p>In this tutorial we are going to explore how to migrate your WordPress site from one host to another, using FTP and PhpMyAdmin. </p>
<p><strong>Overview</strong></p>
<p>We will cover everything from exporting/importing a database in PhpMyAdmin to creating a new one, creating a new user, updating user privileges&#8230; And last but not least, I will show you how to update your old domain name URIs (e.g. http://old-domain.com) to your new domain name (e.g. http://new-domain.com) using SQL Queries in PhpMyAdmin. </p>
<p>SQL Query is a powerful tool that you can use within your MySQL database: you can create, drop or update one of your tables, select or delete a specific row&#8230; and much more. So as always, be sure to make a backup of your database before playing with this tool; if not, you could seriously screw it up. I always recommend to save your backups in at least two different places. That could be on your computer, external hard drive or in the cloud (<a href="http://www.dropbox.com">Dropbox</a>, <a href="http://mozy.com/">Mozy Backup</a>&#8230;).</p>
<p>For this tutorial, I will assume you have an Apache server and PhpMyAdmin installed. PhpMyAdmin is easier to use than it might seem at first glance so don&#8217;t let this scare you. This step by step tutorial should hopefully be simple enough even for a first time user. </p>
<p>If you are a more experienced user, you may want to skip some sections and go straight to &#8220;<a href="#queries">Step 6: SQL Queries</a>&#8220;.</p>
<p><strong>Let&#8217;s get started!</strong></p>
<h2>Step 1 &#8211; Download/Upload all your WordPress files Via FTP</h2>
<p>First things first, you will need to download <strong>ALL</strong> your files from your old host and upload them to your new host. </p>
<ul>
<li>Connect via FTP or SFTP to your old host with your favorite FTP client. Mine is <a href="http://filezilla-project.org/" target="_blank" title="Filezilla, FTP client">Filezilla</a> but <a title="Winscp" href="http://winscp.net/eng/index.php" target="_blank">WinSCP</a> is also a good alternative for Windows. To configure your FTP client, refer to your host documentation. If you can not find it, contact a technician. Hosting companies usually offer a 24/7 support and they should be able to provide an answer within a few hours or less.
<p><strong>Note:</strong> <em>SFTP stands for <strong>SSH File Transfer Protocol</strong>. Not all hosts allow you to transfer files via SFTP but if they do you should favor this protocol over FTP. That basically means that all your files will be encrypted during transfer (read &#8220;more secure&#8221;).</em>
</li>
<li>Once connected, browse to your WordPress folder and download all your files locally onto your desktop or into a specific folder of your choice. This includes files from your themes folder and plugins folder. Make sure to save the .htaccess file at the root of your WordPress site. Neglecting to save your .htaccess file will result in broken permalinks. That is of course if you are using permalinks.</li>
<li>Now that you have made a backup of your WordPress site, you will need to upload ALL your WordPress files to the new host. Configure your FTP client to connect to it.</li>
<li>Browse to your new site directory and transfer all the files from your machine to the server.</li>
</ul>
<h2>Step 2 &#8211; Export your database</h2>
<p>Connect to PhpMyAdmin on your old host. Most hosting companies have <a href="http://en.wikipedia.org/wiki/CPanel" title="Wikipedia: cpanel">Cpanel</a> or a similar control panel. On the main screen, you should see a bunch of icons. Scroll down to the Databases section and log into PhpMyAdmin.</p>
<ul>
<li>Once you have reached PhpMyAdmin, you will see all your databases on the right hand side of the panel. Select the database that correspond to your WordPress install. It will load all your tables on the next screen. Click the export tab on the top.<br />
<img class="alignnone size-full wp-image-3263" src="http://web-kreation.com/wp-content/uploads/2010/06/PhpMyAdmin-export-database.jpg" alt="" width="550" height="218" /></li>
<li>On the next screen, select all the tables.<br />
<img class="alignnone size-full wp-image-3264" src="http://web-kreation.com/wp-content/uploads/2010/06/PhpMyAdmin-export-database-2.jpg" alt="" width="550" height="558" /></li>
<li>Scroll to the bottom and check &#8220;Save as file&#8221;. Leave the default valued (_DB_) or give it a custom name. If you have a large database you might want to zip it. <strong>Click Go</strong>. It will ask you where you want to save the file. Select a folder and click save.<br />
<img class="alignnone size-full wp-image-3265" src="http://web-kreation.com/wp-content/uploads/2010/06/PhpMyAdmin-export-database-save-file.jpg" alt="" width="550" height="113" /></li>
</ul>
<h2>Step 3 &#8211; Create a new database</h2>
<p>If you have Cpanel, you can directly create a new database right from the control panel (<em>Cpanel -&gt; Databases -&gt; MySQL Databases -&gt; Create Database</em>) but since we are talking about PhpMyAdmin in this tutorial, I am going to show you how to do so in PhpMyAdmin.</p>
<ul>
<li>Connect to PhpMyAdmin on your new host. On the home page, you should see a field to create a new database. Enter the name of your database and click &#8220;Create&#8221;.
<p><img class="alignnone size-full wp-image-3247" src="http://web-kreation.com/wp-content/uploads/2010/06/PhpMyAdmin-create-a-new-database.jpg" alt="" width="550" height="203" /></p>
<p>If everything has worked correctly, you should see this message:</p>
<p><img class="alignnone size-full wp-image-3248" src="http://web-kreation.com/wp-content/uploads/2010/06/PhpMyAdmin-Database-Succesfully-created.jpg" alt="" width="550" /></li>
</ul>
<h2>Step 4 &#8211; Create new user in PhpMyAdmin</h2>
<p>Once you created a new database, the next step is to create a user to administrate this database.</p>
<ul>
<li>Click on the privileges tab on top.
<p><img class="alignnone size-full wp-image-3249" src="http://web-kreation.com/wp-content/uploads/2010/06/PhpMyAdmin-privileges.jpg" alt="" width="550" height="150" /></li>
<li>It will take you to this page:<br />
<img class="alignnone size-full wp-image-3250" src="http://web-kreation.com/wp-content/uploads/2010/06/PhpMyAdmin-Create-New-user.jpg" alt="" width="550" height="251" /></li>
<li>Click on &#8220;Add a new user&#8221;. On the next page, choose your username and then select &#8220;localhost&#8221; in the Host section. For password, you can either enter your own or generate one.<img class="alignnone size-full wp-image-3252" src="http://web-kreation.com/wp-content/uploads/2010/06/PhpMyAdmin-Add-a-new-user.jpg" alt="" width="502" height="331" /></li>
<li>Now Scroll down to Global privileges section. Leave it blank at the moment as shown in the screenshot below. Click on the &#8220;Go&#8221; button.<br />
<img class="alignnone size-full wp-image-3253" src="http://web-kreation.com/wp-content/uploads/2010/06/PhpMyAdmin-global-privileges.jpg" alt="" width="546" height="597" /></li>
<li>If everything worked fine, you should see this dialogue:<br />
<img class="alignnone size-full wp-image-3254" src="http://web-kreation.com/wp-content/uploads/2010/06/PhpMyAdmin-edit-privileges-user-added.jpg" alt="" width="550" height="111" /></li>
<li>On the same page, scroll down to the &#8220;Database-specific privileges&#8221; section and select the database you previously created.<br />
<img class="alignnone size-full wp-image-3255" src="http://web-kreation.com/wp-content/uploads/2010/06/PhpMyAdmin-Database-specific-privileges.jpg" alt="" width="499" height="307" /></li>
<li>It will take you to this screen. I usually check all the boxes and leave the admin section unchecked. Click &#8220;Go&#8221; when you are done.<br />
<img class="alignnone size-full wp-image-3256" src="http://web-kreation.com/wp-content/uploads/2010/06/PhpMyAdmin-edit-privileges.jpg" alt="" width="550" height="404" /></li>
<li>You should see another message:<br />
<img class="alignnone size-full wp-image-3257" src="http://web-kreation.com/wp-content/uploads/2010/06/PhpMyAdmin-edit-privileges-updated.jpg" alt="" width="550" height="144" /></li>
</ul>
<h2>Step 5 &#8211; Import your database</h2>
<ul>
<li>Still in PhpMyAdmin, click the import tab (make sure your new database is selected on the right).<br />
<img src="http://web-kreation.com/wp-content/uploads/2010/06/PhpMyAdmin-Import-Tab.jpg" alt="" width="550" height="131" class="alignnone size-full wp-image-3273" /></li>
<li>On the next page, select the database you exported in step 2. Click &#8220;Go&#8221;.<br />
<img src="http://web-kreation.com/wp-content/uploads/2010/06/PhpMyAdmin-File-to-import.jpg" alt="" width="550" height="75" class="alignnone size-full wp-image-3274" /></li>
<li>You should see this message if everything worked fine.<br />
<img src="http://web-kreation.com/wp-content/uploads/2010/06/PhpMyAdmin-Import-succesfully-finished.jpg" alt="" width="550" height="97" class="alignnone size-full wp-image-3275" /></li>
</ul>
<h2 id="queries">Step 6 &#8211; SQL Queries</h2>
<p>Now that we have successfully imported the database onto the new server, we need to replace the old website URI (e.g. &#8216;http://www.old-domain.com&#8217;) with the new URI (e.g. &#8216;http://www.new-domain.com&#8217;). </p>
<p>(<strong>Note:</strong> <em>This step is actually optional. In most cases, the domain name will remain the same. If so, you can just skip this section.</em>)</p>
<p>In a default WordPress install, you only need to replace the URI in 3 tables: wp_posts, wp_postmeta and wp_options. </p>
<ul>
<li>To run a SQL Query, click on the SQL tab on top<br />
<img src="http://web-kreation.com/wp-content/uploads/2010/06/PhpMyAdmin-sql-tab.jpg" alt="" width="550" height="171" class="alignnone size-full wp-image-3280" /></li>
<li>This will take you to this screen.<br />
<img src="http://web-kreation.com/wp-content/uploads/2010/06/PhpMyAdmin-run-sql-query.jpg" alt="" width="550" height="323" class="alignnone size-full wp-image-3281" /></li>
<li>Now enter the following queries <strong>one by one</strong> and click go for each. Don&#8217;t forget to change <em>http://www.old-domain.com</em> and <em>http://www.new-domain.com</em> by your old domain name and new one respectively. Also, if you changed the default table prefix (e.g. &#8220;wp_&#8221;) to something else, make sure to update it in the queries below.

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p3228code1'); return false;">View Code</a> PHP</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p32281"><td class="line_numbers"><pre>1
2
3
4
</pre></td><td class="code" id="p3228code1"><pre class="php" style="font-family:monospace;">UPDATE wp_posts SET guid <span style="color: #339933;">=</span> replace<span style="color: #009900;">&#40;</span>guid<span style="color: #339933;">,</span> <span style="color: #0000ff;">'http://www.old-domain.com'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'http://www.new-domain.com'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
UPDATE wp_posts SET post_content <span style="color: #339933;">=</span> replace<span style="color: #009900;">&#40;</span>post_content<span style="color: #339933;">,</span> <span style="color: #0000ff;">'http://www.old-domain.com'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'http://www.new-domain.com'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
UPDATE wp_postmeta SET meta_value <span style="color: #339933;">=</span> replace<span style="color: #009900;">&#40;</span>meta_value<span style="color: #339933;">,</span> <span style="color: #0000ff;">'http://www.old-domain.com'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'http://www.new-domain.com'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
UPDATE wp_options SET option_value <span style="color: #339933;">=</span> replace<span style="color: #009900;">&#40;</span>option_value<span style="color: #339933;">,</span> <span style="color: #0000ff;">'http://www.old-domain.com'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'http://www.new-domain.com'</span><span style="color: #009900;">&#41;</span> WHERE option_name <span style="color: #339933;">=</span> <span style="color: #0000ff;">'home'</span> OR option_name <span style="color: #339933;">=</span> <span style="color: #0000ff;">'siteurl'</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>You probably noticed that the last query is a little bit different from the others. What we do here is to replace the old domain name with the new one only for &#8220;home&#8221; and &#8220;siteurl&#8221; in the option_name column. Here&#8217;s how it looks in PhpMyAdmin when you browse the wp_options table:</p>
<p><img src="http://web-kreation.com/wp-content/uploads/2010/06/PhpMyAdmin-browse-wp_options.jpg" alt="" width="550" height="240" class="alignnone size-full wp-image-3278" /></li>
<li>If your query was successfully executed you should see a dialog like the one below with the number of raw affected.<br />
<img src="http://web-kreation.com/wp-content/uploads/2010/06/PhpMyAdmin-sql-query-successful.jpg" alt="" width="550" height="142" class="alignnone size-full wp-image-3282" /></li>
</ul>
<p>(<strong>Note:</strong> <em>Some plugins need the site URI. You might need to update that as well. The easiest way to check if another table contain the old domain name is to do a search in PhpMyAdmin  (your database -&gt; Search tab -&gt; Select all the tables). It will return all the tables that contain the old site URI and you can then change accordingly as explained above.)</em> </p>
<h2>Step 7 &#8211; Edit wp-config.php</h2>
<ul>
<li>Open and edit wp-config.php in your favorite web/text editor (Dreamweaver, Aptana, Notepad&#8230;).
<p>Replace the old settings with your new database name, username and password you created in steps 3 and 4.</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p3228code2'); return false;">View Code</a> PHP</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p32282"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
</pre></td><td class="code" id="p3228code2"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #009933; font-style: italic;">/** The name of the database for WordPress */</span>
<a href="http://www.php.net/define"><span style="color: #990000;">define</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'DB_NAME'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'new-site'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #009933; font-style: italic;">/** MySQL database username */</span>
<a href="http://www.php.net/define"><span style="color: #990000;">define</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'DB_USER'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'yourusernamehere'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #009933; font-style: italic;">/** MySQL database password */</span>
<a href="http://www.php.net/define"><span style="color: #990000;">define</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'DB_PASSWORD'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'yourpasswordhere'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #009933; font-style: italic;">/** MySQL hostname */</span>
<a href="http://www.php.net/define"><span style="color: #990000;">define</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'DB_HOST'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'localhost'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #009933; font-style: italic;">/** Database Charset to use in creating database tables. */</span>
<a href="http://www.php.net/define"><span style="color: #990000;">define</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'DB_CHARSET'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'utf8'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #009933; font-style: italic;">/** The Database Collate type. Don't change this if in doubt. */</span>
<a href="http://www.php.net/define"><span style="color: #990000;">define</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'DB_COLLATE'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">''</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

</li>
<li>Save the document and upload it to your server via FTP.</li>
</ul>
<h3>Conclusion</h3>
<p>That&#8217;s it! Load the site in your browser and if everything went well, you should see it as it was on the old host. I hope you enjoyed this tutorial. If you have any question, leave a comment below and I will do my best to answer you.</p>
<p>If you want to learn more about SQL query, read this excellent article from Onextrapixel.com: <a href="http://www.onextrapixel.com/2010/01/30/13-useful-wordpress-sql-queries-you-wish-you-knew-earlier/" target="_blank" title="13 Useful WordPress SQL Queries You Wish You Knew Earlier">13 Useful WordPress SQL Queries You Wish You Knew Earlier</a>.</p>
<p>Do you know any other SQL query tricks? Share them with us!</p>
]]></content:encoded>
			<wfw:commentRss>http://web-kreation.com/tutorials/migrating-a-wordpress-site-ftp-phpmyadmin-and-sql-queries/feed/</wfw:commentRss>
		<slash:comments>35</slash:comments>
		</item>
		<item>
		<title>WPSynergy.org &#8211; Opensource WordPress Themes</title>
		<link>http://web-kreation.com/all/wpsynergy-org-opensource-wordpress-themes/</link>
		<comments>http://web-kreation.com/all/wpsynergy-org-opensource-wordpress-themes/#comments</comments>
		<pubDate>Tue, 11 Aug 2009 11:59:42 +0000</pubDate>
		<dc:creator>Jeeremie</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Themes]]></category>

		<guid isPermaLink="false">http://web-kreation.com/?p=1831</guid>
		<description><![CDATA[Remember my post "<a href="http://web-kreation.com/index.php/articles/annoucement-the-gorilla-project-coming-soon/">Annoucement: The Gorilla Project – Coming Soon!</a>"? Almost three months past and I didn't give any news on this blog since then. An important work load and some health problems kept me away from this project until recently. ]]></description>
			<content:encoded><![CDATA[<p>Remember my post &#8220;<a href="http://web-kreation.com/index.php/articles/annoucement-the-gorilla-project-coming-soon/">Annoucement: The Gorilla Project – Coming Soon!</a>&#8220;? Almost three months past and I didn&#8217;t give any news (at all) on this blog since then. An important work load and some health problems kept me away from this project until recently. </p>
<p><img class="aligncenter" src="http://web-kreation.com/wp-content/uploads/2009/08/ptf_synergy_thb.jpg" alt="WPSynergy.org - Opensource WordPress Themes" width=560 height=200 /></p>
<p>If you are new to this blog, <strong>the Gorilla Project is an opensource project</strong> created by <a href="http://mou.me.uk/" rel="nofollow">Chris</a> and myself <em>to overcome common issues encountered by a single WordPress theme designer. Our goal is to build a large community of WordPress designers and developers to collaborate together to build FREE Premium WordPress themes, maintain and upgrade the themes to the latest WordPress version, fix bugs, make the themes cross browser and cross OS platform compatible,offer support to users (forum), write tutorials, create a theme framework to speed up themes development, write an extensive documentation (Wiki) for WordPress developers willing to create a theme for the Gorilla Project.</em></p>
<h2>&#8220;WPSynergy&#8221; in place of &#8220;The Gorilla Project&#8221;</h2>
<p>First of all, after we discovered <a href="http://gorillathemes.com/" rel="nofollow" title="Premium WordPress Themes">someone else</a> was using a similar name for his Premium WordPress themes site, we renamed &#8220;The Gorilla Project&#8221; to &#8220;WPSynergy&#8221; &#8211; even though <a href="http://ma.tt/" rel="nofollow" title="Wordpress Matt mullenweg">Matt Mullenweg</a> told us not to on <a href="http://groups.google.com/group/wpsynergy/msg/d930699ea8b23ecc" rel="nofollow" title="Wordpress Matt mullenweg">our Google groups</a>. The new name was proposed by Jeffro from <a href="http://www.wptavern.com/matt-takes-notice-of-gorilla-project">WordPress Tavern</a> with the following definition:</p>
<blockquote><p><strong>Synergy:</strong> The enhanced result of two or more people, groups or<br />
organizations working together. In other words, one and one equals<br />
three! It comes from the Greek &#8220;synergia,&#8221; which means joint work and<br />
cooperative action. The word is used quite often to mean that<br />
combining forces produces a better product. </p></blockquote>
<p>This was clearly in line with our project so we decided to go for it.</p>
<h2>Logo</h2>
<p>Logo design followed a long process and after many concepts and feedbacks on Conceptshare, a few votes from the WordPress community and a few other modifications, we finally got our final logo (below). I hope you like  it.</p>
<p><a href="http://dev.wpsynergy.org/logo/"><img src="http://web-kreation.com/wp-content/uploads/2009/08/logoSynergyPNG_BG-300x224.png" alt="logoSynergyPNG_BG" title="logoSynergyPNG_BG" width="300" height="224" class="alignnone size-medium wp-image-1834" /></a></p>
<p>Logo, as all of our free themes, is released under a GPL2 license. Illustrator source file can be downloaded <a href="http://dev.wpsynergy.org/logo/" rel="nofollow">here</a>. As usual, feel free to download it, modify it and upload the new version if you don&#8217;t like the one you see here. </p>
<h2>SVN, Trac, dev site, mailing list</h2>
<p>To be more productive while developing our opensource wordpress themes, we created an infrastructure on Chris&#8217; server:</p>
<ul>
<li><a href="http://dev.wpsynergy.org/" rel="nofollow">http://dev.wpsynergy.org/</a>: <strong>P2 WordPress theme</strong> for any discussion related to development. If you want to Join our team start by creating an account there.</li>
<li><a href="http://bugs.wpsynergy.org/" rel="nofollow">http://bugs.wpsynergy.org/</a>: <strong>Trac</strong> to keep track of our themes and report bugs</li>
<li><a href="http://svn.wpsynergy.org/" rel="nofollow">http://svn.wpsynergy.org/</a>: <strong>SVN</strong> for our themes repository</li>
<li><a href="http://groups.google.com/group/wpsynergy" rel="nofollow">http://groups.google.com/group/wpsynergy</a>: our mailing list on Google Groups.<br /><small class="grey">(Register if you want to be part of this mailing list)</small></li>
</ul>
<p>On my server &#8211; which will host the <a href="http://wpsynergy.org" title="WPSynergy - Opensource WordPress themes">themes, demos and forum</a> &#8211; we installed WordPress MU for the <a href="http://wpsynergy.org/demos/">theme demos</a> and BBpress as our <a href="http://wpsynergy.org/support/">support forum</a>. </p>
<h2>Our themes</h2>
<p>We are actively working on <a href="http://dev.wpsynergy.org/themes-in-development/pignews-magazine-theme/" rel="nofollow" title="Pignews - Free WordPress theme">PigNews</a>. You can follow the progress <a href="http://dev.wpsynergy.org/demos/pignews/" rel="nofollow" title="Pignews - Free WordPress theme">here</a> (please, note we didn&#8217;t fix IE6&#8242;s bugs yet). However, mostly because of a lack of time and a low involvement from the WordPress community, we are striving to finish the theme. We hope more designers and developers will join our effort after we released a few themes and complete the official site at <a href="http://wpsynergy.org" title="WPSynergy - Opensource WordPress Themes">http://wpsynergy.org</a>. </p>
<p><em>Pignews color schemes:</em></p>
<p><a href="http://www.flickr.com/photos/98478097@N00/3764957135/in/set-72157617074795732/"><img alt="" src="http://farm4.static.flickr.com/3594/3764957135_a03d673598.jpg" title="Pignews Warm dark" class="alignleft" width="120" /></a><a href="http://www.flickr.com/photos/98478097@N00/3458030235/in/photostream/"><img alt="" src="http://dev.wpsynergy.org/wp/wp-content/uploads/2009/05/3458030235_ab29654025_b.jpg" title="Pignews Green" class="alignleft" width="120" /></a><a href="http://www.flickr.com/photos/98478097@N00/3765753056/in/set-72157617074795732/"><img alt="" src="http://farm4.static.flickr.com/3465/3765753056_be428125fc.jpg" title="Pignews Green" class="alignleft" width="120" /></a><a href="http://www.flickr.com/photos/98478097@N00/3765754226/in/set-72157617074795732/"><img alt="" src="http://farm4.static.flickr.com/3597/3765754226_b67343db1b.jpg" title="Pignews Purple" class="alignleft" width="120" /></a><a href="http://www.flickr.com/photos/98478097@N00/3765753770/in/set-72157617074795732/"><img alt="" src="http://farm4.static.flickr.com/3564/3765753770_f9dce17dbb.jpg" title="Pignews Facebook Colors" class="alignleft" width="120" /></a><a href="http://www.flickr.com/photos/98478097@N00/3764959605/in/set-72157617074795732/"><img alt="" src="http://farm3.static.flickr.com/2458/3764959605_5ec7aae943.jpg" title="Pignews Soft Brown" class="alignleft" width="120" /></a><a href="http://www.flickr.com/photos/98478097@N00/3765755458/in/set-72157617074795732/"><img alt="" src="http://farm4.static.flickr.com/3500/3765755458_025218ffe7.jpg" title="Pignews Teal" class="alignleft" width="120" /></a><br />
<br clear="all"><br />
If you want to help us develop Pignews, grab the files from the <a href="http://svn.wpsynergy.org/themes/pignews/trunk/" rel="nofollow" title="SVN">SVN trunk</a>. (If you are new to SVN, start by downloading <a href="http://tortoisesvn.net/" title="Tortoise SVN" rel="nofollow">Tortoise</a>.) <small class="grey">(To make a SVN update or commit, you will have to request a password from Chris to access SVN. His email is <em>chris[a-t]wpsynergy {d-o-t}org</em>.)</small></p>
<h2>Other themes to be part of WPSynergy</h2>
<ul>
<li><a href="http://dev.wpsynergy.org/themes-in-development/oneroom-3-columns-theme/">OneRoom</a></li>
<li><a href="http://dev.wpsynergy.org/themes-in-development/synjob-job-board-theme/">Synjob</a></li>
</ul>
<h2>How can you help us?</h2>
<p>Once again, we are asking for help from the WordPress community. If you are a designer or developer, there&#8217;s many way to be involved in this project. As a <strong>designer</strong>, we need you to create stunning themes, design mascots, logos, icons&#8230; As a <strong>developer</strong>, we need you to enhance our themes with options page, add AJAX effects, configure servers, develop our Options theme Framework&#8230; and we need <strong>everyone</strong> to spread the word (on twitter, Facebook, on your blog&#8230;) to move this project forward and take it to the next level. </p>
<p>Thanks to everyone for supporting us and a special thanks to <a href="http://ma.tt/" rel="nofollow" title="Wordpress Matt mullenweg">Matt Mullenweg</a> for his support since the beginning of this project. We really appreciate.</p>
]]></content:encoded>
			<wfw:commentRss>http://web-kreation.com/all/wpsynergy-org-opensource-wordpress-themes/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Annoucement: The Gorilla Project WPSynergy Project, Open Source WordPress Themes</title>
		<link>http://web-kreation.com/all/annoucement-the-gorilla-project-coming-soon/</link>
		<comments>http://web-kreation.com/all/annoucement-the-gorilla-project-coming-soon/#comments</comments>
		<pubDate>Thu, 23 Apr 2009 02:39:56 +0000</pubDate>
		<dc:creator>Jeeremie</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[projects]]></category>
		<category><![CDATA[theme]]></category>

		<guid isPermaLink="false">http://web-kreation.com/?p=1669</guid>
		<description><![CDATA[[...] Here comes <a title="The Gorilla Project - Free Premium Wordpress themes" href="http://wpgorilla.org"><strong>The Gorilla Project</strong></a>, an opensource project created by <a href="http://mou.me.uk/">Chris</a> and I to overcome these common issues. Our goal is to build a large community of WordPress designers and developers to [...]]]></description>
			<content:encoded><![CDATA[<p>One of the most impressive things about the WordPress platform is its community. It literally counts thousands of people, each one contributing in their own way: free WordPress themes, plugins, tutorials and so on.</p>
<p>While it is really great to have so many people contributing to it,  there&#8217;s some limitations when it comes to free WordPress themes created by individuals:</p>
<ul>
<li>They have real difficulties to keep their themes up to date with the latest WordPress releases.</li>
<li>Their themes are not always cross browsers and cross platforms.</li>
<li>Their support is limited.</li>
<li>They usually don&#8217;t have all the skills needed to make a Premium Theme.</li>
<li>After a while, they might completely cease to maintain their themes because of lack of time or boredom.</li>
<li>As themes are updated by authors, upgrading will usually mean losing any custom styles you&#8217;ve added.</li>
<li>Many themes are offered as &#8220;one size fits all&#8221;, and can only be customized with knowledge of HTML/CSS.</li>
</ul>
<p>Here comes the <del datetime="2010-04-05T08:48:53+00:00">Gorilla Project</del> <a title="The WPSynergy Project" href="http://wpsynergy.org"><strong>WPSynergy Project</strong></a>, an opensource project created by <a href="http://mou.me.uk/">Chris</a> and I to overcome these common issues. Our goal is to build a large community of WordPress designers and developers to:</p>
<ul>
<li>Collaborate together to build <strong>FREE</strong> Premium WordPress themes. Some companies (<a rel="nofollow" href="http://www.woothemes.com/">Woothemes</a>, <a rel="nofollow" href="http://ithemes.com/">ithemes</a>&#8230;) offer excellent premium WordPress themes but you have to pay for it!<br />
<span class="grey">(&#8220;<em>A premium theme refers to themes that have more quality in terms of design, or maybe layouts (magazine, grid, showcase, etc) that differs them from the majority free themes. It&#8217;s also fair to label them as themes that allows you to do more customization, or even displays content in a different formats</em>&#8221; &#8211; <a title="16 Free Premium WordPress Themes That Don’t Suck " rel="nofollow" href="http://www.hongkiat.com/blog/16-free-premium-wordpress-themes-that-dont-suck/">Hongkiat</a>)</span></li>
<li>Maintain and upgrade the themes to support the latest versions of WordPress.</li>
<li>Fix bugs.</li>
<li>Make the themes cross browser and cross OS platform.</li>
<li>Offer support to users (forum).</li>
<li>Write tutorials.</li>
<li>Create a theme framework to speed up themes development.</li>
<li>Write an extensive documentation (Wiki) for WordPress developers willing to create a theme for the <del>Gorilla</del> WPSynergy Project.</li>
</ul>
<h2>We need your help!</h2>
<p>The <del>gorilla project</del> <strong>WPSynergy Project</strong> is going to be a huge and exciting project but we need your help to make it successful. Here&#8217;s how you can contribute:</p>
<ul>
<li><strong>Designers</strong>, we need your talents to design stunning themes, icons, mascots in Photoshop, Fireworks or any other image editor. We have a number of theme designs planned, but it would be nice to have an extra hand in the future.</li>
<li><strong>Front end developers</strong>, we need you to code the theme in valid (X)HTML/CSS.</li>
<li><strong>Back end developers</strong>, right now, Chris is looking for PHP developers to help develop the <del>&#8220;<em>Gorilla Theme Options Framework</em>&#8221; (GTOF)</del> <em>SYNTOF (WPSynergy Theme Options Framework)</em> which we will be uses as the main framework for our themes. But we are also looking for contributers to other back end development projects &#8211; options pages, widgets, plugins&#8230;you name it!</li>
<li><strong>Blog Owners</strong>, a section at <del>wpgorilla.org</del> wpsynergy.org will be created for you to report bugs, suggest improvements and new ideas&#8230;</li>
<li><strong>Readers</strong> (yes, you too can help!), we need you to spread the word! Tweet it! Digg it! Stumble it! Talk about it on your blog. Help us grow this new community and make this project a reality and you will soon be able to download premium WordPress themes <strong>for free!</strong></li>
</ul>
<h2>Ready to help?</h2>
<p>If you are ready to help, you can contact us at <del>joinus {a t} wpgorilla {d o t} o r g</del> <strong>joinus {a t} wpsynergy {d o t} o r g</strong> <del>or head to <a href="https://launchpad.net/~wpgorilla">Launchpad</a> our DEV site and pick a project</del>. We are just starting out so you are not going to find much there at the moment but you can be the first one to propose a new project or you can help us develop <del>the &#8220;<em>Gorilla Theme Options Framework</em>&#8221; (GTOF)</del> <strong>SYNTOF</strong> till completion &#8211; anyone interested in finding out more can email <del>chris {at} wpgorilla {dot} org</del> <strong>chris {at} wpsynergy {dot} org</strong> for more information.</p>
<p><del>If you need help with Launchpad, read <a title="Launchpad - Help" rel="nofollow" href="https://help.launchpad.net/">this »</a></del></p>
<p><a title="Pignews on Flickr" rel="nofollow" href="http://www.flickr.com/groups/wpgorilla/">Pignews theme</a> &#8211; our first theme to be part of this project &#8211; is going to be on hold until we finish <del>Gorilla Theme Options Framework (GTOF)</del> SYNTOF but in the meantime you can <a title="Pignews on Flickr" rel="nofollow" href="http://www.flickr.com/groups/wpgorilla/">review</a> the concepts on Flickr and give us your feedback.</p>
<p>All the themes created by the <del>Gorilla</del> WPSynergy community will be  hosted at <del>www.wpgorilla.org</del> <a title="WPSynergy Project - WordPress themes" href="http://www.wpsynergy.org">www.wpsynergy.org</a>. The site is under construction at the moment (see screenshot below). If you want to help me with the development of this site, contact me at <del>jeremie {a-t} wpgorilla {d-o-t} org</del><strong> jeremie {a-t} wpsynergy {d-o-t} org</strong>. The fastest we build this site and the fastest we will be able to release free premium themes there.<br />
<a title="The Gorilla Project - Free Premium WordPress themes" href="http://wpsynergy.org"><img class="aligncenter size-full wp-image-1714" src="http://web-kreation.com/wp-content/uploads/2009/04/wpgorilla-site-screenshot.jpg" alt="wpgorilla-site-screenshot" width="579" height="780" /></a></p>
<h2>Benefits of this project</h2>
<p>If you run a WordPress blog, the benefits are quite obvious: you will be able to download <strong>free</strong> Premium WordPress themes and plugins developed and maintained by a large community of WordPress developers.</p>
<p>If you are a designer or developer (or both!), you will be able to work with various professionals, make contacts, learn new ways to build a WordPress theme and hopefully make WordPress a better CMS. We plan to create a page on <del>WPGorilla.org</del> WPSynergy.org to list our most active team members with a bio and a link to their site.</p>
<p>In the end, everyone will benefit from this project&#8230; so don&#8217;t forget to spread the word!</p>
<h2>Links</h2>
<p><del>Official Site: <a href="http://wpgorilla.org/">http://wpgorilla.org/</a></del></p>
<p><del>Projects:<a href="https://launchpad.net/~wpgorilla">https://launchpad.net/~wpgorilla</a></del></p>
<p><del>Theme Concepts: <a href="https://launchpad.net/~wpgorilla">http://www.flickr.com/groups/wpgorilla/</a></del></p>
<p><del>Google Group: <a href="http://groups.google.com/group/wpgorilla">http://groups.google.com/group/wpgorilla</a></del></p>
<p><strong>UPDATE:</strong></p>
<p>Official Site: <a href="http://wpsynergy.org/">http://wpsynergy.org/</a></p>
<p>SVN:<a href="http://svn.wpsynergy.org">SVN</a></p>
<p>TRAC: <a href="http://bugs.wpsynergy.org">Bugs</a></p>
<p>Discussions: <a href="http://dev.wpsynergy.org">Dev Site</a></p>
]]></content:encoded>
			<wfw:commentRss>http://web-kreation.com/all/annoucement-the-gorilla-project-coming-soon/feed/</wfw:commentRss>
		<slash:comments>35</slash:comments>
		</item>
		<item>
		<title>Implement a Nice &amp; Clean jQuery Sliding Panel in WordPress 2.7+</title>
		<link>http://web-kreation.com/all/implement-a-nice-clean-jquery-sliding-panel-in-wordpress-27/</link>
		<comments>http://web-kreation.com/all/implement-a-nice-clean-jquery-sliding-panel-in-wordpress-27/#comments</comments>
		<pubDate>Tue, 07 Apr 2009 12:08:51 +0000</pubDate>
		<dc:creator>Jeeremie</dc:creator>
				<category><![CDATA[AJAX / Javascript]]></category>
		<category><![CDATA[All]]></category>
		<category><![CDATA[Forms]]></category>
		<category><![CDATA[Freebies]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://web-kreation.com/?p=1590</guid>
		<description><![CDATA[About one week ago, I introduced the <a href="http://web-kreation.com/index.php/tutorials/nice-clean-sliding-login-panel-built-with-jquery/" title="Nice &#038; Clean Sliding Login Panel built with jQuery">Nice &#038; Clean Sliding Login Panel built with jQuery</a> which was a redesigned of my popular <a href="http://web-kreation.com/index.php/tutorials/nice-login-and-signup-panel-using-mootools-12/" title="Show/hide a nice Login Panel using Mootools 1.2">Mootools sliding panel</a>. Today, we will see how to implement it in <strong>Wordpress 2.7+</strong>. Please note I am not going to cover any previous version of Wordpress in this tutorial. ]]></description>
			<content:encoded><![CDATA[<p>About one week ago, I introduced the <a href="http://web-kreation.com/index.php/tutorials/nice-clean-sliding-login-panel-built-with-jquery/" title="Nice &#038; Clean Sliding Login Panel built with jQuery">Nice &#038; Clean Sliding Login Panel built with jQuery</a> which was a redesigned of my popular <a href="http://web-kreation.com/index.php/tutorials/nice-login-and-signup-panel-using-mootools-12/" title="Show/hide a nice Login Panel using Mootools 1.2">Mootools sliding panel</a>. Today, we will see how to implement it in <strong>WordPress 2.7+</strong>. Please note I am not going to cover any previous version of WordPress in this tutorial. </p>
<p>Before I give you the code, let me briefly explain you what we want to achieve. </p>
<p>If user didn&#8217;t log in or register yet, we will show the login and register forms in the sliding panel with a short Welcome Message:<br />
<img src="http://web-kreation.com/wp-content/uploads/2009/04/sliding-panel-login.jpg" alt="sliding-panel-login" title="sliding-panel-login" width="600" height="204" class="aligncenter size-full wp-image-1595" /></p>
<p>Once user is logged in, we will change panel content to show a dashboard menu with a short &#8220;Welcome Back&#8221; message. This is what our code will look like:</p>

<div class="wp_codebox_msgheader wp_codebox_hide"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p1590code3'); return false;">View Code</a> PHP</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p15903"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
</pre></td><td class="code" id="p1590code3"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">&lt;!--</span> Panel <span style="color: #339933;">--&gt;</span>
<span style="color: #339933;">&lt;</span>div id<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;toppanel&quot;</span><span style="color: #339933;">&gt;</span>
<span style="color: #000000; font-weight: bold;">&lt;?php</span> 
	<span style="color: #000000; font-weight: bold;">global</span> <span style="color: #000088;">$user_identity</span><span style="color: #339933;">,</span> <span style="color: #000088;">$user_ID</span><span style="color: #339933;">;</span>	
	<span style="color: #666666; font-style: italic;">// If user is logged in or registered, show dashboard links in panel</span>
	<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span>is_user_logged_in<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> 
<span style="color: #000000; font-weight: bold;">?&gt;</span>
&nbsp;
<span style="color: #339933;">&lt;!--</span> Dashboard menu will come here <span style="color: #339933;">--&gt;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> 
	<span style="color: #666666; font-style: italic;">// Else if user is not logged in, show login and register forms</span>
	<span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span>	
<span style="color: #000000; font-weight: bold;">?&gt;</span>
&nbsp;
<span style="color: #339933;">&lt;!--</span> Login and Register forms will come here <span style="color: #339933;">--&gt;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #009900;">&#125;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>	
<span style="color: #339933;">&lt;/</span>div<span style="color: #339933;">&gt;</span> <span style="color: #339933;">&lt;!--</span><a href="http://www.php.net/end"><span style="color: #990000;">END</span></a> panel <span style="color: #339933;">--&gt;</span></pre></td></tr></table></div>

<p>Simple, isn&#8217;t it?</p>
<p>WordPress, since version 2.0, introduced <a href="http://codex.wordpress.org/Roles_and_Capabilities" rel="nofollow" title="Wordpress Roles and Capabilities">user roles and capabilities</a>. To take advantage of this, we are going to use the <em>current_user_can()</em> function to control what links users can or cannot see depending on the role attributed to them. This is done like this:</p>

<div class="wp_codebox_msgheader wp_codebox_hide"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p1590code4'); return false;">View Code</a> PHP</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p15904"><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code" id="p1590code4"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> current_user_can<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'level_10'</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
<span style="color: #339933;">&lt;!--</span> Content placed here will only be seen by ADMINS of the site<span style="color: #339933;">!</span> <span style="color: #339933;">--&gt;</span>		
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">endif</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></td></tr></table></div>

<p>&#8220;level_10&#8243; is the highest level in WordPress and gives user full control and access to the site. This level is reserved to the owner of the site and admins. You can read more about user roles <a href="http://codex.wordpress.org/Roles_and_Capabilities" rel="nofollow" title="Wordpress Roles and Capabilities">here &raquo;</a></p>
<p>Below is a screenshot of the panel display for admins (&#8216;level_10&#8242;):<br />
<img src="http://web-kreation.com/wp-content/uploads/2009/04/sliding-panel-admin.jpg" alt="sliding-panel-admin" title="sliding-panel-admin" width="600" height="204" class="aligncenter size-full wp-image-1592" /></p>
<p>Below is a screenshot of the panel display for authors (&#8216;level_2&#8242;):<br />
<img src="http://web-kreation.com/wp-content/uploads/2009/04/sliding-panel-author.jpg" alt="sliding-panel-author" title="sliding-panel-author" width="600" height="204" class="aligncenter size-full wp-image-1601" /></p>
<p>Below is a screenshot of the panel display for subscibers (&#8216;level_0&#8242;):<br />
<img src="http://web-kreation.com/wp-content/uploads/2009/04/sliding-panel-subscriber.jpg" alt="sliding-panel-subscriber" title="sliding-panel-subscriber" width="600" height="204" class="aligncenter size-full wp-image-1593" /></p>
<p>The last screenshot looks really empty because Subscribers have only a limited access to the dashboard. You can try to fill the panel with some extra content for subscribers and contributors if you don&#8217;t want your panel to look so empty. It is up to you.</p>
<h2>STEP 1: The HTML code</h2>
<p>(<strong>Note:</strong> For the sake of this tutorial, I am going to implement the script into the default WordPress 2.7 theme (wp-content/themes/default).) </p>
<p>Open header.php in your text editor or log in to your dashboard and navigate to <em>Appearance > Editor</em> and select this file. Find the code below and delete it:</p>

<div class="wp_codebox_msgheader wp_codebox_hide"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p1590code5'); return false;">View Code</a> PHP</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p15905"><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code" id="p1590code5"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span> wp_head<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
<span style="color: #339933;">&lt;/</span>head<span style="color: #339933;">&gt;</span>
<span style="color: #339933;">&lt;</span>body<span style="color: #339933;">&gt;</span></pre></td></tr></table></div>

<p>Replace it by this:</p>

<div class="wp_codebox_msgheader wp_codebox_hide"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p1590code6'); return false;">View Code</a> PHP</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p15906"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
</pre></td><td class="code" id="p1590code6"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span> wp_head<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
&nbsp;
  	<span style="color: #339933;">&lt;!--</span> PNG FIX <span style="color: #b1b100;">for</span> IE6 <span style="color: #339933;">--&gt;</span>
  	<span style="color: #339933;">&lt;!--</span> http<span style="color: #339933;">:</span><span style="color: #666666; font-style: italic;">//24ways.org/2007/supersleight-transparent-png-in-ie6 --&gt;</span>
	<span style="color: #339933;">&lt;!--</span><span style="color: #009900;">&#91;</span><span style="color: #b1b100;">if</span> lte IE <span style="color: #cc66cc;">6</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">&gt;</span>
		<span style="color: #339933;">&lt;</span>script type<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;text/javascript&quot;</span> src<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&lt;?php bloginfo('template_url'); ?&gt;/js/pngfix/supersleight-min.js&quot;</span><span style="color: #339933;">&gt;&lt;/</span>script<span style="color: #339933;">&gt;</span>
	<span style="color: #339933;">&lt;!</span><span style="color: #009900;">&#91;</span><span style="color: #b1b100;">endif</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">--&gt;</span>
&nbsp;
    <span style="color: #339933;">&lt;!--</span> jQuery <span style="color: #339933;">-</span> the core <span style="color: #339933;">--&gt;</span>
	<span style="color: #339933;">&lt;</span>script src<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&lt;?php bloginfo('template_url'); ?&gt;/js/jquery-1.3.2.min.js&quot;</span> type<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;text/javascript&quot;</span><span style="color: #339933;">&gt;&lt;/</span>script<span style="color: #339933;">&gt;</span>
	<span style="color: #339933;">&lt;!--</span> Sliding effect <span style="color: #339933;">--&gt;</span>
	<span style="color: #339933;">&lt;</span>script src<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&lt;?php bloginfo('template_url'); ?&gt;/js/slide.js&quot;</span> type<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;text/javascript&quot;</span><span style="color: #339933;">&gt;&lt;/</span>script<span style="color: #339933;">&gt;</span>
&nbsp;
<span style="color: #339933;">&lt;/</span>head<span style="color: #339933;">&gt;</span>
<span style="color: #339933;">&lt;</span>body<span style="color: #339933;">&gt;</span>
<span style="color: #339933;">&lt;!--</span> Panel <span style="color: #339933;">--&gt;</span>
<span style="color: #339933;">&lt;</span>div id<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;toppanel&quot;</span><span style="color: #339933;">&gt;</span> 
<span style="color: #000000; font-weight: bold;">&lt;?php</span> 
	<span style="color: #000000; font-weight: bold;">global</span> <span style="color: #000088;">$user_identity</span><span style="color: #339933;">,</span> <span style="color: #000088;">$user_ID</span><span style="color: #339933;">;</span>	
	<span style="color: #666666; font-style: italic;">// If user is logged in or registered, show dashboard links in panel</span>
	<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span>is_user_logged_in<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> 
<span style="color: #000000; font-weight: bold;">?&gt;</span>
	<span style="color: #339933;">&lt;</span>div id<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;panel&quot;</span><span style="color: #339933;">&gt;</span>
		<span style="color: #339933;">&lt;</span>div <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;content clearfix&quot;</span><span style="color: #339933;">&gt;</span>
			<span style="color: #339933;">&lt;</span>div <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;left border&quot;</span><span style="color: #339933;">&gt;</span>
				<span style="color: #339933;">&lt;</span>h1<span style="color: #339933;">&gt;</span>Welcome back <span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$user_identity</span> <span style="color: #000000; font-weight: bold;">?&gt;</span><span style="color: #339933;">&lt;/</span>h1<span style="color: #339933;">&gt;</span>
				<span style="color: #339933;">&lt;</span>h2<span style="color: #339933;">&gt;</span>Headline<span style="color: #339933;">&lt;/</span>h2<span style="color: #339933;">&gt;</span>				
				<span style="color: #339933;">&lt;</span>p<span style="color: #339933;">&gt;</span>Lorem ipsum dolor sit amet<span style="color: #339933;">,</span> consectetur adipisicing elit<span style="color: #339933;">,</span> sed <span style="color: #b1b100;">do</span> eiusmod tempor incididunt ut labore et dolore magna aliqua<span style="color: #339933;">.&lt;/</span>p<span style="color: #339933;">&gt;</span>
				<span style="color: #339933;">&lt;</span>h2<span style="color: #339933;">&gt;</span>Dashboard<span style="color: #339933;">&lt;/</span>h2<span style="color: #339933;">&gt;</span>
				<span style="color: #339933;">&lt;</span>ul<span style="color: #339933;">&gt;</span>					
					<span style="color: #339933;">&lt;</span>li<span style="color: #339933;">&gt;&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&lt;?php bloginfo('url') ?&gt;/wp-admin/index.php&quot;</span><span style="color: #339933;">&gt;</span>Go to Dashboard<span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;&lt;/</span>li<span style="color: #339933;">&gt;</span>
				<span style="color: #339933;">&lt;/</span>ul<span style="color: #339933;">&gt;</span>
			<span style="color: #339933;">&lt;/</span>div<span style="color: #339933;">&gt;</span>
			<span style="color: #339933;">&lt;</span>div <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;left narrow&quot;</span><span style="color: #339933;">&gt;</span>			
				<span style="color: #339933;">&lt;</span>h2<span style="color: #339933;">&gt;</span>My Account<span style="color: #339933;">&lt;/</span>h2<span style="color: #339933;">&gt;</span>				
				<span style="color: #339933;">&lt;</span>ul<span style="color: #339933;">&gt;</span>					
					<span style="color: #339933;">&lt;</span>li<span style="color: #339933;">&gt;&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&lt;?php bloginfo('url') ?&gt;/wp-admin/index.php&quot;</span><span style="color: #339933;">&gt;</span>Global Dashboard<span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;&lt;/</span>li<span style="color: #339933;">&gt;</span>
					<span style="color: #339933;">&lt;</span>li<span style="color: #339933;">&gt;&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&lt;?php bloginfo('url') ?&gt;/wp-admin/profile.php&quot;</span><span style="color: #339933;">&gt;</span>Edit My Profile<span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;&lt;/</span>li<span style="color: #339933;">&gt;</span>
					<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> current_user_can<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'level_1'</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
						<span style="color: #339933;">&lt;</span>li<span style="color: #339933;">&gt;&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&lt;?php bloginfo('url') ?&gt;/wp-admin/edit-comments.php&quot;</span><span style="color: #339933;">&gt;</span>Comments<span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;&lt;/</span>li<span style="color: #339933;">&gt;</span>
					<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">endif</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
	        		<span style="color: #339933;">&lt;</span>li<span style="color: #339933;">&gt;&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&lt;?php echo wp_logout_url(get_permalink()); ?&gt;&quot;</span> rel<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;nofollow&quot;</span> title<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&lt;?php _e('Log out'); ?&gt;&quot;</span><span style="color: #339933;">&gt;</span><span style="color: #000000; font-weight: bold;">&lt;?</span>php _e<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Log out'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span><span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;&lt;/</span>li<span style="color: #339933;">&gt;</span>
				<span style="color: #339933;">&lt;/</span>ul<span style="color: #339933;">&gt;</span>	
				<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> current_user_can<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'level_10'</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>		
				<span style="color: #339933;">&lt;</span>h2<span style="color: #339933;">&gt;</span>Appearance<span style="color: #339933;">&lt;/</span>h2<span style="color: #339933;">&gt;</span>				
				<span style="color: #339933;">&lt;</span>ul<span style="color: #339933;">&gt;</span>						
					<span style="color: #339933;">&lt;</span>li<span style="color: #339933;">&gt;&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&lt;?php bloginfo('url') ?&gt;/wp-admin/themes.php&quot;</span><span style="color: #339933;">&gt;</span>Themes<span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;&lt;/</span>li<span style="color: #339933;">&gt;</span>
					<span style="color: #339933;">&lt;</span>li<span style="color: #339933;">&gt;&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&lt;?php bloginfo('url') ?&gt;/wp-admin/widgets.php&quot;</span><span style="color: #339933;">&gt;</span>Widgets<span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;&lt;/</span>li<span style="color: #339933;">&gt;</span>
					<span style="color: #339933;">&lt;</span>li<span style="color: #339933;">&gt;&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&lt;?php bloginfo('url') ?&gt;/wp-admin/theme-editor.php&quot;</span><span style="color: #339933;">&gt;</span>Theme Editor<span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;&lt;/</span>li<span style="color: #339933;">&gt;</span>
				<span style="color: #339933;">&lt;/</span>ul<span style="color: #339933;">&gt;</span>
				<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">endif</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
			<span style="color: #339933;">&lt;/</span>div<span style="color: #339933;">&gt;</span>
			<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> current_user_can<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'level_2'</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
			<span style="color: #339933;">&lt;</span>div <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;left narrow&quot;</span><span style="color: #339933;">&gt;</span>			
				<span style="color: #339933;">&lt;</span>h2<span style="color: #339933;">&gt;</span>Posts<span style="color: #339933;">&lt;/</span>h2<span style="color: #339933;">&gt;</span>				
				<span style="color: #339933;">&lt;</span>ul<span style="color: #339933;">&gt;</span>					
					<span style="color: #339933;">&lt;</span>li<span style="color: #339933;">&gt;&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&lt;?php bloginfo('url') ?&gt;/wp-admin/post-new.php&quot;</span><span style="color: #339933;">&gt;</span>New Post<span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;&lt;/</span>li<span style="color: #339933;">&gt;</span>
					<span style="color: #339933;">&lt;</span>li<span style="color: #339933;">&gt;&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&lt;?php bloginfo('url') ?&gt;/wp-admin/edit.php&quot;</span><span style="color: #339933;">&gt;</span>Edit Posts<span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;&lt;/</span>li<span style="color: #339933;">&gt;</span>
				<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> current_user_can<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'level_3'</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
					<span style="color: #339933;">&lt;</span>li<span style="color: #339933;">&gt;&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&lt;?php bloginfo('url') ?&gt;/wp-admin/edit-tags.php&quot;</span><span style="color: #339933;">&gt;</span>Tags<span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;&lt;/</span>li<span style="color: #339933;">&gt;</span>
					<span style="color: #339933;">&lt;</span>li<span style="color: #339933;">&gt;&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&lt;?php bloginfo('url') ?&gt;/wp-admin/categories.php&quot;</span><span style="color: #339933;">&gt;</span>Categories<span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;&lt;/</span>li<span style="color: #339933;">&gt;</span>
				<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">endif</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
				<span style="color: #339933;">&lt;/</span>ul<span style="color: #339933;">&gt;</span>
				<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> current_user_can<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'level_10'</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>		
				<span style="color: #339933;">&lt;</span>h2<span style="color: #339933;">&gt;</span>Plugins<span style="color: #339933;">&lt;/</span>h2<span style="color: #339933;">&gt;</span>				
				<span style="color: #339933;">&lt;</span>ul<span style="color: #339933;">&gt;</span>						
					<span style="color: #339933;">&lt;</span>li<span style="color: #339933;">&gt;&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&lt;?php bloginfo('url') ?&gt;/wp-admin/plugins.php&quot;</span><span style="color: #339933;">&gt;</span>Plugins<span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;&lt;/</span>li<span style="color: #339933;">&gt;</span>
					<span style="color: #339933;">&lt;</span>li<span style="color: #339933;">&gt;&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&lt;?php bloginfo('url') ?&gt;/wp-admin/plugin-install.php&quot;</span><span style="color: #339933;">&gt;</span>Install a Plugin<span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;&lt;/</span>li<span style="color: #339933;">&gt;</span>
					<span style="color: #339933;">&lt;</span>li<span style="color: #339933;">&gt;&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&lt;?php bloginfo('url') ?&gt;/wp-admin/plugin-editor.php&quot;</span><span style="color: #339933;">&gt;</span>Plugin Editor<span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;&lt;/</span>li<span style="color: #339933;">&gt;</span>
				<span style="color: #339933;">&lt;/</span>ul<span style="color: #339933;">&gt;</span>
				<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">endif</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
			<span style="color: #339933;">&lt;/</span>div<span style="color: #339933;">&gt;</span>
			<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">endif</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
			<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> current_user_can<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'level_2'</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
			<span style="color: #339933;">&lt;</span>div <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;left narrow&quot;</span><span style="color: #339933;">&gt;</span>
				<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> current_user_can<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'level_3'</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>	
				<span style="color: #339933;">&lt;</span>h2<span style="color: #339933;">&gt;</span>Pages<span style="color: #339933;">&lt;/</span>h2<span style="color: #339933;">&gt;</span>				
				<span style="color: #339933;">&lt;</span>ul<span style="color: #339933;">&gt;</span>		
					<span style="color: #339933;">&lt;</span>li<span style="color: #339933;">&gt;&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&lt;?php bloginfo('url') ?&gt;/wp-admin/post-new.php&quot;</span><span style="color: #339933;">&gt;</span>New Page<span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;&lt;/</span>li<span style="color: #339933;">&gt;</span>
					<span style="color: #339933;">&lt;</span>li<span style="color: #339933;">&gt;&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&lt;?php bloginfo('url') ?&gt;/wp-admin/edit-pages.php&quot;</span><span style="color: #339933;">&gt;</span>Edit Pages<span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;&lt;/</span>li<span style="color: #339933;">&gt;</span>
				<span style="color: #339933;">&lt;/</span>ul<span style="color: #339933;">&gt;</span>
				<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">endif</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>			
				<span style="color: #339933;">&lt;</span>h2<span style="color: #339933;">&gt;</span>Library<span style="color: #339933;">&lt;/</span>h2<span style="color: #339933;">&gt;</span>				
				<span style="color: #339933;">&lt;</span>ul<span style="color: #339933;">&gt;</span>					
					<span style="color: #339933;">&lt;</span>li<span style="color: #339933;">&gt;&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&lt;?php bloginfo('url') ?&gt;/wp-admin/upload.php&quot;</span><span style="color: #339933;">&gt;</span>Library<span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;&lt;/</span>li<span style="color: #339933;">&gt;</span>
					<span style="color: #339933;">&lt;</span>li<span style="color: #339933;">&gt;&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&lt;?php bloginfo('url') ?&gt;/wp-admin/media-new.php&quot;</span><span style="color: #339933;">&gt;</span>Add New<span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;&lt;/</span>li<span style="color: #339933;">&gt;</span>
				<span style="color: #339933;">&lt;/</span>ul<span style="color: #339933;">&gt;</span>
				<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> current_user_can<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'level_3'</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>		
				<span style="color: #339933;">&lt;</span>h2<span style="color: #339933;">&gt;</span>Users<span style="color: #339933;">&lt;/</span>h2<span style="color: #339933;">&gt;</span>				
				<span style="color: #339933;">&lt;</span>ul<span style="color: #339933;">&gt;</span>						
					<span style="color: #339933;">&lt;</span>li<span style="color: #339933;">&gt;&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&lt;?php bloginfo('url') ?&gt;/wp-admin/users.php&quot;</span><span style="color: #339933;">&gt;</span>Author <span style="color: #339933;">&amp;</span>amp<span style="color: #339933;">;</span> Users<span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;&lt;/</span>li<span style="color: #339933;">&gt;</span>
					<span style="color: #339933;">&lt;</span>li<span style="color: #339933;">&gt;&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&lt;?php bloginfo('url') ?&gt;/wp-admin/user-new.php&quot;</span><span style="color: #339933;">&gt;</span>Add New<span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;&lt;/</span>li<span style="color: #339933;">&gt;</span>
				<span style="color: #339933;">&lt;/</span>ul<span style="color: #339933;">&gt;</span>
				<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">endif</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
			<span style="color: #339933;">&lt;/</span>div<span style="color: #339933;">&gt;</span>
			<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">endif</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
			<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> current_user_can<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'level_10'</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
			<span style="color: #339933;">&lt;</span>div <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;left narrow&quot;</span><span style="color: #339933;">&gt;</span>			
				<span style="color: #339933;">&lt;</span>h2<span style="color: #339933;">&gt;</span>Settings<span style="color: #339933;">&lt;/</span>h2<span style="color: #339933;">&gt;</span>				
				<span style="color: #339933;">&lt;</span>ul<span style="color: #339933;">&gt;</span>						
					<span style="color: #339933;">&lt;</span>li<span style="color: #339933;">&gt;&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&lt;?php bloginfo('url') ?&gt;/wp-admin/options-general.php&quot;</span><span style="color: #339933;">&gt;</span>General<span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;&lt;/</span>li<span style="color: #339933;">&gt;</span>
					<span style="color: #339933;">&lt;</span>li<span style="color: #339933;">&gt;&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&lt;?php bloginfo('url') ?&gt;/wp-admin/options-writing.php&quot;</span><span style="color: #339933;">&gt;</span>Writing<span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;&lt;/</span>li<span style="color: #339933;">&gt;</span>
					<span style="color: #339933;">&lt;</span>li<span style="color: #339933;">&gt;&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&lt;?php bloginfo('url') ?&gt;/wp-admin/options-reading.php&quot;</span><span style="color: #339933;">&gt;</span>Reading<span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;&lt;/</span>li<span style="color: #339933;">&gt;</span>
					<span style="color: #339933;">&lt;</span>li<span style="color: #339933;">&gt;&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&lt;?php bloginfo('url') ?&gt;/wp-admin/options-discussion.php&quot;</span><span style="color: #339933;">&gt;</span>Discussion<span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;&lt;/</span>li<span style="color: #339933;">&gt;</span>
					<span style="color: #339933;">&lt;</span>li<span style="color: #339933;">&gt;&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&lt;?php bloginfo('url') ?&gt;/wp-admin/options-media.php&quot;</span><span style="color: #339933;">&gt;</span>Media<span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;&lt;/</span>li<span style="color: #339933;">&gt;</span>
					<span style="color: #339933;">&lt;</span>li<span style="color: #339933;">&gt;&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&lt;?php bloginfo('url') ?&gt;/wp-admin/options-privacy.php&quot;</span><span style="color: #339933;">&gt;</span>Privacy<span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;&lt;/</span>li<span style="color: #339933;">&gt;</span>
					<span style="color: #339933;">&lt;</span>li<span style="color: #339933;">&gt;&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&lt;?php bloginfo('url') ?&gt;/wp-admin/options-permalink.php&quot;</span><span style="color: #339933;">&gt;</span>Permalinks<span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;&lt;/</span>li<span style="color: #339933;">&gt;</span>
					<span style="color: #339933;">&lt;</span>li<span style="color: #339933;">&gt;&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&lt;?php bloginfo('url') ?&gt;/wp-admin/options-misc.php&quot;</span><span style="color: #339933;">&gt;</span>Miscellaneous<span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;&lt;/</span>li<span style="color: #339933;">&gt;</span>
				<span style="color: #339933;">&lt;/</span>ul<span style="color: #339933;">&gt;</span>
			<span style="color: #339933;">&lt;/</span>div<span style="color: #339933;">&gt;</span>
			<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">endif</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
		<span style="color: #339933;">&lt;/</span>div<span style="color: #339933;">&gt;</span>
	<span style="color: #339933;">&lt;/</span>div<span style="color: #339933;">&gt;</span> <span style="color: #339933;">&lt;!--</span> <span style="color: #339933;">/</span>login <span style="color: #339933;">--&gt;</span>	
&nbsp;
    <span style="color: #339933;">&lt;!--</span> The tab on top <span style="color: #339933;">--&gt;</span>	
	<span style="color: #339933;">&lt;</span>div <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;tab&quot;</span><span style="color: #339933;">&gt;</span>
		<span style="color: #339933;">&lt;</span>ul <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;login&quot;</span><span style="color: #339933;">&gt;</span>
	    	<span style="color: #339933;">&lt;</span>li <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;left&quot;</span><span style="color: #339933;">&gt;&amp;</span>nbsp<span style="color: #339933;">;&lt;/</span>li<span style="color: #339933;">&gt;</span>
	    	<span style="color: #339933;">&lt;!--</span> Logout <span style="color: #339933;">--&gt;</span>
	        <span style="color: #339933;">&lt;</span>li<span style="color: #339933;">&gt;&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&lt;?php echo wp_logout_url(get_permalink()); ?&gt;&quot;</span> rel<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;nofollow&quot;</span> title<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&lt;?php _e('Log out'); ?&gt;&quot;</span><span style="color: #339933;">&gt;</span><span style="color: #000000; font-weight: bold;">&lt;?</span>php _e<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Log out'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span><span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;&lt;/</span>li<span style="color: #339933;">&gt;</span>
			<span style="color: #339933;">&lt;</span>li <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;sep&quot;</span><span style="color: #339933;">&gt;|&lt;/</span>li<span style="color: #339933;">&gt;</span>
			<span style="color: #339933;">&lt;</span>li id<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;toggle&quot;</span><span style="color: #339933;">&gt;</span>
				<span style="color: #339933;">&lt;</span>a id<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;open&quot;</span> <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;open&quot;</span> href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;#&quot;</span><span style="color: #339933;">&gt;</span>Show Dashboard<span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;</span>
				<span style="color: #339933;">&lt;</span>a id<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;close&quot;</span> style<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;display: none;&quot;</span> <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;close&quot;</span> href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;#&quot;</span><span style="color: #339933;">&gt;</span>Close Panel<span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;</span>	
			<span style="color: #339933;">&lt;/</span>li<span style="color: #339933;">&gt;</span>
	    	<span style="color: #339933;">&lt;</span>li <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;right&quot;</span><span style="color: #339933;">&gt;&amp;</span>nbsp<span style="color: #339933;">;&lt;/</span>li<span style="color: #339933;">&gt;</span>
		<span style="color: #339933;">&lt;/</span>ul<span style="color: #339933;">&gt;</span> 
	<span style="color: #339933;">&lt;/</span>div<span style="color: #339933;">&gt;</span> <span style="color: #339933;">&lt;!--</span> <span style="color: #339933;">/</span> top <span style="color: #339933;">--&gt;</span>
<span style="color: #000000; font-weight: bold;">&lt;?php</span> 
	<span style="color: #666666; font-style: italic;">// Else if user is not logged in, show login and register forms</span>
	<span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span>	
<span style="color: #000000; font-weight: bold;">?&gt;</span>
	<span style="color: #339933;">&lt;</span>div id<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;panel&quot;</span><span style="color: #339933;">&gt;</span>
		<span style="color: #339933;">&lt;</span>div <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;content clearfix&quot;</span><span style="color: #339933;">&gt;</span>
			<span style="color: #339933;">&lt;</span>div <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;left border&quot;</span><span style="color: #339933;">&gt;</span>
				<span style="color: #339933;">&lt;</span>h1<span style="color: #339933;">&gt;</span>Welcome to Web<span style="color: #339933;">-</span>Kreation<span style="color: #339933;">&lt;/</span>h1<span style="color: #339933;">&gt;</span>
				<span style="color: #339933;">&lt;</span>h2<span style="color: #339933;">&gt;</span>Sliding login panel Demo with jQuery<span style="color: #339933;">&lt;/</span>h2<span style="color: #339933;">&gt;</span>		
				<span style="color: #339933;">&lt;</span>p <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;grey&quot;</span><span style="color: #339933;">&gt;</span>You can put anything you want in this sliding panel<span style="color: #339933;">:</span> videos<span style="color: #339933;">,</span> audio<span style="color: #339933;">,</span> images<span style="color: #339933;">,</span> forms<span style="color: #339933;">...</span> The only limit is your imagination<span style="color: #339933;">!&lt;/</span>p<span style="color: #339933;">&gt;</span>
				<span style="color: #339933;">&lt;</span>h2<span style="color: #339933;">&gt;</span>Download<span style="color: #339933;">&lt;/</span>h2<span style="color: #339933;">&gt;</span>
				<span style="color: #339933;">&lt;</span>p <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;grey&quot;</span><span style="color: #339933;">&gt;</span>To download this script go back to <span style="color: #339933;">&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;http://web-kreation.com/index.php/articles/implement-a-nice-clean-jquery-sliding-panel-in-wordpress-27&quot;</span> title<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;Download&quot;</span><span style="color: #339933;">&gt;</span>article <span style="color: #339933;">&amp;</span>raquo<span style="color: #339933;">;&lt;/</span>a<span style="color: #339933;">&gt;&lt;/</span>p<span style="color: #339933;">&gt;</span>
			<span style="color: #339933;">&lt;/</span>div<span style="color: #339933;">&gt;</span>
			<span style="color: #339933;">&lt;</span>div <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;left&quot;</span><span style="color: #339933;">&gt;</span>
				<span style="color: #339933;">&lt;!--</span> Login Form <span style="color: #339933;">--&gt;</span>
				<span style="color: #339933;">&lt;</span>form <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;clearfix&quot;</span> action<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&lt;?php bloginfo('url') ?&gt;/wp-login.php&quot;</span> method<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;post&quot;</span><span style="color: #339933;">&gt;</span>
					<span style="color: #339933;">&lt;</span>h1<span style="color: #339933;">&gt;</span>Member Login<span style="color: #339933;">&lt;/</span>h1<span style="color: #339933;">&gt;</span>
					<span style="color: #339933;">&lt;</span>label <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;grey&quot;</span> <span style="color: #b1b100;">for</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;log&quot;</span><span style="color: #339933;">&gt;</span>Username<span style="color: #339933;">:&lt;/</span>label<span style="color: #339933;">&gt;</span>
					<span style="color: #339933;">&lt;</span>input <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;field&quot;</span> type<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;text&quot;</span> name<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;log&quot;</span> id<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;log&quot;</span> value<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&lt;?php echo wp_specialchars(stripslashes(<span style="color: #006699; font-weight: bold;">$user_login</span>), 1) ?&gt;&quot;</span> size<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;23&quot;</span> <span style="color: #339933;">/&gt;</span>
					<span style="color: #339933;">&lt;</span>label <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;grey&quot;</span> <span style="color: #b1b100;">for</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;pwd&quot;</span><span style="color: #339933;">&gt;</span>Password<span style="color: #339933;">:&lt;/</span>label<span style="color: #339933;">&gt;</span>
					<span style="color: #339933;">&lt;</span>input <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;field&quot;</span> type<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;password&quot;</span> name<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;pwd&quot;</span> id<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;pwd&quot;</span> size<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;23&quot;</span> <span style="color: #339933;">/&gt;</span>
	            	<span style="color: #339933;">&lt;</span>label<span style="color: #339933;">&gt;&lt;</span>input name<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;rememberme&quot;</span> id<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;rememberme&quot;</span> type<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;checkbox&quot;</span> checked<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;checked&quot;</span> value<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;forever&quot;</span> <span style="color: #339933;">/&gt;</span> Remember me<span style="color: #339933;">&lt;/</span>label<span style="color: #339933;">&gt;</span>
        			<span style="color: #339933;">&lt;</span>div <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;clear&quot;</span><span style="color: #339933;">&gt;&lt;/</span>div<span style="color: #339933;">&gt;</span>
					<span style="color: #339933;">&lt;</span>input type<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;submit&quot;</span> name<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;submit&quot;</span> value<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;Login&quot;</span> <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;bt_login&quot;</span> <span style="color: #339933;">/&gt;</span>
					<span style="color: #339933;">&lt;</span>input type<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;hidden&quot;</span> name<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;redirect_to&quot;</span> value<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&lt;?php echo <span style="color: #006699; font-weight: bold;">$_SERVER</span>['REQUEST_URI']; ?&gt;&quot;</span><span style="color: #339933;">/&gt;</span>
					<span style="color: #339933;">&lt;</span>a <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;lost-pwd&quot;</span> href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&lt;?php bloginfo('url') ?&gt;/wp-login.php?action=lostpassword&quot;</span><span style="color: #339933;">&gt;</span>Lost your password?<span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;</span>
				<span style="color: #339933;">&lt;/</span>form<span style="color: #339933;">&gt;</span>
			<span style="color: #339933;">&lt;/</span>div<span style="color: #339933;">&gt;</span>
			<span style="color: #339933;">&lt;</span>div <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;left right&quot;</span><span style="color: #339933;">&gt;</span>
			<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span>get_option<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'users_can_register'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>	
				<span style="color: #339933;">&lt;!--</span> Register Form <span style="color: #339933;">--&gt;</span>
				<span style="color: #339933;">&lt;</span>form name<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;registerform&quot;</span> id<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;registerform&quot;</span> action<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&lt;?php echo site_url('wp-login.php?action=register', 'login_post') ?&gt;&quot;</span> method<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;post&quot;</span><span style="color: #339933;">&gt;</span>
					<span style="color: #339933;">&lt;</span>h1<span style="color: #339933;">&gt;</span>Not a member yet? Sign Up<span style="color: #339933;">!&lt;/</span>h1<span style="color: #339933;">&gt;</span>	
					<span style="color: #339933;">&lt;</span>label <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;grey&quot;</span> <span style="color: #b1b100;">for</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;user_login&quot;</span><span style="color: #339933;">&gt;</span><span style="color: #000000; font-weight: bold;">&lt;?</span>php _e<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Username'</span><span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span><span style="color: #339933;">&lt;/</span>label<span style="color: #339933;">&gt;</span>
					<span style="color: #339933;">&lt;</span>input <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;field&quot;</span> type<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;text&quot;</span> name<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;user_login&quot;</span> id<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;user_login&quot;</span> <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;input&quot;</span> value<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&lt;?php echo attribute_escape(stripslashes(<span style="color: #006699; font-weight: bold;">$user_login</span>)); ?&gt;&quot;</span> size<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;20&quot;</span> tabindex<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;10&quot;</span> <span style="color: #339933;">/&gt;</span>
					<span style="color: #339933;">&lt;</span>label <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;grey&quot;</span> <span style="color: #b1b100;">for</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;user_email&quot;</span><span style="color: #339933;">&gt;</span><span style="color: #000000; font-weight: bold;">&lt;?</span>php _e<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'E-mail'</span><span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span><span style="color: #339933;">&lt;/</span>label<span style="color: #339933;">&gt;</span>
					<span style="color: #339933;">&lt;</span>input <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;field&quot;</span> type<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;text&quot;</span> name<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;user_email&quot;</span> id<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;user_email&quot;</span> <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;input&quot;</span> value<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&lt;?php echo attribute_escape(stripslashes(<span style="color: #006699; font-weight: bold;">$user_email</span>)); ?&gt;&quot;</span> size<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;25&quot;</span> tabindex<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;20&quot;</span> <span style="color: #339933;">/&gt;</span>
					<span style="color: #000000; font-weight: bold;">&lt;?php</span> do_action<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'register_form'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
					<span style="color: #339933;">&lt;</span>label id<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;reg_passmail&quot;</span><span style="color: #339933;">&gt;</span><span style="color: #000000; font-weight: bold;">&lt;?</span>php _e<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'A password will be e-mailed to you.'</span><span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span><span style="color: #339933;">&lt;/</span>label<span style="color: #339933;">&gt;</span>
					<span style="color: #339933;">&lt;</span>input type<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;submit&quot;</span> name<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;wp-submit&quot;</span> id<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;wp-submit&quot;</span> value<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&lt;?php _e('Register'); ?&gt;&quot;</span> <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;bt_register&quot;</span> <span style="color: #339933;">/&gt;</span>
				<span style="color: #339933;">&lt;/</span>form<span style="color: #339933;">&gt;</span>
			<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">else</span> <span style="color: #339933;">:</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
				<span style="color: #339933;">&lt;</span>h1<span style="color: #339933;">&gt;</span>Registration is closed<span style="color: #339933;">&lt;/</span>h1<span style="color: #339933;">&gt;</span>
				<span style="color: #339933;">&lt;</span>p<span style="color: #339933;">&gt;</span>Sorry<span style="color: #339933;">,</span> you are not allowed to register by yourself on this site<span style="color: #339933;">!&lt;/</span>p<span style="color: #339933;">&gt;</span>
				<span style="color: #339933;">&lt;</span>p<span style="color: #339933;">&gt;</span>You must either be invited by one of our team member or request an invitation by email at <span style="color: #339933;">&lt;</span>b<span style="color: #339933;">&gt;</span>info <span style="color: #009900;">&#123;</span>at<span style="color: #009900;">&#125;</span> yoursite <span style="color: #009900;">&#123;</span>dot<span style="color: #009900;">&#125;</span> com<span style="color: #339933;">&lt;/</span>b<span style="color: #339933;">&gt;.&lt;/</span>p<span style="color: #339933;">&gt;</span>
&nbsp;
				<span style="color: #339933;">&lt;!--</span> Admin<span style="color: #339933;">,</span> delete text below later when you are done with configuring this panel <span style="color: #339933;">--&gt;</span>
				<span style="color: #339933;">&lt;</span>p style<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;border-top:1px solid #333;border-bottom:1px solid #333;padding:10px 0;margin-top:10px;color:white&quot;</span><span style="color: #339933;">&gt;&lt;</span>em<span style="color: #339933;">&gt;</span>Note<span style="color: #339933;">:</span> <span style="color: #b1b100;">If</span> you are the admin and want to display the register form here<span style="color: #339933;">,</span> <a href="http://www.php.net/log"><span style="color: #990000;">log</span></a> in to your dashboard<span style="color: #339933;">,</span> and go to <span style="color: #339933;">&lt;</span>b<span style="color: #339933;">&gt;</span>Settings<span style="color: #339933;">&lt;/</span>b<span style="color: #339933;">&gt;</span> <span style="color: #339933;">&gt;</span> <span style="color: #339933;">&lt;</span>b<span style="color: #339933;">&gt;</span>General<span style="color: #339933;">&lt;/</span>b<span style="color: #339933;">&gt;</span> and click <span style="color: #0000ff;">&quot;Anyone can register&quot;</span><span style="color: #339933;">.&lt;/</span>em<span style="color: #339933;">&gt;&lt;/</span>p<span style="color: #339933;">&gt;</span>
			<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">endif</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>			
			<span style="color: #339933;">&lt;/</span>div<span style="color: #339933;">&gt;</span>
		<span style="color: #339933;">&lt;/</span>div<span style="color: #339933;">&gt;</span>
	<span style="color: #339933;">&lt;/</span>div<span style="color: #339933;">&gt;</span> <span style="color: #339933;">&lt;!--</span> <span style="color: #339933;">/</span>login <span style="color: #339933;">--&gt;</span>	
&nbsp;
    <span style="color: #339933;">&lt;!--</span> The tab on top <span style="color: #339933;">--&gt;</span>	
	<span style="color: #339933;">&lt;</span>div <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;tab&quot;</span><span style="color: #339933;">&gt;</span>
		<span style="color: #339933;">&lt;</span>ul <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;login&quot;</span><span style="color: #339933;">&gt;</span>
	    	<span style="color: #339933;">&lt;</span>li <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;left&quot;</span><span style="color: #339933;">&gt;&amp;</span>nbsp<span style="color: #339933;">;&lt;/</span>li<span style="color: #339933;">&gt;</span>
	    	<span style="color: #339933;">&lt;!--</span> Login <span style="color: #339933;">/</span> Register <span style="color: #339933;">--&gt;</span>
			<span style="color: #339933;">&lt;</span>li id<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;toggle&quot;</span><span style="color: #339933;">&gt;</span>
				<span style="color: #339933;">&lt;</span>a id<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;open&quot;</span> <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;open&quot;</span> href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;#&quot;</span><span style="color: #339933;">&gt;</span>Log In <span style="color: #339933;">|</span> Register<span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;</span>
				<span style="color: #339933;">&lt;</span>a id<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;close&quot;</span> style<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;display: none;&quot;</span> <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;close&quot;</span> href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;#&quot;</span><span style="color: #339933;">&gt;</span>Close Panel<span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;</span>			
			<span style="color: #339933;">&lt;/</span>li<span style="color: #339933;">&gt;</span>
	    	<span style="color: #339933;">&lt;</span>li <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;right&quot;</span><span style="color: #339933;">&gt;&amp;</span>nbsp<span style="color: #339933;">;&lt;/</span>li<span style="color: #339933;">&gt;</span>
		<span style="color: #339933;">&lt;/</span>ul<span style="color: #339933;">&gt;</span> 
	<span style="color: #339933;">&lt;/</span>div<span style="color: #339933;">&gt;</span> <span style="color: #339933;">&lt;!--</span> <span style="color: #339933;">/</span> top <span style="color: #339933;">--&gt;</span>			
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #009900;">&#125;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>	
<span style="color: #339933;">&lt;/</span>div<span style="color: #339933;">&gt;</span> <span style="color: #339933;">&lt;!--</span><a href="http://www.php.net/end"><span style="color: #990000;">END</span></a> panel <span style="color: #339933;">--&gt;</span></pre></td></tr></table></div>

<h2>STEP 2: Copy the CSS in style.css</h2>
<p>Expand the code below, copy it and save it at the bottom of your theme stylesheet (e.g. wp-content/themes/default/style.css):</p>

<div class="wp_codebox_msgheader wp_codebox_hide"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p1590code7'); return false;">View Code</a> CSS</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p15907"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
</pre></td><td class="code" id="p1590code7"><pre class="css" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">/* sliding panel */</span>
<span style="color: #cc00cc;">#toppanel</span> <span style="color: #00AA00;">&#123;</span>
    <span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">absolute</span><span style="color: #00AA00;">;</span>   <span style="color: #808080; font-style: italic;">/*Panel will overlap  content */</span>
    <span style="color: #808080; font-style: italic;">/*position: relative;*/</span>   <span style="color: #808080; font-style: italic;">/*Panel will &quot;push&quot; the content down */</span>
    <span style="color: #000000; font-weight: bold;">top</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">100%</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">z-index</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">999</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">text-align</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">center</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">margin-left</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">auto</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">margin-right</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">auto</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span> <span style="color: #933;">130%</span><span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/* font-size set to 130% for the default Kubrick Wordpress theme */</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #cc00cc;">#panel</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">100%</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">280px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#999999</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#272727</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">overflow</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">hidden</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">relative</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">z-index</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">3</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #cc00cc;">#panel</span> h1 <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span> <span style="color: #933;">1.6em</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span> <span style="color: #933;">5px</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">10px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">white</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">text-align</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #cc00cc;">#panel</span> h2<span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span> <span style="color: #933;">1.2em</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span> <span style="color: #933;">10px</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">5px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">white</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">text-align</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #cc00cc;">#panel</span> p <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span> <span style="color: #933;">5px</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #cc00cc;">#panel</span> a <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">text-decoration</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#15ADFF</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #cc00cc;">#panel</span> a<span style="color: #3333ff;">:hover </span><span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">white</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #cc00cc;">#panel</span> a-lost-pwd <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">block</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #cc00cc;">#panel</span> ul <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">5px</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">line-height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">1.6em</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">list-style</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #cc00cc;">#panel</span> .<span style="color: #000000; font-weight: bold;">content</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">960px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span> <span style="color: #993333;">auto</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">padding-top</span><span style="color: #00AA00;">:</span> <span style="color: #933;">15px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">text-align</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span> <span style="color: #933;">0.85em</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #cc00cc;">#panel</span> .<span style="color: #000000; font-weight: bold;">content</span> .<span style="color: #000000; font-weight: bold;">left</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">280px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">margin-bottom</span><span style="color: #00AA00;">:</span> <span style="color: #933;">25px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">15px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">border-right</span><span style="color: #00AA00;">:</span> <span style="color: #933;">1px</span> <span style="color: #993333;">solid</span> <span style="color: #cc00cc;">#333</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">min-height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">220px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #cc00cc;">#panel</span> .<span style="color: #000000; font-weight: bold;">content</span> .<span style="color: #000000; font-weight: bold;">border</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">border-left</span><span style="color: #00AA00;">:</span> <span style="color: #933;">1px</span> <span style="color: #993333;">solid</span> <span style="color: #cc00cc;">#333</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #cc00cc;">#panel</span> .<span style="color: #000000; font-weight: bold;">content</span> <span style="color: #6666ff;">.narrow</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">120px</span> !important<span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #cc00cc;">#panel</span> .<span style="color: #000000; font-weight: bold;">content</span> form <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">10px</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #cc00cc;">#panel</span> .<span style="color: #000000; font-weight: bold;">content</span> label <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">padding-top</span><span style="color: #00AA00;">:</span> <span style="color: #933;">8px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">clear</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">both</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">280px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">block</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #cc00cc;">#panel</span> .<span style="color: #000000; font-weight: bold;">content</span> input<span style="color: #6666ff;">.field</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span> <span style="color: #933;">1px</span> <span style="color: #cc00cc;">#1A1A1A</span> <span style="color: #993333;">solid</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#414141</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">margin-right</span><span style="color: #00AA00;">:</span> <span style="color: #933;">5px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">margin-top</span><span style="color: #00AA00;">:</span> <span style="color: #933;">4px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">200px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">white</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">16px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #cc00cc;">#panel</span> .<span style="color: #000000; font-weight: bold;">content</span> input<span style="color: #3333ff;">:focus</span><span style="color: #6666ff;">.field</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#545454</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">/* BUTTONS */</span>
<span style="color: #808080; font-style: italic;">/* Login and Register buttons */</span>
<span style="color: #cc00cc;">#panel</span> .<span style="color: #000000; font-weight: bold;">content</span> input.bt_login<span style="color: #00AA00;">,</span>
<span style="color: #cc00cc;">#panel</span> .<span style="color: #000000; font-weight: bold;">content</span> input<span style="color: #6666ff;">.bt_register</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">block</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">clear</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">24px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">text-align</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">center</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">cursor</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">pointer</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">font-weight</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">bold</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span> <span style="color: #933;">10px</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #cc00cc;">#panel</span> .<span style="color: #000000; font-weight: bold;">content</span> input<span style="color: #6666ff;">.bt_login</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">74px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">transparent</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">images/bt_login.png</span><span style="color: #00AA00;">&#41;</span> <span style="color: #993333;">no-repeat</span> <span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #cc00cc;">#panel</span> .<span style="color: #000000; font-weight: bold;">content</span> input<span style="color: #6666ff;">.bt_register</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">94px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">white</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">transparent</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">images/bt_register.png</span><span style="color: #00AA00;">&#41;</span> <span style="color: #993333;">no-repeat</span> <span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #cc00cc;">#panel</span> <span style="color: #6666ff;">.lost-pwd</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">block</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span><span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">clear</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">right</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span> <span style="color: #933;">15px</span> <span style="color: #933;">5px</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span> <span style="color: #933;">0.95em</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">text-decoration</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">underline</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">/* Panel Tab/button */</span>
<span style="color: #6666ff;">.tab</span> <span style="color: #00AA00;">&#123;</span>
  	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">images/tab_b.png</span><span style="color: #00AA00;">&#41;</span> <span style="color: #993333;">repeat-x</span> <span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">42px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">relative</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">top</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">z-index</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">999</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #6666ff;">.tab</span> ul<span style="color: #6666ff;">.login</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">block</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">relative</span><span style="color: #00AA00;">;</span>
  	<span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">right</span><span style="color: #00AA00;">;</span>
  	<span style="color: #000000; font-weight: bold;">clear</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">right</span><span style="color: #00AA00;">;</span>
  	<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">42px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">auto</span><span style="color: #00AA00;">;</span>
  	<span style="color: #000000; font-weight: bold;">font-weight</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">bold</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">line-height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">42px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">right</span><span style="color: #00AA00;">:</span> <span style="color: #933;">150px</span><span style="color: #00AA00;">;</span>
  	<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">white</span><span style="color: #00AA00;">;</span>
  	<span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span> <span style="color: #933;">80%</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">text-align</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">center</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #6666ff;">.tab</span> ul<span style="color: #6666ff;">.login</span> li.<span style="color: #000000; font-weight: bold;">left</span> <span style="color: #00AA00;">&#123;</span>
  	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">images/tab_l.png</span><span style="color: #00AA00;">&#41;</span> <span style="color: #993333;">no-repeat</span> <span style="color: #000000; font-weight: bold;">left</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
  	<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">42px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">30px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
  	<span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">block</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #6666ff;">.tab</span> ul<span style="color: #6666ff;">.login</span> li.<span style="color: #000000; font-weight: bold;">right</span> <span style="color: #00AA00;">&#123;</span>
  	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">images/tab_r.png</span><span style="color: #00AA00;">&#41;</span> <span style="color: #993333;">no-repeat</span> <span style="color: #000000; font-weight: bold;">left</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
  	<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">42px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">30px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
  	<span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">block</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #6666ff;">.tab</span> ul<span style="color: #6666ff;">.login</span> li <span style="color: #00AA00;">&#123;</span>
 	<span style="color: #000000; font-weight: bold;">text-align</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>
  	<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">6px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">block</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">42px</span><span style="color: #00AA00;">;</span>
  	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">images/tab_m.png</span><span style="color: #00AA00;">&#41;</span> <span style="color: #993333;">repeat-x</span> <span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #6666ff;">.tab</span> ul<span style="color: #6666ff;">.login</span> li a <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#15ADFF</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #6666ff;">.tab</span> ul<span style="color: #6666ff;">.login</span> li a<span style="color: #3333ff;">:hover </span><span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">white</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #6666ff;">.tab</span> <span style="color: #6666ff;">.sep</span> <span style="color: #00AA00;">&#123;</span><span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#414141</span><span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #6666ff;">.tab</span> a<span style="color: #6666ff;">.open</span><span style="color: #00AA00;">,</span> <span style="color: #6666ff;">.tab</span> a<span style="color: #6666ff;">.close</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">20px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">line-height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">20px</span> !important<span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">padding-left</span><span style="color: #00AA00;">:</span> <span style="color: #933;">30px</span> !important<span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">cursor</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">pointer</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">block</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">100px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">relative</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">top</span><span style="color: #00AA00;">:</span> <span style="color: #933;">11px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #6666ff;">.tab</span> a<span style="color: #6666ff;">.open</span> <span style="color: #00AA00;">&#123;</span><span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">images/bt_open.png</span><span style="color: #00AA00;">&#41;</span> <span style="color: #993333;">no-repeat</span> <span style="color: #000000; font-weight: bold;">left</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.tab</span> a<span style="color: #6666ff;">.close</span> <span style="color: #00AA00;">&#123;</span><span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">images/bt_close.png</span><span style="color: #00AA00;">&#41;</span> <span style="color: #993333;">no-repeat</span> <span style="color: #000000; font-weight: bold;">left</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.tab</span> a<span style="color: #3333ff;">:hover</span><span style="color: #6666ff;">.open</span> <span style="color: #00AA00;">&#123;</span><span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">images/bt_open.png</span><span style="color: #00AA00;">&#41;</span> <span style="color: #993333;">no-repeat</span> <span style="color: #000000; font-weight: bold;">left</span> <span style="color: #933;">-19px</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.tab</span> a<span style="color: #3333ff;">:hover</span><span style="color: #6666ff;">.close</span> <span style="color: #00AA00;">&#123;</span><span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">images/bt_close.png</span><span style="color: #00AA00;">&#41;</span> <span style="color: #993333;">no-repeat</span> <span style="color: #000000; font-weight: bold;">left</span> <span style="color: #933;">-19px</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>

<p><strong>Note:</strong> I have set font-size to 130% for <em>#toppanel</em> because the panel font was too small in the Default theme. If you use this code with another theme and font is too big, modify this value or just delete &#8220;font-size: 130%;&#8221;.</p>
<h2>STEP 3: Add the Javascript files &amp; Images to your theme.</h2>
<p>Click <a href="http://web-kreation.com/?dl_id=22">here</a> to download the sliding panel from my previous article. When prompted save Sliding_login_panel_jquery.zip on your desktop. Uncompress the file (with <a href="http://www.7-zip.org/" rel="nofollow">7zip</a> for example) and copy the &#8220;js&#8221; folder (all of it) into wp-content/themes/default/. Copy all the images from the zip file and save them in wp-content/themes/default/images/. </p>
<p>By now, if you saved the files to the right folders and added the HTML and CSS code to the right files, the panel should slide as expected. To test your sliding panel, you can create different users in <em>Users > Add New</em> and select a different role for each. Then sign in with the different accounts you just created to see how the panel behaves.</p>
<p>Let&#8217;s now take care of the register form.</p>
<h2>STEP 4 (Optional): Register form</h2>
<p>If you want the register form to appear in your panel, you will need to follow one last step. Go to <em>Settings > General</em> and check &#8220;Anyone can register&#8221;. If you don&#8217;t check this box, this is what you will see:<br />
<img src="http://web-kreation.com/wp-content/uploads/2009/04/sliding-panel-register-disable.jpg" alt="sliding-panel-register-disable" title="sliding-panel-register-disable" width="600" height="204" class="aligncenter size-full wp-image-1611" /></p>
<p>When you succesfully register or get an error you will be redirected to <em>http://yoursite.com/wp-login.php?action=register</em>. I would have prefered to handle errors and messages directly from the sliding panel but that was not possible without adding a lot of code to it. </p>
<p>I was surprised to see there was so little documentation about adding a register form to the front page. I found a few plugins but nothing really interesting. </p>
<p>If you know something interesting about it, let me know.</p>
<h2>Not Working. Help!</h2>
<p>You followed all the steps above but it didn&#8217;t work. Don&#8217;t worry! I have bundled this jQuery Sliding Panel with the default theme. Just download it below and install it as you would normally do for any theme:</p>
<div class="clearfix">Note: There is a file embedded within this post, please visit this post to download the file.</div>
<p>If it still doesn&#8217;t work, make sure jQuery doesn&#8217;t conflict with another AJAX library (Mootools, Prototype&#8230;). </p>
<h2>Conclusion</h2>
<p>I tried to make this tutorial as simple as I could for you to implement this script into your WordPress theme. However, depending on the theme you use, you might run into a problem. If so, ask your questions below and I will try to help you.</p>
<h2>Update: Plugins for WordPress, Drupal, Joomla, Tutorials&#8230;</h2>
<div class="note">It seems this sliding panel has inspired many people. Some of them even have created some plugins for WordPress, Drupal&#8230;:</p>
<ul class="clearfix">
<li class="clearfix"><a href="http://justintadlock.com/archives/2009/06/25/sliding-panel-wordpress-plugin">Sliding Panel: WordPress Plugin</a> by Justin Tadlock.</li>
<li class="clearfix"><a href="http://wordpress.org/extend/plugins/superslider-login/">SuperSlider-Login</a> by Twincascos.</li>
<li class="clearfix"><a title="Making A Cool Login System With PHP, MySQL &amp; jQuery" href="http://tutorialzine.com/2009/10/cool-login-system-php-jquery/" target="_blank">Making A Cool Login System With PHP, MySQL &amp; jQuery</a> by Tutorialzine.com.</li>
<li class="clearfix"><a href="http://www.danielnorton.com/slpjq">SlipJaq &#8211; A Drupal module for a sliding login panel</a> by Daniel Norton</li>
<li class="clearfix"><a href="https://github.com/Aevis/Sliding-Login-Panel">Aevis / Sliding-Login-Panel</a> a Joomla plugin by Aevis</li>
</ul>
<p>Enjoy!</p></div>
<p><em>(<strong>Note:</strong> If you created a plugin based on this script for another CMS, feel free to contact me or leave a comment below and I will add it to this list).</em></p>
]]></content:encoded>
			<wfw:commentRss>http://web-kreation.com/all/implement-a-nice-clean-jquery-sliding-panel-in-wordpress-27/feed/</wfw:commentRss>
		<slash:comments>186</slash:comments>
		</item>
		<item>
		<title>Nice &amp; Clean Sliding Login Panel built with jQuery</title>
		<link>http://web-kreation.com/all/nice-clean-sliding-login-panel-built-with-jquery/</link>
		<comments>http://web-kreation.com/all/nice-clean-sliding-login-panel-built-with-jquery/#comments</comments>
		<pubDate>Thu, 26 Mar 2009 06:27:48 +0000</pubDate>
		<dc:creator>Jeeremie</dc:creator>
				<category><![CDATA[AJAX / Javascript]]></category>
		<category><![CDATA[All]]></category>
		<category><![CDATA[Forms]]></category>
		<category><![CDATA[Freebies]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[form]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://web-kreation.com/?p=1549</guid>
		<description><![CDATA[Remember my <a href="http://web-kreation.com/index.php/tutorials/nice-login-and-signup-panel-using-mootools-12/">Sliding Login Panel build with Mootools 1.2</a>? Well, I thought it could have been improved both for design and functionnalities and <a href="http://web-kreation.com/demos/Sliding_login_panel_jquery/" title="Nice &#038; Clean Sliding Login Panel with jQuery">so I did!</a> but with jQuery this time. ]]></description>
			<content:encoded><![CDATA[<p>Remember my <a href="http://web-kreation.com/index.php/tutorials/nice-login-and-signup-panel-using-mootools-12/">Sliding Login Panel with Mootools 1.2</a>? Well, I thought it could have been improved both for design and functionnalities and <a title="Nice &amp; Clean Sliding Login Panel with jQuery" href="http://web-kreation.com/demos/Sliding_login_panel_jquery/">so I did!</a> but with jQuery this time.</p>
<p><a title="Nice &amp; Clean Sliding Login Panel with jQuery" href="http://web-kreation.com/demos/Sliding_login_panel_jquery/"><img class="aligncenter size-full wp-image-1551" title="sliding-login-panel-jquery" src="http://web-kreation.com/wp-content/uploads/2009/03/sliding-login-panel-jquery.jpg" alt="sliding-login-panel-jquery" width="600" height="250" /></a></p>
<h2>Preview/Download</h2>
<div class="clearfix"><a class="btn-big view" title="Nice &amp; Clean Sliding Login Panel with jQuery" href="http://web-kreation.com/demos/Sliding_login_panel_jquery/"><span>View Demo</span></a>Note: There is a file embedded within this post, please visit this post to download the file.</div>
<p>This script is distributed under the <a href="http://www.gnu.org/licenses/gpl-3.0.html" target="_blank">GNU General Public License version 3</a>.</p>
<p>The sliding panel works like a charm in IE6, IE7, Firefox, Safari, Opera and Chrome. I didn&#8217;t test it in IE8 yet. Let me know if it does.</p>
<p class="error">Please note the Login and Register forms in this demo <strong>will not work &#8220;out of the box&#8221;</strong> without a user login system pre-installed on your site (e.g. PHP/MySQL user login system)!</p>
<h2>What&#8217;s new in this version?</h2>
<ul>
<li>Panel has been redesigned to be &#8220;slicker&#8221;.</li>
<li>Panel overlaps content instead of &#8220;pushing&#8221; it.</li>
<li>Images are transparent&#8230; and work in IE6! (Thanks to <strong>24Ways</strong> for their <a title="Transparent PNGs in Internet Explorer 6" rel="nofollow" href="http://24ways.org/2007/supersleight-transparent-png-in-ie6" target="blank">IE PNG Fix</a>.) This means, you can change the background color of the body as you wish or even set a background image.</li>
<li>Login button that slides the panel down changes from &#8220;Log In | Register&#8221; to &#8220;Close Panel&#8221; on click and I have added some nice rollover images:</li>
</ul>
<p>Login button when panel in closed state:<br />
<img class="aligncenter size-full wp-image-1553" title="sliding-login-panel-jquery-closed-state" src="http://web-kreation.com/wp-content/uploads/2009/03/sliding-login-panel-jquery-closed-state.jpg" alt="sliding-login-panel-jquery-closed-state" width="600" height="50" /><br />
Close button when panel in opened state:<br />
<img class="aligncenter size-full wp-image-1554" title="sliding-login-panel-jquery-opened-state" src="http://web-kreation.com/wp-content/uploads/2009/03/sliding-login-panel-jquery-opened-state.jpg" alt="sliding-login-panel-jquery-opened-state" width="600" height="50" /></p>
<p>Toggle effect (<em>.toggle()</em> in the javascript code below) behaves differently in jQuery than in Mootools and makes it dead simple to switch the login and close buttons on click. Here&#8217;s how I proceded:</p>

<div class="wp_codebox_msgheader wp_codebox_hide"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p1549code8'); return false;">View Code</a> HTML4STRICT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p15498"><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code" id="p1549code8"><pre class="html4strict" style="font-family:monospace;">	<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;toggle&quot;</span>&gt;</span>
	<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;open&quot;</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;open&quot;</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#&quot;</span>&gt;</span>Log In | Register<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;</span>
	<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;close&quot;</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;close&quot;</span> <span style="color: #000066;">style</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;display: none;&quot;</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#&quot;</span>&gt;</span>Close Panel<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span></pre></td></tr></table></div>

<p>&#8230; and the javascript to expand/collapse panel and switch the buttons on click:</p>

<div class="wp_codebox_msgheader wp_codebox_hide"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p1549code9'); return false;">View Code</a> JAVASCRIPT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p15499"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
</pre></td><td class="code" id="p1549code9"><pre class="javascript" style="font-family:monospace;">$<span style="color: #009900;">&#40;</span>document<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">ready</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
&nbsp;
	<span style="color: #006600; font-style: italic;">// Expand Panel</span>
	$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;#open&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">click</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
		$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;div#panel&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">slideDown</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;slow&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>	
&nbsp;
	<span style="color: #006600; font-style: italic;">// Collapse Panel</span>
	$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;#close&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">click</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
		$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;div#panel&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">slideUp</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;slow&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>		
&nbsp;
	<span style="color: #006600; font-style: italic;">// Switch buttons from &quot;Log In | Register&quot; to &quot;Close Panel&quot; on click</span>
	$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;#toggle a&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">click</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span> <span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
		$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;#toggle a&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">toggle</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>		
&nbsp;
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>Check the <a title="Effects/toggle jQuery" rel="nofollow" href="http://docs.jquery.com/Effects/toggle" target="_blank">jQuery documentation</a> for usage.</p>
<h2>Known Bugs</h2>
<ul>
<li>Rollover effect for the login button doesn&#8217;t work in IE6 because of <strong>24Ways&#8217;</strong> script. Knowing alpha transparency works perfectly in this browser I think we can disregard that minor bug.</li>
</ul>
<h2>Preview/Download</h2>
<div class="clearfix"><a class="btn-big view" title="Nice &amp; Clean Sliding Login Panel with jQuery" href="http://web-kreation.com/demos/Sliding_login_panel_jquery/"><span>View Demo</span></a>Note: There is a file embedded within this post, please visit this post to download the file.</div>
<h2 id="PushContentDown">How to have the panel &#8220;push&#8221; the content down?</h2>
<p>Many people ask me how to have the panel &#8220;push&#8221; the content down instead of overlapping it so I thought I would answer it here instead of answering each comment individually. This is actually extremely easy to do so. All you have to do is open slide.css (<em>Appearance>Editor</em>) and find:</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p1549code10'); return false;">View Code</a> CSS</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p154910"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
</pre></td><td class="code" id="p1549code10"><pre class="css" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">/* sliding panel */</span>
<span style="color: #cc00cc;">#toppanel</span> <span style="color: #00AA00;">&#123;</span>
    <span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">absolute</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">top</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">100%</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">z-index</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">999</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">text-align</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">center</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">margin-left</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">auto</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">margin-right</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">auto</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>

<p>Change <code>position:absolute;</code> for <code>position:relative;</code>. That&#8217;s it!</p>
<h2>Update: Plugins for WordPress, Drupal, Joomla, Tutorials&#8230;</h2>
<div class="note">It seems this sliding panel has inspired many people. Some of them even have created some plugins for WordPress, Drupal&#8230;:</p>
<ul class="clearfix">
<li class="clearfix"><a href="http://justintadlock.com/archives/2009/06/25/sliding-panel-wordpress-plugin">Sliding Panel: WordPress Plugin</a> by Justin Tadlock.</li>
<li class="clearfix"><a href="http://wordpress.org/extend/plugins/superslider-login/">SuperSlider-Login</a> by Twincascos.</li>
<li class="clearfix"><a title="Making A Cool Login System With PHP, MySQL &amp; jQuery" href="http://tutorialzine.com/2009/10/cool-login-system-php-jquery/" target="_blank">Making A Cool Login System With PHP, MySQL &amp; jQuery</a> by Tutorialzine.com.</li>
<li class="clearfix"><a href="http://www.danielnorton.com/slpjq">SlipJaq &#8211; A Drupal module for a sliding login panel</a> by Daniel Norton</li>
<li class="clearfix"><a href="https://github.com/Aevis/Sliding-Login-Panel">Aevis / Sliding-Login-Panel</a> a Joomla plugin by Aevis</li>
</ul>
<p>Enjoy!</p></div>
<p><em>(<strong>Note:</strong> If you created a plugin based on this script for another CMS, feel free to contact me or leave a comment below and I will add it to this list).</em></p>
]]></content:encoded>
			<wfw:commentRss>http://web-kreation.com/all/nice-clean-sliding-login-panel-built-with-jquery/feed/</wfw:commentRss>
		<slash:comments>603</slash:comments>
		</item>
		<item>
		<title>What’s been keeping me busy?</title>
		<link>http://web-kreation.com/all/what%e2%80%99s-been-keeping-me-busy/</link>
		<comments>http://web-kreation.com/all/what%e2%80%99s-been-keeping-me-busy/#comments</comments>
		<pubDate>Tue, 24 Feb 2009 07:48:26 +0000</pubDate>
		<dc:creator>Jeeremie</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Freebies]]></category>
		<category><![CDATA[theme]]></category>

		<guid isPermaLink="false">http://web-kreation.com/?p=1443</guid>
		<description><![CDATA[As you certainly noticed, I didn’t have much time to post on this blog lately. That’s because I am designing another Wordpress theme for Wordpress 2.7 and it took me longer than I thought. This will be a magazine theme this time and I decided to call it “PigNews” (a funny name for a serious theme). [...]]]></description>
			<content:encoded><![CDATA[<p>As you certainly noticed, I didn’t have much time to post on this blog lately. That’s because I am designing another WordPress theme for WordPress 2.7 and it took me longer than I thought. This will be a magazine theme this time and I decided to call it “PigNews” (a funny name for a serious theme).</p>
<p>I will try to code the site and complete the work this week if I have time. In the meantime, you can <a rel="nofollow" href="http://jeeremie.deviantart.com/art/PigNews-Final-Concept-113958586" target="_blank">preview it</a> on Deviantart and give me your feedbacks there or on this page. At this stage, I will not make any big modification in the theme.</p>
<p><a rel="nofollow" href="http://jeeremie.deviantart.com/art/PigNews-Final-Concept-113958586" target="_blank"><img title="post_pignews_wordpress_theme" src="http://web-kreation.com/wp-content/uploads/2009/02/post_pignews_wordpress_theme.png" alt="" class="aligncenter" /></a></p>
<h2>What’s next?</h2>
<p>As many people requested it, next step will be to upgrade my WP themes (<a href="http://web-kreation.com/wp_yoghourt" target="_blank">Yoghourt</a> &amp; <a href="http://web-kreation.com/demos/NightTransition/" target="_blank">NightTransition</a>) for WordPress 2.7+. I will do them one at a time, starting with Yoghourt.</p>
<p>Many people also asked me to upgrade <a href="http://web-kreation.com/index.php/articles/lightform-free-ajaxphp-contact-form/" target="_blank">LightForm</a>. I am sorry to inform you that will not be possible unless someone wants to contribute to this project or want to make a donation. I went into full time freelancing just recently and if I want to make a living by the end of the year I will have to work really hard. That means less time for me to work on open source projects. I hope you understand.</p>
<p>If you accept to contribute or donate, I will be very happy to put your name and url somewhere on my freebies page for example.</p>
]]></content:encoded>
			<wfw:commentRss>http://web-kreation.com/all/what%e2%80%99s-been-keeping-me-busy/feed/</wfw:commentRss>
		<slash:comments>26</slash:comments>
		</item>
		<item>
		<title>iPhone? What is all this buzz about it?</title>
		<link>http://web-kreation.com/all/iphone-what-is-all-this-buzz-about-it/</link>
		<comments>http://web-kreation.com/all/iphone-what-is-all-this-buzz-about-it/#comments</comments>
		<pubDate>Tue, 24 Feb 2009 07:45:36 +0000</pubDate>
		<dc:creator>Jeeremie</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://web-kreation.com/?p=1437</guid>
		<description><![CDATA[What do I think about the <a rel="nofollow" href="http://www.apple.com/iphone/" target="_blank">iPhone</a>/iPod Touch? I think it is awesome! No, really! I am not the kind of guy who like to play with toys but then my wife bought an iPod Touch to store her music and I got addicted. Design is sleek, touch screen is smooth, and UI is very intuitive. [...]]]></description>
			<content:encoded><![CDATA[<p>What do I think about the <a rel="nofollow" href="http://www.apple.com/iphone/" target="_blank">iPhone</a>/iPod Touch? I think it is awesome! No, really! I am not the kind of guy who like to play with toys but then my wife bought an iPod Touch to store her music and I got addicted. Design is sleek, touch screen is smooth, and UI is very intuitive. It is very fun to surf the internet with it. Of course, the iPhone is not meant to replace a laptop or PC but it is a good alternative when on the road or just to check your mails, read feeds or news.</p>
<p>We’ve seen a lot of smartphones emerging during the last couple of months. Of course, the iPhone was the first one on the market, but then the <a rel="nofollow" href="http://www.t-mobileg1.com/" target="_blank">t-mobile G1</a> and the <a rel="nofollow" href="http://www.palm.com/us/products/phones/pre/" target="_blank">Pre Palm</a> arrived and demonstrated they could be a serious competitor to the iPhone.</p>
<p>According to analysts, almost everyone will possess a smartphone by 2020 and we can easily imagine free Wi-Fi will be everywhere (and not only in Starbucks!). This means that many people will view our sites on a smartphone and this is something to keep in mind when we will design our next website if we don’t want to be left behind.</p>
<h2>But let me introduce you WPtouch</h2>
<p><a title="Turn your wordpress blog into an iPhone application-like experience" rel="nofollow" href="http://www.bravenewcode.com/wptouch/" target="_blank"><img class="alignleft" title="wordpress-on-iphone" src="http://web-kreation.com/wp-content/uploads/2009/02/wordpress-on-iphone.gif" alt="" width="200" height="339" /></a>Luckily, some people at <a title="BraveNewCode" rel="nofollow" href="http://www.bravenewcode.com/" target="_blank">BraveNewCode.com</a> already thought about it and created <a title="Turn your wordpress blog into an iPhone application-like experience" rel="nofollow" href="http://www.bravenewcode.com/wptouch/" target="_blank">WPtouch</a>, a WordPress plugin to turn your blog into an iPhone application-like within a few minutes.</p>
<blockquote><p>“WPtouch automatically transforms your WordPress blog into an iPhone application-like experience when viewed from an iPhone or iPod touch. It comes complete with ajax &amp; effects, and all the standard WordPress blog features: search, login, categories, tags, archives, photos &amp; more. WPtouch also allows for near-complete customization through your WordPress admin.”</p></blockquote>
<p>What a great idea and time-saving for designers! The guys at <a title="BraveNewCode" rel="nofollow" href="http://www.bravenewcode.com/wptouch/" target="_blank">BraveNewCode</a> really did a great job. Chapeau messieurs!</p>
<div class="clearfix"></div>
<h2>iBBDemo &#8211; Blackbaud iPhone Browser Simulator</h2>
<p><img title="ibbdemo - iPhone simulator" src="http://web-kreation.com/wp-content/uploads/2009/02/ibbdemo.jpg" alt="" width="190" height="120" class="alignleft" />If you are going to design for the iPhone, most probably you will need to test your site during the development phase. But what, if you don’t have an iPhone or iPod Touch to do so? Don’t worry! Again, some people thought about it and created <a title="iBBDemo - Blackbaud iPhone Browser Simulator" rel="nofollow" href="http://labs.blackbaud.com/NetCommunity/article?artid=662" target="_blank">iBBDemo</a>, an iPhone Browser simulator to preview your site from your computer. You will have to previously download Safari 3.2+ in order to run iBBDemo.</p>
<p>iBBDemo can be downloaded <a title="iBBDemo - Blackbaud iPhone Browser Simulator" rel="nofollow" href="http://labs.blackbaud.com/NetCommunity/article?artid=662" target="_blank">here</a> and you can watch a screencast <a rel="nofollow" href="http://labs.blackbaud.com/NetCommunity/page.redir?target=http%3a%2f%2flabs.blackbaud.com%2fibbdemo%2fibbdemo.html&amp;srcid=223&amp;erid=0" target="_blank">here</a>.</p>
<p>Well, I hope you find this information useful. Please, feel free to share your thoughts about the iPhone and smartphones in general or leave a comment if you know another interesting iPhone application.</p>
]]></content:encoded>
			<wfw:commentRss>http://web-kreation.com/all/iphone-what-is-all-this-buzz-about-it/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>OneRoom &#8211; Another free WordPress Theme by Web-Kreation</title>
		<link>http://web-kreation.com/all/oneroom-another-free-wordpress-theme-by-web-kreation/</link>
		<comments>http://web-kreation.com/all/oneroom-another-free-wordpress-theme-by-web-kreation/#comments</comments>
		<pubDate>Tue, 10 Feb 2009 09:03:01 +0000</pubDate>
		<dc:creator>Jeeremie</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[Freebies]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Wordpress Themes]]></category>
		<category><![CDATA[download]]></category>
		<category><![CDATA[Themes]]></category>

		<guid isPermaLink="false">http://web-kreation.com/?p=1407</guid>
		<description><![CDATA[Finally, it is here! I am very pleased to release my new Wordpress theme, "<a href="http://web-kreation.com/demos/oneroom" target="_blank" title="View Theme"><strong>OneRoom</strong></a>", a three columns theme with fixed width and widget-ready. I wanted to design a new theme months ago but actually never had time to work on it. And then, I was moving to Thailand and [...]]]></description>
			<content:encoded><![CDATA[<p>Finally, it is here! </p>
<p>I am very pleased to release my new WordPress theme, &#8220;<a href="http://web-kreation.com/demos/oneroom" target="_blank" title="View Theme"><strong>OneRoom</strong></a>&#8220;, a three columns theme with fixed width and widget-ready. </p>
<p>I wanted to design a new theme months ago but actually never had time to work on it. And then, I was moving to Thailand and another couple of weeks past. But now I have settled in Thailand and had no reasons to postpone that job any longer. </p>
<p>I hope you will like this theme as much as I do. </p>
<h2>Preview /Download</h2>
<p><a href="http://web-kreation.com/demos/oneroom"><img src="http://web-kreation.com/wp-content/uploads/2009/02/oneroom.jpg" alt="" title="oneroom" class="aligncenter size-full wp-image-1411" /></a></p>
<div class="clearfix"><a class="btn-big view" href="http://web-kreation.com/demos/oneroom" target="_blank" title="View Theme"><span>Demo</span></a>Note: There is a file embedded within this post, please visit this post to download the file.</div>
<p>This theme has been tested in all the major Web browsers (Firefox, IE6+, Opera, Google Chrome, Safari). However, if you notice a bug, report it by leaving a comment below. Thanks!</p>
<h2>Features</h2>
<ul>
<li>Widgetized Sidebars</li>
<li>Built-In Author Section in Sidebar</li>
<li>Built-in Gravatar Support for Comments</li>
<li>Custom 404 error page</li>
<li>Built-In Banner Ad Blocks</li>
<li>Left Sidebar for PostMetadatas</li>
<li>And more.</li>
</ul>
<h2>Requirements</h2>
<p>- WordPress 2.7+</p>
<h2>Usage</h2>
<p>If you need help with editing this theme or logo, consult the <a href="http://web-kreation.com/demos/oneroom/index.php/usage/">Usage page</a>.</p>
<h2>License</h2>
<p>Read about it <a href="http://web-kreation.com/demos/oneroom/index.php/license/" title="Read the License">here &raquo;</a></p>
<h2>I would like to hear from you</h2>
<p>So, what do you think about this theme? Do you like it? Do you hate it? Is there something you would like to be changed or improved? </p>
<h2>Changelog</h2>
<p>See it <a href="http://web-kreation.com/demos/oneroom/index.php/animals/oneroom-free-wordpress-theme-by-web-kreation/" title="Changelog">here &raquo;</a></p>
]]></content:encoded>
			<wfw:commentRss>http://web-kreation.com/all/oneroom-another-free-wordpress-theme-by-web-kreation/feed/</wfw:commentRss>
		<slash:comments>128</slash:comments>
		</item>
		<item>
		<title>WordPress.tv just launched</title>
		<link>http://web-kreation.com/all/wordpresstv-just-launched/</link>
		<comments>http://web-kreation.com/all/wordpresstv-just-launched/#comments</comments>
		<pubDate>Wed, 28 Jan 2009 09:13:05 +0000</pubDate>
		<dc:creator>Jeeremie</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[videos]]></category>

		<guid isPermaLink="false">http://web-kreation.com/?p=1331</guid>
		<description><![CDATA[Matt Mullenweg and his team launched <a target="_blank" rel="nofollow" href="http://wordpress.tv">Wordpress.TV</a> a few days ago, a "home to tutorials for both WordPress self-installs and WordPress.com to help you get blogging fast and hassle-free". ]]></description>
			<content:encoded><![CDATA[<p>Matt Mullenweg and his team launched <a target="_blank" rel="nofollow" href="http://wordpress.tv">WordPress.TV</a> a few days ago, a &#8220;home to tutorials for both WordPress self-installs and WordPress.com to help you get blogging fast and hassle-free&#8221;. Their tutorials cover most of the WordPress basics plus some advanced technics to get the most of your Worpress blog.</p>
<p>I picked up some very interesting tutorials for you to watch:</p>
<h2>The WordPress.com dashboard &#8211; introduction</h2>
<p>The WordPress.com dashboard is easy to set-up, customize and use the way you want to. This video walks you through it’s features.</p>
<p><embed class="aligncenter" src="http://v.wordpress.com/TNpNObS3" type="application/x-shockwave-flash" width="400" height="224" allowscriptaccess="always" allowfullscreen="true"></embed></p>
<h2>Writing and publishing a post</h2>
<p>The thing you’ll probably be doing most with WordPress &#8211; writing and publishing posts &#8211; is covered in this short flyby tutorial.</p>
<p><embed class="aligncenter" src="http://v.wordpress.com/a81PKPUD" type="application/x-shockwave-flash" width="400" height="224" allowscriptaccess="always" allowfullscreen="true"></embed></p>
<h2>Setting up the Gravatar plugin for WordPress 2.7</h2>
<p>In the third of three videos on Gravatars, Derrick Siu of the Net Experiment explains how to add the Gravatar plugin to your self-installed WordPress blog. While Gravatar is now included in-core, the plugin offers some extra functionality.</p>
<p><embed class="aligncenter" src="http://blip.tv/play/AeSzZJLVYw" type="application/x-shockwave-flash" width="400" height="224" allowscriptaccess="always" allowfullscreen="true"></embed> </p>
<h2>Previewing and activating themes</h2>
<p>If you’re not sure about a theme and want to try it on for size before wrapping your live blog in it, that’s easy enough to do. Here’s how.</p>
<p><embed class="aligncenter" src="http://v.wordpress.com/j6hWXnPD" type="application/x-shockwave-flash" width="400" height="224" allowscriptaccess="always" allowfullscreen="true"></embed></p>
<h2>Moderating recent comments from the dashboard</h2>
<p>If you want to get a quick glance at your latest comments, or moderate them right from the dashboard, this video will walk you through the feature.</p>
<p><embed class="aligncenter" src="http://v.wordpress.com/tm75AUjW" type="application/x-shockwave-flash" width="400" height="224" allowscriptaccess="always" allowfullscreen="true"></embed></p>
<h2>How to create a static frontpage for your blog</h2>
<p>If you’d rather have your landing page display something other than your latest blog posts, WordPress makes that easy. This video walks you through the process of setting up separate blog and front pages.</p>
<p><embed class="aligncenter" src="http://v.wordpress.com/MLOHB4jk" type="application/x-shockwave-flash" width="400" height="224" allowscriptaccess="always" allowfullscreen="true"></embed></p>
<h2>Using the WordPress.com Video Player &#8211; A DemoGirl Tour</h2>
<p>The awesome DemoGirl (AKA Molly McDonald) takes us on a tour of the WordPress.com video player, available for WordPress.com users via the optional Space upgrade.</p>
<p><embed class="aligncenter" src="http://v.wordpress.com/BDrqedFr" type="application/x-shockwave-flash" width="400" height="300" allowscriptaccess="always" allowfullscreen="true"></embed></p>
<p>&#8230; and many more tutorials on <a target="_blank" rel="nofollow" href="http://wordpress.tv">WordPress.TV</a>. </p>
]]></content:encoded>
			<wfw:commentRss>http://web-kreation.com/all/wordpresstv-just-launched/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>WordPress 2.6+ &#8211; How to Display Home Page in the Navigation Bar?</title>
		<link>http://web-kreation.com/all/wordpress-2-6-how-to-display-home-page-in-the-navigation-bar/</link>
		<comments>http://web-kreation.com/all/wordpress-2-6-how-to-display-home-page-in-the-navigation-bar/#comments</comments>
		<pubDate>Mon, 17 Nov 2008 11:06:16 +0000</pubDate>
		<dc:creator>Jeeremie</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[pages]]></category>
		<category><![CDATA[posts]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://web-kreation.com/?p=1141</guid>
		<description><![CDATA[In this tutorial, we will see how to display the home page link (usually the posts page) in the main navigation of my free Wordpress themes: <a href="http://web-kreation.com/wp_yoghourt/">Yoghourt</a> and <a href="http://web-kreation.com/demos/NightTransition/">Night Transition</a>.]]></description>
			<content:encoded><![CDATA[<p>Today, <a href="http://web-kreation.com/index.php/wordpress/night-transition-free-wordpress-theme-2/#comment-2610">Glen Wilson</a> left a comment on my site:</p>
<p><em>&#8220;Hey, using your website [<a href="http://web-kreation.com/index.php/wordpress/night-transition-free-wordpress-theme-2">Night Transition</a> - Free WordPress Theme] &#8211; Love it! Your a genius… so forgive me for my lack of genius, but I can&#8217;t find out how to make a home button in the nav panel work properly…?&#8221;</em></p>
<p>Well, Don&#8217;t worry Glen. I am not a genius either. It took me a while to figure it out and almost none of the people using my free WordPress themes knows how to display a link to the home page in the navigation bar. </p>
<p>So let me explain you. For the sake of this tutorial, we will consider that your front page is your posts page which is the default configuration in WordPress.</p>
<h2>1- Write: Create a New Page</h2>
<p>First, you must log into WordPress and create a new page. Fill &#8220;Blog&#8221; in title and leave the content blank. If you want your page to appear first in your navigation bar, scroll down to &#8220;Page Order&#8221; and change the default value to a smaller number (-9 for example).</p>
<p><img src="http://web-kreation.com/wp-content/uploads/2008/11/write_blog_page.jpg" alt="" title="write_blog_page" class="aligncenter size-full wp-image-1143" /> </p>
<h2>2- Settings: Front Page Displays</h2>
<p>Now, go to <strong>Settings</strong> and select <strong>Reading</strong>. Scroll down to &#8220;Front Page Displays&#8221; and check &#8220;A Static Page&#8221;. In the &#8220;Posts Page&#8221; drop down list, select your blog page. (Don&#8217;t select anything as the &#8220;front page&#8221; unless your front page is not your posts page). </p>
<p><img src="http://web-kreation.com/wp-content/uploads/2008/11/reading_settings_front_page_displays.jpg" alt="" title="reading_settings_front_page_displays" width="419" height="271" class="alignnone size-full wp-image-1146" /></p>
<p>Your blog page should now appear in your navigation bar. <img src='http://web-kreation.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Leave a comment if you have any question. </p>
]]></content:encoded>
			<wfw:commentRss>http://web-kreation.com/all/wordpress-2-6-how-to-display-home-page-in-the-navigation-bar/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>WordPress 2.7 introduces keyboard shorcuts for comments</title>
		<link>http://web-kreation.com/all/wordpress-27-introduces-keyboard-shorcuts-for-comments/</link>
		<comments>http://web-kreation.com/all/wordpress-27-introduces-keyboard-shorcuts-for-comments/#comments</comments>
		<pubDate>Wed, 05 Nov 2008 13:09:39 +0000</pubDate>
		<dc:creator>Jeeremie</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://web-kreation.com/?p=1116</guid>
		<description><![CDATA[With <a href="http://codex.wordpress.org/Version_2.7" target=_blank" rel="nofollow">Wordpress version 2.7</a>, we have seen a bunch of new features that make it the CMS of choice. One of them is the ability to browse and moderate comments via keyboard shortcuts. ]]></description>
			<content:encoded><![CDATA[<p>With <a href="http://codex.wordpress.org/Version_2.7" target=_blank" rel="nofollow">WordPress version 2.7</a>, we have seen a bunch of new features that make WordPress the CMS of choice . One of them is the ability to browse and moderate comments via keyboard shortcuts. </p>
<p>According to the <a href="http://codex.wordpress.org/Keyboard_Shortcuts" target=_blank" rel="nofollow">wordpress codex</a>, here&#8217;s the keyboard shortcuts you can use in WordPress 2.7:</p>
<h2>The Meaning of Selected</h2>
<p>The keyboard shortcuts are used for navigation and for actions. For any action to affect a comment, that comment must be first selected. The comment that is considered selected is indicated with a light-blue background. By default, no comment is selected, so, you will need to press either the letter <strong>j</strong> key, or letter <strong>k</strong> key, to start navigating.</p>
<h2>Using Keyboard Shortcuts to Navigate</h2>
<p>Navigating comments is accomplished with the <strong>j</strong> and <strong>k</strong> keys. When you first visit the Comments page, no comments is selected, so, first press the letter <strong>j</strong>, or the letter <strong>k</strong>, to select the first comment. After that, just press the letter <strong>j</strong> to move the select to the next comment.</p>
<ul>
<li>Pressing<strong> j</strong> moves the current selection (light-blue background) down.</li>
<li>Pressing <strong>k</strong> moves the current selection (light-blue background) up. </li>
</ul>
<p>Note that if you come to the bottom of a page of comments and press j again, you will be taken to the next page and the first comment of that next page will be selected. Likewise, pressing k at the top of a comment page will zoom you to the previous page, selecting the comment at the bottom of that previous page. This makes it very easy to navigate through a long list of comments to perform the necessary actions.</p>
<h2>Using Keyboard Shortcuts to Perform Actions</h2>
<p>For one of these actions to affect a comment, make sure the comment is first selected (see above).</p>
<ul>
<li>Pressing <strong>a</strong> approves the currently selected comment.</li>
<li>Pressing<strong> s</strong> marks the current comment as spam.</li>
<li>Pressing <strong>d</strong> deletes the current comment.</li>
</ul>
<p>Note that those first three actions (and most common actions) use the three left-most keys of the home row of a <em>QWERTY</em> keyboard. It is recommended that you shift your hand to the left so that your index finger is on <strong>d</strong> instead of on <strong>f</strong>, as is normal.</p>
<ul>
<li>Pressing <strong>u</strong> unapproves the currently selected comment, placing it back into moderation.</li>
<li>Pressing <strong>r</strong> initiates an inline reply to the current comment (you can press Esc to cancel the reply).</li>
<li>Pressing <strong>q</strong> activates &#8220;Quick Edit&#8221; which allows for rapid inline editing of the current comment. </li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://web-kreation.com/all/wordpress-27-introduces-keyboard-shorcuts-for-comments/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>WordPress &#8211; Exclude pages from search results</title>
		<link>http://web-kreation.com/all/wordpress-exclude-pages-from-search-results/</link>
		<comments>http://web-kreation.com/all/wordpress-exclude-pages-from-search-results/#comments</comments>
		<pubDate>Sat, 01 Nov 2008 08:46:39 +0000</pubDate>
		<dc:creator>Jeeremie</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[search]]></category>

		<guid isPermaLink="false">http://web-kreation.com/?p=737</guid>
		<description><![CDATA[One way to exclude pages from search results is to install the <a href="http://www.codehooligans.com/2008/04/27/simply-exclude-plugin/" target="_blank">Simply-Exclude plugin</a>. Another solution I found to work pretty well is to add a filter in functions.php to only include posts categories instead of excluding pages from search results:]]></description>
			<content:encoded><![CDATA[<p>One way to exclude pages from search results is to install the <a href="http://www.codehooligans.com/2008/04/27/simply-exclude-plugin/" target="_blank">Simply-Exclude plugin</a>. Another solution I found to work pretty well is to add a filter in functions.php to only include posts categories instead of excluding pages from search results:</p>

<div class="wp_codebox_msgheader wp_codebox_hide"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p737code11'); return false;">View Code</a> PHP</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p73711"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
</pre></td><td class="code" id="p737code11"><pre class="php" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">// Remove pages from search</span>
<span style="color: #000000; font-weight: bold;">function</span> mySearchPostsFilter<span style="color: #009900;">&#40;</span><span style="color: #000088;">$query</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$query</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">is_search</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
<span style="color: #000088;">$query</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">set</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'cat'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'12,14,16,17,18'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// your category IDs</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #b1b100;">return</span> <span style="color: #000088;">$query</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
add_filter<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'pre_get_posts'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'mySearchPostsFilter'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>That&#8217;s it! Replace the posts category IDs (&#8217;12,14,16,17,18&#8242;) by your owns and it should work.</p>
]]></content:encoded>
			<wfw:commentRss>http://web-kreation.com/all/wordpress-exclude-pages-from-search-results/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>4 Ways to Exclude WordPress Category from RSS Feeds</title>
		<link>http://web-kreation.com/all/4-ways-to-exclude-wordpress-category-from-rss-feeds/</link>
		<comments>http://web-kreation.com/all/4-ways-to-exclude-wordpress-category-from-rss-feeds/#comments</comments>
		<pubDate>Mon, 20 Oct 2008 04:00:27 +0000</pubDate>
		<dc:creator>Jeeremie</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://web-kreation.com/?p=524</guid>
		<description><![CDATA[Lately, I wanted to exclude a few categories from Wordpress Feeds. A search on Wordpress didn't return any valuable information. So, I searched the Google database. Here's what I found:]]></description>
			<content:encoded><![CDATA[<p>Lately, I wanted to exclude a few categories from WordPress Feeds. A search on WordPress didn&#8217;t return any valuable information. So, I searched the Google database. Here&#8217;s what I found:</p>
<div class="clearfix"></div>
<h2>1- Change the feed URL</h2>
<p>The most common and maybe easier way to do so is to change your feed structure. In the default WordPress theme, the RSS link (in footer.php) is:</p>

<div class="wp_codebox_msgheader wp_codebox_hide"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p524code12'); return false;">View Code</a> PHP</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p52412"><td class="line_numbers"><pre>1
</pre></td><td class="code" id="p524code12"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&lt;?php bloginfo('rss2_url'); ?&gt;&quot;</span><span style="color: #339933;">&gt;</span>Entries <span style="color: #009900;">&#40;</span>RSS<span style="color: #009900;">&#41;</span><span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;</span></pre></td></tr></table></div>

<p>You can exclude any category by appending a query string to the feed URL, like this:</p>

<div class="wp_codebox_msgheader wp_codebox_hide"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p524code13'); return false;">View Code</a> PHP</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p52413"><td class="line_numbers"><pre>1
</pre></td><td class="code" id="p524code13"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&lt;?php bloginfo('url'); ?&gt;/feed?cat=-3&amp;cat=-12&quot;</span><span style="color: #339933;">&gt;</span>Entries <span style="color: #009900;">&#40;</span>RSS<span style="color: #009900;">&#41;</span><span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;</span></pre></td></tr></table></div>

<p>&#8216;<strong>12</strong>&#8216; in this example is your category ID. In older version of WordPress, the category IDs were displayed in <em>Manage</em> -> <em>Categories</em>, next to category name. However, in WordPress 2.5+, the WordPress Gurus removed this feature (only god knows why). To identify the category ID, mouseover the category name to see its ID in the status bar of your browser. Otherwise, you can install <a href="http://www.schloebe.de/wordpress/reveal-ids-for-wp-admin-25-plugin/" title="Reveal IDs for WP Admin 2.5" target="_blank" rel="nofollow">Reveal IDs for WP Admin 2.5</a> plugin to reveal the post, page and category IDs.</p>
<p>A more common PHP structure might work as well:</p>

<div class="wp_codebox_msgheader wp_codebox_hide"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p524code14'); return false;">View Code</a> PHP</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p52414"><td class="line_numbers"><pre>1
</pre></td><td class="code" id="p524code14"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&lt;?php bloginfo('url'); ?&gt;/feed=rss2&amp;cat=-3,-12&quot;</span><span style="color: #339933;">&gt;</span>Entries <span style="color: #009900;">&#40;</span>RSS<span style="color: #009900;">&#41;</span><span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;</span></pre></td></tr></table></div>

<p>If you are using RSS2, your code will be:</p>

<div class="wp_codebox_msgheader wp_codebox_hide"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p524code15'); return false;">View Code</a> PHP</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p52415"><td class="line_numbers"><pre>1
</pre></td><td class="code" id="p524code15"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&lt;?php bloginfo('url'); ?&gt;/feed=rss2&amp;cat=-3&amp;cat=-12&quot;</span><span style="color: #339933;">&gt;</span>Entries <span style="color: #009900;">&#40;</span>RSS <span style="color: #cc66cc;">2</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;</span></pre></td></tr></table></div>

<p>Depending on your permalink structure, you might need to add index.php to your feed url:</p>

<div class="wp_codebox_msgheader wp_codebox_hide"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p524code16'); return false;">View Code</a> PHP</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p52416"><td class="line_numbers"><pre>1
</pre></td><td class="code" id="p524code16"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&lt;?php bloginfo('url'); ?&gt;/index.php?feed=rss2&amp;cat=-5&quot;</span><span style="color: #339933;">&gt;</span>Entries <span style="color: #009900;">&#40;</span>RSS <span style="color: #cc66cc;">2</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;</span></pre></td></tr></table></div>

<h2>2- Exclude categories in your template’s functions.php file</h2>
<p><a href="http://www.jangro.com/a/2008/03/01/excluding-posts-from-your-blog-feed/" title="exclude category from WordPress feed" target="_blank" rel="nofollow">Jangro</a> explains how to exclude a category from feed by adding a few lines of code to the template’s functions.php file:</p>

<div class="wp_codebox_msgheader wp_codebox_hide"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p524code17'); return false;">View Code</a> PHP</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p52417"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
</pre></td><td class="code" id="p524code17"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">function</span> myFeedExcluder<span style="color: #009900;">&#40;</span><span style="color: #000088;">$query</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
 <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$query</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">is_feed</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
   <span style="color: #000088;">$query</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">set</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'cat'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'-12'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
 <span style="color: #009900;">&#125;</span>
<span style="color: #b1b100;">return</span> <span style="color: #000088;">$query</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
add_filter<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'pre_get_posts'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'myFeedExcluder'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>This code will keep the category ID=&#8221;12&#8243; out of the feed. If you want to exclude more than one category, put them in separated by commas &#8216;-12,-25,-33&#8242;.</p>
<h2>3- Add a plugin to WordPress</h2>
<p>If you are not into coding, you can install the <a href="http://www.planetmike.com/plugins/ultimate-category-excluder/" target="_blank">Ultimate Category Excluder</a> plugin. It allows to exclude any categories from your front page, archives, and feeds. Once you installed it, go to the Category Exclusion page in your admin panel to exclude a category by selecting one. That is that easy.</p>
<p>You can also install the <a href="http://coffee2code.com/wp-plugins/stealth-publish/" target="_blank">Stealth Publish plugin</a> to exclude a specific post from being published in feeds. </p>
<h2>4- Exclude category from RSS feeds in FeedBurner</h2>
<p>If like me you are using <a href="http://www.feedburner.com" target="_blank" rel="nofollow" title="FeedBurner">FeedBurner</a>, go to dashboard and click &#8220;Edit Feed Details&#8221;. In the field &#8220;Original Feed&#8221;, enter the feed URL with the categories you want to exclude as explained in first step above.</p>
<p><img src="http://web-kreation.com/wp-content/uploads/2008/09/feedburner.jpg" alt="" title="feedburner - exclude category from rss feed" class="alignleft size-full wp-image-767" /></p>
<p></p>
<h2>Conclusion</h2>
<p>The methods described above would be interesting to implement if you write about two (or more) different topics on your site. Let&#8217;s say you write about Linux (which would be ID=&#8221;1&#8243; in our example below) and Windows (ID=&#8221;2&#8243;). Some of your readers might want to read your Linux articles but not the Windows ones, and vice-versa. Thus, you could create two feed links, the first one excluding Windows feeds for your Linux reader and the second one the Linux feeds:</p>

<div class="wp_codebox_msgheader wp_codebox_hide"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p524code18'); return false;">View Code</a> HTML4STRICT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p52418"><td class="line_numbers"><pre>1
2
</pre></td><td class="code" id="p524code18"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://yourdomain.com/feed?cat=-2&quot;</span>&gt;</span>Subscribe to Linux Feed<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;</span>
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://yourdomain.com/feed?cat=-1&quot;</span>&gt;</span>Subscribe to Windows Feed<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;</span></pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://web-kreation.com/all/4-ways-to-exclude-wordpress-category-from-rss-feeds/feed/</wfw:commentRss>
		<slash:comments>20</slash:comments>
		</item>
		<item>
		<title>wp_yoghourt v2.0 &#8211; new version release</title>
		<link>http://web-kreation.com/all/wp_yoghourt-v20-new-version-release/</link>
		<comments>http://web-kreation.com/all/wp_yoghourt-v20-new-version-release/#comments</comments>
		<pubDate>Sun, 17 Aug 2008 11:43:58 +0000</pubDate>
		<dc:creator>Jeeremie</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[Freebies]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Wordpress Themes]]></category>

		<guid isPermaLink="false">http://web-kreation.com/?p=539</guid>
		<description><![CDATA[I have changed a few things in this new Yoghourt Wordpress theme release. It now includes Avatars and tags. Besides, I have fixed a few minor bugs that some of you reported and I have improved the header which - I must say - sucked! And, most important, it works in Wordpress 2.6+.]]></description>
			<content:encoded><![CDATA[<p>I have changed a few things in this new Yoghourt WordPress theme release. It now includes Avatars and tags. Besides, I have fixed a few minor bugs that some of you reported and I have improved the header which &#8211; I must say &#8211; sucked! And, most important, it works in WordPress 2.6+.</p>
<h2>Preview / Download</h2>
<div class="clearfix"><a class="btn-big view" href="http://web-kreation.com/wp_yoghourt/" title="Preview Yoghourt"><span>Demo</span></a>Note: There is a file embedded within this post, please visit this post to download the file.</div>
<h2>License</h2>
<p>Since I want to submit this theme to WordPress theme directory, I had to change the Common Creative License 2.5 for a <a href="http://www.opensource.org/licenses/gpl-license.php" target="_blank">GPL license</a>. </p>
]]></content:encoded>
			<wfw:commentRss>http://web-kreation.com/all/wp_yoghourt-v20-new-version-release/feed/</wfw:commentRss>
		<slash:comments>20</slash:comments>
		</item>
		<item>
		<title>Implement a sliding login panel in to WordPress with Mootools</title>
		<link>http://web-kreation.com/all/add-a-showhide-login-panel-to-your-wordpress-theme-using-mootools/</link>
		<comments>http://web-kreation.com/all/add-a-showhide-login-panel-to-your-wordpress-theme-using-mootools/#comments</comments>
		<pubDate>Tue, 12 Aug 2008 11:13:35 +0000</pubDate>
		<dc:creator>Jeeremie</dc:creator>
				<category><![CDATA[AJAX / Javascript]]></category>
		<category><![CDATA[All]]></category>
		<category><![CDATA[Forms]]></category>
		<category><![CDATA[Freebies]]></category>
		<category><![CDATA[HTML / CSS]]></category>
		<category><![CDATA[Mootools]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://web-kreation.com/?p=398</guid>
		<description><![CDATA[This is the second part of my tutorial <a href="http://web-kreation.com/index.php/tutorials/nice-login-and-signup-panel-using-mootools-12/" title="Show/hide a nice Login Panel using Mootools 1.2">"Show/hide a nice Login Panel using Mootools 1.2"</a>. In this tutorial, we will now see how to add the show/hide login panel into your Wordpress theme, pretty much like what I did on top of this page (click "login" on the upper-right corner to open the login panel). Before reading any further, <a href="http://web-kreation.com/index.php/tutorials/nice-login-and-signup-panel-using-mootools-12/" title="Show/hide a nice Login Panel using Mootools 1.2">read my previous post</a> and come back here when you are done. ]]></description>
			<content:encoded><![CDATA[<p>This is the second part of my tutorial <a href="http://web-kreation.com/index.php/tutorials/nice-login-and-signup-panel-using-mootools-12/" title="Show/hide a nice Login Panel using Mootools 1.2">&#8220;Sliding Login Panel With Mootools 1.2&#8243;</a>. In this tutorial, we will now see how to add the show/hide login panel into your WordPress theme, pretty much like what I did on top of this page (click &#8220;login&#8221; on the upper-right corner to open the login panel). Before reading any further, <a href="http://web-kreation.com/index.php/tutorials/nice-login-and-signup-panel-using-mootools-12/" title="Show/hide a nice Login Panel using Mootools 1.2">read my previous post</a> and come back here when you are done. </p>
<h2>The end result:</h2>
<p>Here&#8217;s what we are going to achieve today:<br />
<img src="http://web-kreation.com/wp-content/uploads/2008/08/show-hide_login_panel_wordpress.jpg" alt="Show/hide login panel in WordPress using Mootools 1.2" title="show-hide_login_panel_wordpress" class="aligncenter noborder size-full wp-image-399" /></p>
<h2>Step 1: The scripts and images</h2>
<p>If you haven&#8217;t done it yet, download the source code on my previous tutorial:</p>
<div class="clearfix">Note: There is a file embedded within this post, please visit this post to download the file.</div>
<p>Copy the &#8220;js&#8221; folder (all of it!) and paste it in your theme folder (for the sake of this tutorial, we will use the &#8220;defaut&#8221; WordPress theme). The path to your &#8220;js&#8221; folder should be something like http://yoursite.com/wp-content/themes/default/js/. </p>
<p>Copy all the images and save them in the wp-content/themes/default/images/.</p>
<h2>Step 2: The Javascript</h2>
<p>Open header.php and add the code below in the &lt;head&gt; section:</p>

<div class="wp_codebox_msgheader wp_codebox_hide"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p398code19'); return false;">View Code</a> HTML4STRICT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p39819"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
</pre></td><td class="code" id="p398code19"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/head.html"><span style="color: #000000; font-weight: bold;">head</span></a>&gt;</span>
...
<span style="color: #808080; font-style: italic;">&lt;!-- Mootools CORE --&gt;</span>
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/javascript&quot;</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&lt;?php bloginfo('template_url'); ?&gt;</span></span>/js/mootools-1.2-core-yc.js&quot; charset=&quot;utf-8&quot;&gt;<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a>&gt;</span>
<span style="color: #808080; font-style: italic;">&lt;!-- Mootools MORE --&gt;</span>
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/javascript&quot;</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&lt;?php bloginfo('template_url'); ?&gt;</span></span>/js/mootools-1.2-more.js&quot; charset=&quot;utf-8&quot;&gt;<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a>&gt;</span>
<span style="color: #009900;">&lt;?php wp_head<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>; ?&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/head.html"><span style="color: #000000; font-weight: bold;">head</span></a>&gt;</span></pre></td></tr></table></div>

<h2>Step 3: The HTML/PHP</h2>
<p>Now add this code right after the &lt;body&gt; tag <small class="grey">(click on [+] to expand the code)</small>:</p>

<div class="wp_codebox_msgheader wp_codebox_hide"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p398code20'); return false;">View Code</a> HTML4STRICT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p39820"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
</pre></td><td class="code" id="p398code20"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/body.html"><span style="color: #000000; font-weight: bold;">body</span></a>&gt;</span>
<span style="color: #808080; font-style: italic;">&lt;!-- Login --&gt;</span>
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;login&quot;</span>&gt;</span>
	<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;loginContent&quot;</span>&gt;</span>
		<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/form.html"><span style="color: #000000; font-weight: bold;">form</span></a> <span style="color: #000066;">action</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&lt;?php bloginfo('url') ?&gt;</span></span>/wp-login.php&quot; method=&quot;post&quot;&gt;
			<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/label.html"><span style="color: #000000; font-weight: bold;">label</span></a> <span style="color: #000066;">for</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;log&quot;</span>&gt;&lt;<a href="http://december.com/html/4/element/b.html"><span style="color: #000000; font-weight: bold;">b</span></a>&gt;</span>Username: <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/b.html"><span style="color: #000000; font-weight: bold;">b</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/label.html"><span style="color: #000000; font-weight: bold;">label</span></a>&gt;</span>
			<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/input.html"><span style="color: #000000; font-weight: bold;">input</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;field&quot;</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text&quot;</span> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;log&quot;</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;log&quot;</span> <span style="color: #000066;">value</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&lt;?php echo wp_specialchars(stripslashes($user_login), 1) ?&gt;</span></span>&quot; size=&quot;23&quot; /&gt;
			<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/label.html"><span style="color: #000000; font-weight: bold;">label</span></a> <span style="color: #000066;">for</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;pwd&quot;</span>&gt;&lt;<a href="http://december.com/html/4/element/b.html"><span style="color: #000000; font-weight: bold;">b</span></a>&gt;</span>Password:<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/b.html"><span style="color: #000000; font-weight: bold;">b</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/label.html"><span style="color: #000000; font-weight: bold;">label</span></a>&gt;</span>
			<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/input.html"><span style="color: #000000; font-weight: bold;">input</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;field&quot;</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;password&quot;</span> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;pwd&quot;</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;pwd&quot;</span> <span style="color: #000066;">size</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;23&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span>
			<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/input.html"><span style="color: #000000; font-weight: bold;">input</span></a> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;submit&quot;</span> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;submit&quot;</span> <span style="color: #000066;">value</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;button_login&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span>
			<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/input.html"><span style="color: #000000; font-weight: bold;">input</span></a> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;hidden&quot;</span> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;redirect_to&quot;</span> <span style="color: #000066;">value</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&lt;?php echo $_SERVER['REQUEST_URI']; ?&gt;</span></span>&quot;/&gt;
		<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/form.html"><span style="color: #000000; font-weight: bold;">form</span></a>&gt;</span>
		<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;left&quot;</span>&gt;</span>
        <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/label.html"><span style="color: #000000; font-weight: bold;">label</span></a> <span style="color: #000066;">for</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;rememberme&quot;</span>&gt;&lt;<a href="http://december.com/html/4/element/input.html"><span style="color: #000000; font-weight: bold;">input</span></a> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;rememberme&quot;</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;rememberme&quot;</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;rememberme&quot;</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;checkbox&quot;</span> <span style="color: #000066;">checked</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;checked&quot;</span> <span style="color: #000066;">value</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;forever&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span> Remember me<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/label.html"><span style="color: #000000; font-weight: bold;">label</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span>
		<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;right&quot;</span>&gt;</span>Not a member? <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&lt;?php bloginfo('url') ?&gt;</span></span>/wp-register.php&quot;&gt;Register<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;</span> | <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&lt;?php bloginfo('url') ?&gt;</span></span>/wp-login.php?action=lostpassword&quot;&gt;Lost your password?<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span>
	<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;loginClose&quot;</span>&gt;&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#&quot;</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;closeLogin&quot;</span>&gt;</span>Close Panel<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span> <span style="color: #808080; font-style: italic;">&lt;!-- /login --&gt;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">&lt;!-- Start top Navigation --&gt;</span>
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;top&quot;</span>&gt;</span>
<span style="color: #009900;">&lt;?php global $user_ID, $user_identity, $user_level ?&gt;</span>
<span style="color: #009900;">&lt;?php if <span style="color: #66cc66;">&#40;</span> $user_ID <span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>  ?&gt;</span>
<span style="color: #808080; font-style: italic;">&lt;!-- If users logged in, display the dashboard navigation: --&gt;</span>
<span style="color: #808080; font-style: italic;">&lt;!-- Admin navigation --&gt;</span>
	<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/ul.html"><span style="color: #000000; font-weight: bold;">ul</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;login&quot;</span>&gt;</span>
		<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;left&quot;</span>&gt;</span><span style="color: #ddbb00;">&amp;nbsp;</span><span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span>
		<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&lt;?php bloginfo('url') ?&gt;</span></span>/wp-admin/&quot;&gt;Dashboard<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span>
&nbsp;
	<span style="color: #009900;">&lt;?php if <span style="color: #66cc66;">/</span>* if is admin, display menu below *<span style="color: #66cc66;">/</span> <span style="color: #66cc66;">&#40;</span> $user_level &gt;</span>= 1 ) : ?&gt;
		<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span>|<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span>
		<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&lt;?php bloginfo('url') ?&gt;</span></span>/wp-admin/post-new.php&quot;&gt;Write article<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span>
&nbsp;
		<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span>|<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span>
		<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&lt;?php bloginfo('url') ?&gt;</span></span>/wp-admin/edit.php&quot;&gt;Manage Posts<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span>
&nbsp;
		<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span>|<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span>
		<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&lt;?php bloginfo('url') ?&gt;</span></span>/wp-admin/edit-pages.php&quot;&gt;Manage Pages<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span>
&nbsp;
		<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span>|<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span>
		<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&lt;?php bloginfo('url') ?&gt;</span></span>/wp-admin/plugins.php&quot;&gt;Plugins<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span>
	<span style="color: #009900;">&lt;?php endif <span style="color: #66cc66;">//</span> $user_level &gt;</span>= 1 ?&gt;
&nbsp;
		<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span>|<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span>
		<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&lt;?php bloginfo('url') ?&gt;</span></span>/wp-admin/profile.php&quot;&gt;My Profile<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span>
&nbsp;
		<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span>|<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span>
		<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&lt;?php bloginfo('url') ?&gt;</span></span>/wp-login.php?action=logout<span style="color: #ddbb00;">&amp;amp;</span>redirect_to=<span style="color: #009900;">&lt;?php echo urlencode<span style="color: #66cc66;">&#40;</span>$_SERVER<span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">'REQUEST_URI'</span><span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">&#41;</span> ?&gt;</span>&quot;&gt;Log Out<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/ul.html"><span style="color: #000000; font-weight: bold;">ul</span></a>&gt;</span> <span style="color: #808080; font-style: italic;">&lt;!-- / Admin Navigation --&gt;</span>
&nbsp;
<span style="color: #009900;">&lt;?php <span style="color: #66cc66;">&#125;</span> elseif <span style="color: #66cc66;">&#40;</span>get_option<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">'users_can_register'</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span> ?&gt;</span>
<span style="color: #808080; font-style: italic;">&lt;!--Toggle effect (show/hide Login form) --&gt;</span>
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/javascript&quot;</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&lt;?php bloginfo('template_url'); ?&gt;</span></span>/js/fx.slide.js&quot;&gt;<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a>&gt;</span>
&nbsp;
	<span style="color: #808080; font-style: italic;">&lt;!-- ... else, display user navigation below: --&gt;</span>
	<span style="color: #808080; font-style: italic;">&lt;!-- login --&gt;</span>
	<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/ul.html"><span style="color: #000000; font-weight: bold;">ul</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;login&quot;</span>&gt;</span>
		<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;left&quot;</span>&gt;</span><span style="color: #ddbb00;">&amp;nbsp;</span><span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span>
		<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span>Hello Guest!<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span>
		<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span>|<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span>
		<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;toggleLogin&quot;</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#&quot;</span>&gt;</span>Log In<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/ul.html"><span style="color: #000000; font-weight: bold;">ul</span></a>&gt;</span> <span style="color: #808080; font-style: italic;">&lt;!-- / login --&gt;</span>
<span style="color: #009900;">&lt;?php <span style="color: #66cc66;">&#125;</span> ?&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span> <span style="color: #808080; font-style: italic;">&lt;!-- / top --&gt;</span></pre></td></tr></table></div>

<p>I should explain a little bit the code before we go on:</p>
<ul>
<li>If you are logged in as admin, you will see the full navigation. (This is done with the code <code>&lt;?php if ( $user_level >= 1 ) : ?&gt; ... &lt;?php endif ?&gt;</code>. Anything you put within this code will only be seen by the admins). </li>
<li>If you registered to the site as a subscriber, you will only see the links &#8220;Dashboard&#8221;, &#8220;My Profile&#8221; and &#8220;log Out&#8221;.</li>
<li>If you are not logged in (which will definitely happen if you are a first time visitor), you will only see &#8220;Hello Guest!&#8221; and &#8220;Log In&#8221;. <small>(Register to this site on top of this page if you want to see how it works)</small>. </li>
</ul>
<p>If you wish to add more links to the top navigation, log in WordPress and over a link with your mouse (for example: Settings). Look at the url in the status bar (e.g. http://yoursite.com/wp-admin/options-general.php). Copy only <em>/wp-admin/options-general.php</em> and paste it in the code, like this:</p>

<div class="wp_codebox_msgheader wp_codebox_hide"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p398code21'); return false;">View Code</a> HTML4STRICT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p39821"><td class="line_numbers"><pre>1
2
3
4
5
</pre></td><td class="code" id="p398code21"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;?php if <span style="color: #66cc66;">/</span>* if is admin, display menu below *<span style="color: #66cc66;">/</span> <span style="color: #66cc66;">&#40;</span> $user_level &gt;</span>= 1 ) : ?&gt;
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span>|<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span>
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&lt;?php bloginfo('url') ?&gt;</span></span>/wp-admin/options-general.php&quot;&gt;Settings<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span>
...
<span style="color: #009900;">&lt;?php endif <span style="color: #66cc66;">//</span> $user_level &gt;</span>= 1 ?&gt;</pre></td></tr></table></div>

<p>You can add as many links as you want. The only limit is the width of your site or your screen resolution.</p>
<h2>Step 4: The CSS</h2>
<p>Open style.css in a text editor and paste at the bottom the code below <small class="grey">(click on [+] to expand the code)</small>:</p>

<div class="wp_codebox_msgheader wp_codebox_hide"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p398code22'); return false;">View Code</a> CSS</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p39822"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
</pre></td><td class="code" id="p398code22"><pre class="css" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">/* Login Panel */</span>
<span style="color: #cc00cc;">#top</span> <span style="color: #00AA00;">&#123;</span>
  	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">images/login_top.jpg</span><span style="color: #00AA00;">&#41;</span> <span style="color: #993333;">repeat-x</span> <span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">38px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">relative</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #cc00cc;">#top</span> ul<span style="color: #6666ff;">.login</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">block</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">relative</span><span style="color: #00AA00;">;</span>
  	<span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">right</span><span style="color: #00AA00;">;</span>
  	<span style="color: #000000; font-weight: bold;">clear</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">right</span><span style="color: #00AA00;">;</span>
  	<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">38px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">auto</span><span style="color: #00AA00;">;</span>
  	<span style="color: #000000; font-weight: bold;">font-weight</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">bold</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">line-height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">38px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">right</span><span style="color: #00AA00;">:</span> <span style="color: #933;">150px</span><span style="color: #00AA00;">;</span>
  	<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">white</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">text-align</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">center</span><span style="color: #00AA00;">;</span>
  	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">images/login_r.jpg</span><span style="color: #00AA00;">&#41;</span> <span style="color: #993333;">no-repeat</span> <span style="color: #000000; font-weight: bold;">right</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">padding-right</span><span style="color: #00AA00;">:</span> <span style="color: #933;">45px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #cc00cc;">#top</span> ul<span style="color: #6666ff;">.login</span> li.<span style="color: #000000; font-weight: bold;">left</span> <span style="color: #00AA00;">&#123;</span>
  	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">images/login_l.jpg</span><span style="color: #00AA00;">&#41;</span> <span style="color: #993333;">no-repeat</span> <span style="color: #000000; font-weight: bold;">left</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
  	<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">38px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">45px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
  	<span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">block</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #cc00cc;">#top</span> ul<span style="color: #6666ff;">.login</span> li <span style="color: #00AA00;">&#123;</span>
 	<span style="color: #000000; font-weight: bold;">text-align</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>
  	<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">6px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">block</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">38px</span><span style="color: #00AA00;">;</span>
  	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">images/login_m.jpg</span><span style="color: #00AA00;">&#41;</span> <span style="color: #993333;">repeat-x</span> <span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #cc00cc;">#top</span> ul<span style="color: #6666ff;">.login</span> li a <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#33CCCC</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #cc00cc;">#top</span> ul<span style="color: #6666ff;">.login</span> li a<span style="color: #3333ff;">:hover </span><span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">white</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">/*Login*/</span>
<span style="color: #808080; font-style: italic;">/* toggle effect - show/hide login*/</span>
<span style="color: #cc00cc;">#login</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">100%</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">white</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#1E1E1E</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">overflow</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">hidden</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">relative</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">z-index</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">3</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">font-style</span><span style="color: #00AA00;">:</span> <span style="color: #933;">1em</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #cc00cc;">#login</span> a <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">text-decoration</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#33CCCC</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #cc00cc;">#login</span> a<span style="color: #3333ff;">:hover </span><span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">white</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #cc00cc;">#login</span> <span style="color: #6666ff;">.loginContent</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">550px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">80px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span> <span style="color: #993333;">auto</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">padding-top</span><span style="color: #00AA00;">:</span> <span style="color: #933;">25px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">text-align</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #cc00cc;">#login</span> <span style="color: #6666ff;">.loginContent</span> .<span style="color: #000000; font-weight: bold;">left</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">120px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">padding-left</span><span style="color: #00AA00;">:</span> <span style="color: #933;">65px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span> <span style="color: #933;">0.95em</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #cc00cc;">#login</span> <span style="color: #6666ff;">.loginContent</span> .<span style="color: #000000; font-weight: bold;">right</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">290px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">right</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">text-align</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">right</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">padding-right</span><span style="color: #00AA00;">:</span> <span style="color: #933;">65px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span> <span style="color: #933;">0.95em</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #cc00cc;">#login</span> <span style="color: #6666ff;">.loginContent</span> form <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">10px</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">26px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #cc00cc;">#login</span> <span style="color: #6666ff;">.loginContent</span> input<span style="color: #6666ff;">.field</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span> <span style="color: #933;">1px</span> <span style="color: #cc00cc;">#1A1A1A</span> <span style="color: #993333;">solid</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#464646</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">margin-right</span><span style="color: #00AA00;">:</span> <span style="color: #933;">5px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">margin-top</span><span style="color: #00AA00;">:</span> <span style="color: #933;">4px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">white</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">16px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #cc00cc;">#login</span> <span style="color: #6666ff;">.loginContent</span> input<span style="color: #3333ff;">:focus</span><span style="color: #6666ff;">.field</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#545454</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #cc00cc;">#login</span> <span style="color: #6666ff;">.loginContent</span> input<span style="color: #6666ff;">.rememberme</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">transparent</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #cc00cc;">#login</span> <span style="color: #6666ff;">.loginContent</span> input<span style="color: #6666ff;">.button_login</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">47px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">20px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">cursor</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">pointer</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">transparent</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">images/button_login.jpg</span><span style="color: #00AA00;">&#41;</span> <span style="color: #993333;">no-repeat</span> <span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #cc00cc;">#login</span> <span style="color: #6666ff;">.loginClose</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">block</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">absolute</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">right</span><span style="color: #00AA00;">:</span> <span style="color: #933;">15px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">top</span><span style="color: #00AA00;">:</span> <span style="color: #933;">10px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">70px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span> <span style="color: #933;">0.9em</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">text-align</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #cc00cc;">#login</span> <span style="color: #6666ff;">.loginClose</span> a <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">block</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">100%</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">20px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">images/button_close.jpg</span><span style="color: #00AA00;">&#41;</span> <span style="color: #993333;">no-repeat</span> <span style="color: #000000; font-weight: bold;">right</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">padding-right</span><span style="color: #00AA00;">:</span> <span style="color: #933;">10px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">white</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #cc00cc;">#login</span> <span style="color: #6666ff;">.loginClose</span> a<span style="color: #3333ff;">:hover </span><span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">images/button_close.jpg</span><span style="color: #00AA00;">&#41;</span> <span style="color: #993333;">no-repeat</span> <span style="color: #000000; font-weight: bold;">right</span> <span style="color: #933;">-20px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>

<h2>Step 5: WordPress Settings</h2>
<p>You will need to follow one more step before you are done. Log in to WordPress, select &#8220;settings&#8221;, then scroll down to &#8220;membership&#8221; and select &#8220;Anyone can register&#8221;. Click save and you should be done. Open your site in your browser and you should see the top navigation. Click on &#8220;login&#8221; to slide the panel into view.</p>
<p>Done!</p>
<h2>Troubleshooting</h2>
<p>Not working yet? There could be a couple of things that would stop the script from executing. Here&#8217;s a few questions that might help you debug it:</p>
<ul>
<li>Have you enabled Javascript in your browser?</li>
<li>Do you use another Ajax framework on your site (Jquery for example)?</li>
<li>Is Mootools compatible with your plugins?</li>
<li>Is the path to the javascript correct? (E.g. <code>&lt;script type="text/javascript" src="&lt;?php bloginfo('template_url'); ?&gt;/js/mootools-1.2-core-yc.js" charset="utf-8"&gt;&lt;/script&gt;</code>)</li>
<li>Do you use a modern browser such as Firefox 3, Opera or Safari? If not, maybe it is time to upgrade! This script works fine in Firefox 2+, IE6+, Safari, Opera, Netscape. However, I didn&#8217;t test it on a Mac or Linux.</li>
</ul>
<h2>Update</h2>
<p>In answer to <a href="http://web-kreation.com/index.php/wordpress/add-a-showhide-login-panel-to-your-wordpress-theme-using-mootools/#comment-1675">Thomas&#8217; comment</a>, I explain below how to add avatar next to &#8220;My Profile&#8221; in the navigation after user logged in. Here&#8217;s how to do:</p>
<p>Replace the code below in our script&#8230;</p>

<div class="wp_codebox_msgheader wp_codebox_hide"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p398code23'); return false;">View Code</a> HTML4STRICT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p39823"><td class="line_numbers"><pre>1
2
</pre></td><td class="code" id="p398code23"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span>|<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span>
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&lt;?php bloginfo('url') ?&gt;</span></span>/wp-admin/profile.php&quot;&gt;My Profile<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span></pre></td></tr></table></div>

<p>&#8230; by:</p>

<div class="wp_codebox_msgheader wp_codebox_hide"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p398code24'); return false;">View Code</a> HTML4STRICT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p39824"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
</pre></td><td class="code" id="p398code24"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span>|<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span>
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">style</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;padding-left: 40px;&quot;</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&lt;?php bloginfo('url') ?&gt;</span></span>/wp-admin/profile.php&quot;&gt;
  <span style="color: #009900;">&lt;?php global $user_email, $userdata;</span>
<span style="color: #009900;">    get_currentuserinfo<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;</span>
<span style="color: #009900;">    if<span style="color: #66cc66;">&#40;</span>function_exists<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">'get_avatar'</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span></span>
<span style="color: #009900;">      echo <span style="color: #ff0000;">'&lt;span class=&quot;NavAvatar&quot;&gt;</span></span>' . get_avatar($user_email, '16').'<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/span.html"><span style="color: #000000; font-weight: bold;">span</span></a>&gt;</span>'; //display user's Avatar
      echo($userdata-&gt;user_login); //Display user's name
    }
  ?&gt;
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span></pre></td></tr></table></div>

<p>Add this code into style.css:</p>

<div class="wp_codebox_msgheader wp_codebox_hide"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p398code25'); return false;">View Code</a> CSS</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p39825"><td class="line_numbers"><pre>1
2
3
4
5
6
7
</pre></td><td class="code" id="p398code25"><pre class="css" style="font-family:monospace;">span<span style="color: #6666ff;">.NavAvatar</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">absolute</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">top</span><span style="color: #00AA00;">:</span> <span style="color: #933;">3px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">:</span> <span style="color: #933;">10px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span> <span style="color: #933;">1px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span> <span style="color: #933;">1px</span> <span style="color: #cc00cc;">#000</span> <span style="color: #993333;">solid</span><span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/*Change border color*/</span>
<span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>

<p>Last, add &#8220;position:relative;&#8221; to &#8220;#top ul.login li&#8221;:</p>

<div class="wp_codebox_msgheader wp_codebox_hide"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p398code26'); return false;">View Code</a> CSS</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p39826"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
</pre></td><td class="code" id="p398code26"><pre class="css" style="font-family:monospace;"><span style="color: #cc00cc;">#top</span> ul<span style="color: #6666ff;">.login</span> li <span style="color: #00AA00;">&#123;</span>
 	<span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">relative</span><span style="color: #00AA00;">;</span>
 	<span style="color: #000000; font-weight: bold;">text-align</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>
  	<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">6px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">block</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">38px</span><span style="color: #00AA00;">;</span>
  	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">images/login_m.jpg</span><span style="color: #00AA00;">&#41;</span> <span style="color: #993333;">repeat-x</span> <span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>

<p>Here&#8217;s a screenshot of an avatar display on this site after you logged in:</p>
<p><img src="http://web-kreation.com/wp-content/uploads/2008/08/screenshot_avatar_on_my_site.jpg" alt="" title="screenshot_avatar_on_my_site" class="aligncenter" /></p>
<p>Thanks <a href="http://www.fonzie.dk/" title="Thomas" target="_blank" rel="nofollow">Thomas</a> for the Avatar&#8217;s idea. That was a good one!</p>
]]></content:encoded>
			<wfw:commentRss>http://web-kreation.com/all/add-a-showhide-login-panel-to-your-wordpress-theme-using-mootools/feed/</wfw:commentRss>
		<slash:comments>108</slash:comments>
		</item>
	</channel>
</rss>

