<?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>Effutio &#187; Tutorials</title>
	<atom:link href="http://www.effutio.com/category/wordpress/tutorials/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.effutio.com</link>
	<description>One must avoid that wicked temptress, Laziness.</description>
	<lastBuildDate>Wed, 30 Jun 2010 20:37:34 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Page Templates in Wordpress</title>
		<link>http://www.effutio.com/web-design/page-templates-in-wordpress/191/</link>
		<comments>http://www.effutio.com/web-design/page-templates-in-wordpress/191/#comments</comments>
		<pubDate>Tue, 29 Sep 2009 08:00:09 +0000</pubDate>
		<dc:creator>Neil</dc:creator>
				<category><![CDATA[Hints and Tips]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Web Design Hints and Tips]]></category>
		<category><![CDATA[Wordpress Hints and Tips]]></category>
		<category><![CDATA[Wordpress Tutorials]]></category>

		<guid isPermaLink="false">http://www.effutio.com/?p=191</guid>
		<description><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.effutio.com%2Fweb-design%2Fpage-templates-in-wordpress%2F191%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.effutio.com%2Fweb-design%2Fpage-templates-in-wordpress%2F191%2F&#38;source=The1Path&#38;style=normal&#38;service=TinyURL.com" height="61" width="50" /><br />
			</a>
		</div>
<p>I realise this is a very simple thing to achieve in Wordpress and has probably been written about a thousand times, however I thought about what a great tool it is in Wordpress&#8217;s arsenal and surprisingly not used on too many sites Ive seen.</p>
<p>Aside from being able to use page templates to create different page designs they are very&#8230;</p>

<ul><li><a href='http://www.effutio.com/wordpress/login-directly-from-a-page-in-wordpress-using-a-sidebar-login-form/34/' rel='bookmark' title='Permanent Link: Login directly from a page in Wordpress using a sidebar login form'>Login directly from a page in Wordpress using a sidebar login form</a></li>
<li><a href='http://www.effutio.com/wordpress/menu-only-logged-in-users-or-certain-users-can-see/50/' rel='bookmark' title='Permanent Link: Menu only logged in users or certain users can see'>Menu only logged in users or certain users can see</a></li>
<li><a href='http://www.effutio.com/wordpress/display-your-wordpress-posts-on-other-pages/54/' rel='bookmark' title='Permanent Link: Display your Wordpress posts on other pages'>Display your Wordpress posts on other pages</a></li>
<li><a href='http://www.effutio.com/wordpress/more-advanced-menu-only-logged-in-users-or-certain-users-can-see/88/' rel='bookmark' title='Permanent Link: More Advanced Menu only logged in users or certain users can see'>More Advanced Menu only logged in users or certain users can see</a></li>
<li><a href='http://www.effutio.com/wordpress/using-google-adsense-for-search-in-wordpress/167/' rel='bookmark' title='Permanent Link: Using Google Adsense for Search in Wordpress'>Using Google Adsense for Search in Wordpress</a></li>
</ul>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.effutio.com%2Fweb-design%2Fpage-templates-in-wordpress%2F191%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.effutio.com%2Fweb-design%2Fpage-templates-in-wordpress%2F191%2F&amp;source=The1Path&amp;style=normal&amp;service=TinyURL.com" height="61" width="50" /><br />
			</a>
		</div>
<p>I realise this is a very simple thing to achieve in Wordpress and has probably been written about a thousand times, however I thought about what a great tool it is in Wordpress&#8217;s arsenal and surprisingly not used on too many sites Ive seen.</p>
<p>Aside from being able to use page templates to create different page designs they are very useful when using Wordpress plugins such as NextGen Gallery and SimplePress Forum.</p>
<p>These two plugins benefit greatly from using a full width page template i.e. no sidebar. So I will not go into the full intricacies of page templates and their many uses and implementations. Instead I will just show a simple example of how to create a full width page template with no sidebar. Ideally used for galleries and forums.</p>
<p>First of all open the directory containing all your Wordpress template files, normally found here: your-root/wp-content/themes/your-theme-name/</p>
<p>Look for the file entitled &#8216;page.php&#8217; open it in your favourite code editor. Next create a new file called &#8216;page_fullwidth.php&#8217; or similar in the same folder as page.php.</p>
<p>Next copy all the code from page.php and paste it into page_fullwidth.php, you can now close page.php as you no longer need it.</p>
<p>You must tell Wordpress that this file is a page template, to do this we must add the following code right at the top of the code:</p>
<pre class="brush:php"><?php
/*
Template Name: Page Full Width
*/
?></pre>
<p>You can call the template whatever you want, instead of &#8216;Page Full Width&#8217; you could use &#8216;Forum&#8217; or &#8216;Gallery&#8217;. This is the name that will be displayed (and can be set) in the &#8216;Attributes&#8217; section on the right hand side under &#8216;Template&#8217; in the add/edit page screen.</p>
<p>OK, now you are ready to make the changes to the structure of the page. In this case we want to remove the sidebar. so look for the following line and remove it:</p>
<pre class="brush:php"><?php get_sidebar(); ?></pre>
<p>Now you have to add some CSS. Namely adding divs that are the correct width for the new page. SO your CSS will probably have a container for the content called &#8216;container&#8217; or &#8216;contentwrapper&#8217; etc and will probably look something like this:</p>
<pre class="brush:css">#contentwrapper {
	float:left;
	width: 620px;
	margin: 0 0 15px 10px;
	padding: 0;
	text-align: left;
  }</pre>
<p>Obviously the width is to small to allow content to flow right across your new page template so me must change it to match the width of the containg div (if your theme is full screen and all widths are in percentages dont worry about doing this, most are fixed width these days though). Anyway create a new contentwrapper just for this page template. It should look something like this:</p>
<pre class="brush:css">#contentwrapper2 {
	float:left;
	width: 910px;
	margin: 0 10px 15px 10px;
	padding:0;
	text-align: left;
  }</pre>
<p>Remember and change the div declaration name in your page_fullwidth.php:
<div id="contentwrapper2"> so the page template uses the new CSS.</p>
<p>There you have it, a full width page template with no sidebar.</p>
<p>Check out my <a href="http://www.effutio.com/web-design/using-multipledifferent-headers-sidebars-footers-and-comment-templates-in-wordpress/">next tutorial</a> and learn how to setup and implement multiple/different sidebars, footers, headers and comment templates.</p>
<span class="sfforumlink"><a href="http://www.effutio.com/forum/wordpress-tutorials/page-templates-in-wordpress/"><p><img src="http://www.effutio.com/wp-content/plugins/simple-forum/styles/icons/ash/bloglink.png" alt="" /> Join the forum discussion on this post</p>
</a></span>

<ul><li><a href='http://www.effutio.com/wordpress/login-directly-from-a-page-in-wordpress-using-a-sidebar-login-form/34/' rel='bookmark' title='Permanent Link: Login directly from a page in Wordpress using a sidebar login form'>Login directly from a page in Wordpress using a sidebar login form</a></li>
<li><a href='http://www.effutio.com/wordpress/menu-only-logged-in-users-or-certain-users-can-see/50/' rel='bookmark' title='Permanent Link: Menu only logged in users or certain users can see'>Menu only logged in users or certain users can see</a></li>
<li><a href='http://www.effutio.com/wordpress/display-your-wordpress-posts-on-other-pages/54/' rel='bookmark' title='Permanent Link: Display your Wordpress posts on other pages'>Display your Wordpress posts on other pages</a></li>
<li><a href='http://www.effutio.com/wordpress/more-advanced-menu-only-logged-in-users-or-certain-users-can-see/88/' rel='bookmark' title='Permanent Link: More Advanced Menu only logged in users or certain users can see'>More Advanced Menu only logged in users or certain users can see</a></li>
<li><a href='http://www.effutio.com/wordpress/using-google-adsense-for-search-in-wordpress/167/' rel='bookmark' title='Permanent Link: Using Google Adsense for Search in Wordpress'>Using Google Adsense for Search in Wordpress</a></li>
</ul>]]></content:encoded>
			<wfw:commentRss>http://www.effutio.com/web-design/page-templates-in-wordpress/191/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using Google Adsense for Search in Wordpress</title>
		<link>http://www.effutio.com/wordpress/using-google-adsense-for-search-in-wordpress/167/</link>
		<comments>http://www.effutio.com/wordpress/using-google-adsense-for-search-in-wordpress/167/#comments</comments>
		<pubDate>Fri, 04 Sep 2009 13:38:57 +0000</pubDate>
		<dc:creator>Neil</dc:creator>
				<category><![CDATA[Hints and Tips]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Google Search]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Wordpress Hints and Tips]]></category>
		<category><![CDATA[Wordpress Tutorials]]></category>

		<guid isPermaLink="false">http://www.effutio.com/?p=167</guid>
		<description><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.effutio.com%2Fwordpress%2Fusing-google-adsense-for-search-in-wordpress%2F167%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.effutio.com%2Fwordpress%2Fusing-google-adsense-for-search-in-wordpress%2F167%2F&#38;source=The1Path&#38;style=normal&#38;service=TinyURL.com" height="61" width="50" /><br />
			</a>
		</div>
<p>Implementing a Google Custom Search into your Wordpress theme is actually pretty easy but requires a little bit of theme jiggery pokery!</p>
<p>OK so first things first:</p>
<p>Create a page called &#8217;search&#8217; or &#8217;search results&#8217; in the admin section of your Wordpress site. Take a note of the page id, this can normally be found if you hover the mouse&#8230;</p>

<ul><li><a href='http://www.effutio.com/wordpress/login-directly-from-a-page-in-wordpress-using-a-sidebar-login-form/34/' rel='bookmark' title='Permanent Link: Login directly from a page in Wordpress using a sidebar login form'>Login directly from a page in Wordpress using a sidebar login form</a></li>
<li><a href='http://www.effutio.com/wordpress/menu-only-logged-in-users-or-certain-users-can-see/50/' rel='bookmark' title='Permanent Link: Menu only logged in users or certain users can see'>Menu only logged in users or certain users can see</a></li>
<li><a href='http://www.effutio.com/wordpress/display-your-wordpress-posts-on-other-pages/54/' rel='bookmark' title='Permanent Link: Display your Wordpress posts on other pages'>Display your Wordpress posts on other pages</a></li>
<li><a href='http://www.effutio.com/wordpress/more-advanced-menu-only-logged-in-users-or-certain-users-can-see/88/' rel='bookmark' title='Permanent Link: More Advanced Menu only logged in users or certain users can see'>More Advanced Menu only logged in users or certain users can see</a></li>
<li><a href='http://www.effutio.com/web-design/page-templates-in-wordpress/191/' rel='bookmark' title='Permanent Link: Page Templates in Wordpress'>Page Templates in Wordpress</a></li>
</ul>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.effutio.com%2Fwordpress%2Fusing-google-adsense-for-search-in-wordpress%2F167%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.effutio.com%2Fwordpress%2Fusing-google-adsense-for-search-in-wordpress%2F167%2F&amp;source=The1Path&amp;style=normal&amp;service=TinyURL.com" height="61" width="50" /><br />
			</a>
		</div>
<p><div id="attachment_170" class="wp-caption alignright" style="width: 260px"><img src="http://www.effutio.com/wp-content/uploads/google.jpg" alt="Google Custom Search" title="Google Search Options" width="250" height="143" class="size-full wp-image-170" /><p class="wp-caption-text">Google Custom Search</p></div>Implementing a Google Custom Search into your Wordpress theme is actually pretty easy but requires a little bit of theme jiggery pokery!</p>
<p>OK so first things first:</p>
<p>Create a page called &#8217;search&#8217; or &#8217;search results&#8217; in the admin section of your Wordpress site. Take a note of the page id, this can normally be found if you hover the mouse pointer over the &#8216;View Page&#8217; link or go to &#8216;Edit&#8217; in the Pages menu and hover over the search page (its the number at the end you need). I would also select the full page template for the search page (what do you mean your theme doesnt have a sidebar-less full page? Spose I could write a tut on that too). Good now we have the search page published and the id of said page.</p>
<p>Next create your Google Custom Search in your adsense account. I&#8217;ll not go through all the steps but remember and get the search page url right and set the width correctly for the page! OK you should now have your search code blocks. Highlight the second block of code, go to your Wordpress admin and edit the search page and insert the code into the main text window (use html view and publish).</p>
<p>Then highlight the first/top Google code block and put that in your theme wherever you want the search to appear. </p>
<p>That should be the search fully operational test it in some different browsers to check. &#8220;WAIT&#8221; I here you cry. I dont want a stupid page called Search Results in my page menu! Quite right, remember the page id I told you to take note of, well here is where you use it.</p>
<p>In your sidebar code you will no doubt have a line like this:</p>
<pre class="brush:php"><?php wp_list_pages('depth=1&#038;title_li=0&#038;sort_column=menu_order'); ?></pre>
<p>We need to add an exclude function to this line which will look something like this:</p>
<pre class="brush:php"><?php wp_list_pages('exclude=86&#038;depth=1&#038;title_li=0&#038;sort_column=menu_order'); ?></pre>
<p>Change the &#8216;86&#8242; to what ever your page id is and hey presto the jiggery pokery is complete!</p>
<span class="sfforumlink"><a href="http://www.effutio.com/forum/wordpress-tutorials/using-google-adsense-for-search-in-wordpress/"><p><img src="http://www.effutio.com/wp-content/plugins/simple-forum/styles/icons/ash/bloglink.png" alt="" /> Join the forum discussion on this post</p>
</a></span>

<ul><li><a href='http://www.effutio.com/wordpress/login-directly-from-a-page-in-wordpress-using-a-sidebar-login-form/34/' rel='bookmark' title='Permanent Link: Login directly from a page in Wordpress using a sidebar login form'>Login directly from a page in Wordpress using a sidebar login form</a></li>
<li><a href='http://www.effutio.com/wordpress/menu-only-logged-in-users-or-certain-users-can-see/50/' rel='bookmark' title='Permanent Link: Menu only logged in users or certain users can see'>Menu only logged in users or certain users can see</a></li>
<li><a href='http://www.effutio.com/wordpress/display-your-wordpress-posts-on-other-pages/54/' rel='bookmark' title='Permanent Link: Display your Wordpress posts on other pages'>Display your Wordpress posts on other pages</a></li>
<li><a href='http://www.effutio.com/wordpress/more-advanced-menu-only-logged-in-users-or-certain-users-can-see/88/' rel='bookmark' title='Permanent Link: More Advanced Menu only logged in users or certain users can see'>More Advanced Menu only logged in users or certain users can see</a></li>
<li><a href='http://www.effutio.com/web-design/page-templates-in-wordpress/191/' rel='bookmark' title='Permanent Link: Page Templates in Wordpress'>Page Templates in Wordpress</a></li>
</ul>]]></content:encoded>
			<wfw:commentRss>http://www.effutio.com/wordpress/using-google-adsense-for-search-in-wordpress/167/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>More Advanced Menu only logged in users or certain users can see</title>
		<link>http://www.effutio.com/wordpress/more-advanced-menu-only-logged-in-users-or-certain-users-can-see/88/</link>
		<comments>http://www.effutio.com/wordpress/more-advanced-menu-only-logged-in-users-or-certain-users-can-see/88/#comments</comments>
		<pubDate>Thu, 23 Jul 2009 22:03:18 +0000</pubDate>
		<dc:creator>Neil</dc:creator>
				<category><![CDATA[Hints and Tips]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Wordpress Hints and Tips]]></category>
		<category><![CDATA[Wordpress Tutorials]]></category>

		<guid isPermaLink="false">http://www.effutio.com/?p=88</guid>
		<description><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.effutio.com%2Fwordpress%2Fmore-advanced-menu-only-logged-in-users-or-certain-users-can-see%2F88%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.effutio.com%2Fwordpress%2Fmore-advanced-menu-only-logged-in-users-or-certain-users-can-see%2F88%2F&#38;source=The1Path&#38;style=normal&#38;service=TinyURL.com" height="61" width="50" /><br />
			</a>
		</div>
<p>This is a follow on tutorial from the previous one: Menu only logged in users or certain users can see</p>
<p>In this one Ive added a few extra features. I suddenly thought about the previous tutorial example and saw that any logged in user can see the control panel menu in the sidebar and all the options within it. What&#8230;</p>

<ul><li><a href='http://www.effutio.com/wordpress/login-directly-from-a-page-in-wordpress-using-a-sidebar-login-form/34/' rel='bookmark' title='Permanent Link: Login directly from a page in Wordpress using a sidebar login form'>Login directly from a page in Wordpress using a sidebar login form</a></li>
<li><a href='http://www.effutio.com/wordpress/menu-only-logged-in-users-or-certain-users-can-see/50/' rel='bookmark' title='Permanent Link: Menu only logged in users or certain users can see'>Menu only logged in users or certain users can see</a></li>
<li><a href='http://www.effutio.com/wordpress/display-your-wordpress-posts-on-other-pages/54/' rel='bookmark' title='Permanent Link: Display your Wordpress posts on other pages'>Display your Wordpress posts on other pages</a></li>
<li><a href='http://www.effutio.com/wordpress/using-google-adsense-for-search-in-wordpress/167/' rel='bookmark' title='Permanent Link: Using Google Adsense for Search in Wordpress'>Using Google Adsense for Search in Wordpress</a></li>
<li><a href='http://www.effutio.com/web-design/page-templates-in-wordpress/191/' rel='bookmark' title='Permanent Link: Page Templates in Wordpress'>Page Templates in Wordpress</a></li>
</ul>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.effutio.com%2Fwordpress%2Fmore-advanced-menu-only-logged-in-users-or-certain-users-can-see%2F88%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.effutio.com%2Fwordpress%2Fmore-advanced-menu-only-logged-in-users-or-certain-users-can-see%2F88%2F&amp;source=The1Path&amp;style=normal&amp;service=TinyURL.com" height="61" width="50" /><br />
			</a>
		</div>
<p>This is a follow on tutorial from the previous one: Menu only logged in users or certain users can see</p>
<p>In this one Ive added a few extra features. I suddenly thought about the previous tutorial example and saw that any logged in user can see the control panel menu in the sidebar and all the options within it. What if you only want users of a certain level to see the &#8216;Write New Post&#8217; and &#8216;Write New Page&#8217; options.</p>
<p>OK Im just gonna list the whole block of code for the sidebar login that I have implemented on this site then talk a bit about the new bits:</p>
<pre class="brush:xml">
<li>
<div class="sidebarbox">
<?php if ( ! is_user_logged_in() ){ ?>
<h2>Login</h2>
<ul>
<div style="float:left; width:100%;">
<form action="<?php echo get_option('home'); ?>/wp-login.php" method="post">


<input type="text" name="log" id="log" value="<?php echo wp_specialchars(stripslashes($user_login), 1) ?>" size="20" /><label for="log"> Username</label>


<input type="password" name="pwd" id="pwd" size="20" /><label for="pwd"> Password</label>
<input type="submit" name="submit" value="Send" class="button" />

<label for="rememberme">
<input name="rememberme" id="rememberme" type="checkbox" checked="checked" value="forever" /> Remember me</label>
<input type="hidden" name="redirect_to" value="<?php echo $_SERVER['REQUEST_URI']; ?>" />
</form>
</div>
<div class="cleared"></div>
<li><a href="<?php echo get_option('home'); ?>/wp-register.php">Register</a></li>
<li><a href="<?php echo get_option('home'); ?>/wp-login.php?action=lostpassword">Recover password</a></li>
</ul>

<?php } else { ?>
<?php if (current_user_can('level_2')){ ?>
<h2>Control Panel</h2>
<ul>
<li><a href="<?php echo get_option('home'); ?>/wp-admin/">Dashboard</a></li>
<li><a href="<?php echo get_option('home'); ?>/wp-admin/post-new.php">Write new Post</a></li>
<li><a href="<?php echo get_option('home'); ?>/wp-admin/page-new.php">Write new Page</a></li>
<li><a href="<?php echo wp_logout_url( get_bloginfo('url') ); ?>" title="Logout">Logout</a></li>
</ul>

<?php } else { ?>
<h2>Control Panel</h2>
<ul>
<li><a href="<?php echo get_option('home'); ?>/wp-admin/">Dashboard</a></li>
<li><a href="<?php echo wp_logout_url( get_bloginfo('url') ); ?>" title="Logout">Logout</a></li>
</ul>

<?php }?>
<?php }?>
</div>
</li>
</pre>
<p>OK so if you have read my earlier tutorials on this topic you will recognise a lot of this code and Im not going over it here. So lets take a look at the new bits so we know what changes have been made.</p>
<p>First new line is <?php if (current_user_can('level_2')){ ?> after the else statement. This basically sets the user level that can access the following menu code. I have set this to level 2, as users granted level 2 status on effutio can write posts etc, but you can set this to whatever level you like (see my previous login tutorial for Wordpress pre set levels).</p>
<p>Then you will notice I have added a second else statement which allows any other users which are lower than level 2 to see a different menu again. Because any user lower than a level 2 cant write posts etc they can only see the &#8216;Dashboard&#8217; and &#8216;Logout&#8217; links.</p>
<p>Well I really love this login/menu code for the sidebar, I hope you do too.</p>
<span class="sfforumlink"><a href="http://www.effutio.com/forum/wordpress-tutorials/more-advanced-menu-only-logged-in-users-or-certain-users-can-see/"><p><img src="http://www.effutio.com/wp-content/plugins/simple-forum/styles/icons/ash/bloglink.png" alt="" /> Join the forum discussion on this post</p>
</a></span>

<ul><li><a href='http://www.effutio.com/wordpress/login-directly-from-a-page-in-wordpress-using-a-sidebar-login-form/34/' rel='bookmark' title='Permanent Link: Login directly from a page in Wordpress using a sidebar login form'>Login directly from a page in Wordpress using a sidebar login form</a></li>
<li><a href='http://www.effutio.com/wordpress/menu-only-logged-in-users-or-certain-users-can-see/50/' rel='bookmark' title='Permanent Link: Menu only logged in users or certain users can see'>Menu only logged in users or certain users can see</a></li>
<li><a href='http://www.effutio.com/wordpress/display-your-wordpress-posts-on-other-pages/54/' rel='bookmark' title='Permanent Link: Display your Wordpress posts on other pages'>Display your Wordpress posts on other pages</a></li>
<li><a href='http://www.effutio.com/wordpress/using-google-adsense-for-search-in-wordpress/167/' rel='bookmark' title='Permanent Link: Using Google Adsense for Search in Wordpress'>Using Google Adsense for Search in Wordpress</a></li>
<li><a href='http://www.effutio.com/web-design/page-templates-in-wordpress/191/' rel='bookmark' title='Permanent Link: Page Templates in Wordpress'>Page Templates in Wordpress</a></li>
</ul>]]></content:encoded>
			<wfw:commentRss>http://www.effutio.com/wordpress/more-advanced-menu-only-logged-in-users-or-certain-users-can-see/88/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Display your Wordpress posts on other pages</title>
		<link>http://www.effutio.com/wordpress/display-your-wordpress-posts-on-other-pages/54/</link>
		<comments>http://www.effutio.com/wordpress/display-your-wordpress-posts-on-other-pages/54/#comments</comments>
		<pubDate>Mon, 06 Jul 2009 17:21:08 +0000</pubDate>
		<dc:creator>Neil</dc:creator>
				<category><![CDATA[Hints and Tips]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Wordpress Hints and Tips]]></category>
		<category><![CDATA[Wordpress Tutorials]]></category>

		<guid isPermaLink="false">http://www.effutio.com/?p=54</guid>
		<description><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.effutio.com%2Fwordpress%2Fdisplay-your-wordpress-posts-on-other-pages%2F54%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.effutio.com%2Fwordpress%2Fdisplay-your-wordpress-posts-on-other-pages%2F54%2F&#38;source=The1Path&#38;style=normal&#38;service=TinyURL.com" height="61" width="50" /><br />
			</a>
		</div>
<p><img class="alignright size-full wp-image-61" title="Wordpress" src="http://www.effutio.com/wp-content/uploads/wordpress.jpg" alt="Wordpress" width="130" height="130" />Here is the scenario:</p>
<p>You have a Wordpress blog in a subfolder on your website. The main website might be static html or even php pages and you want to display your Wordpress blog posts on the other &#8216;main website&#8217; pages.</p>
<p>How do you do that?</p>
<p>Well I shall enlighten thee! Firstly I assume that you have your blog site&#8230;</p>

<ul><li><a href='http://www.effutio.com/web-design/page-templates-in-wordpress/191/' rel='bookmark' title='Permanent Link: Page Templates in Wordpress'>Page Templates in Wordpress</a></li>
<li><a href='http://www.effutio.com/wordpress/login-directly-from-a-page-in-wordpress-using-a-sidebar-login-form/34/' rel='bookmark' title='Permanent Link: Login directly from a page in Wordpress using a sidebar login form'>Login directly from a page in Wordpress using a sidebar login form</a></li>
<li><a href='http://www.effutio.com/wordpress/menu-only-logged-in-users-or-certain-users-can-see/50/' rel='bookmark' title='Permanent Link: Menu only logged in users or certain users can see'>Menu only logged in users or certain users can see</a></li>
<li><a href='http://www.effutio.com/wordpress/using-google-adsense-for-search-in-wordpress/167/' rel='bookmark' title='Permanent Link: Using Google Adsense for Search in Wordpress'>Using Google Adsense for Search in Wordpress</a></li>
<li><a href='http://www.effutio.com/wordpress/wordpress-rss-error-blank-line-fix/299/' rel='bookmark' title='Permanent Link: Wordpress RSS Error &#8211; Blank Line Fix'>Wordpress RSS Error &#8211; Blank Line Fix</a></li>
</ul>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.effutio.com%2Fwordpress%2Fdisplay-your-wordpress-posts-on-other-pages%2F54%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.effutio.com%2Fwordpress%2Fdisplay-your-wordpress-posts-on-other-pages%2F54%2F&amp;source=The1Path&amp;style=normal&amp;service=TinyURL.com" height="61" width="50" /><br />
			</a>
		</div>
<p><img class="alignright size-full wp-image-61" title="Wordpress" src="http://www.effutio.com/wp-content/uploads/wordpress.jpg" alt="Wordpress" width="130" height="130" />Here is the scenario:</p>
<p>You have a Wordpress blog in a subfolder on your website. The main website might be static html or even php pages and you want to display your Wordpress blog posts on the other &#8216;main website&#8217; pages.</p>
<p>How do you do that?</p>
<p>Well I shall enlighten thee! Firstly I assume that you have your blog site in a subfolder (my subfolder is cms &#8211; so change this to your folder name), secondly if your other pages are html that is to say they are named &#8216;index.html&#8217; you will have to rename them to &#8216;index.php&#8217; etc. Now this will upset your links so I would do it in Dreamweaver so it automatically updates all your links.</p>
<p>After renaming all your files you can now start the coding, put the following code at the top (I mean the top! Before any html or anything) of each page that is to display the recent posts:</p>
<pre class="brush:php"><?php
define('WP_USE_THEMES', false);
require('./cms/wp-blog-header.php');
query_posts('showposts=5');
?></pre>
<p>Note: change ‘cms’ to your folder name containing your wordpress blog. To control how many recent posts are displayed change the ’showposts=5′ line to however many you want (leave it like this and it will display 5….obviously)</p>
<p>OK all good so far! Now we need the code that will display the posts, place this somewhere in your page:</p>
<pre class="brush:php"><?php while (have_posts()): the_post(); ?>

<a href="<?php the_permalink(); ?>"><?php the_title(); ?></a>

<?php endwhile; ?></pre>
<p>Now this will simply list your post titles, which are linked to the relative post. There are other options when listing them, you may want to list the excerpt and a read more link etc. If so the code will look like this:</p>
<pre class="brush:php"><?php while (have_posts()): the_post(); ?>
<h2><?php the_title(); ?></h2>

<?php the_excerpt(); ?>

<a href="<?php the_permalink(); ?>">Read more...</a>

<?php endwhile; ?></pre>
<p>You can also pull in the your Wordpress pages instead of the recent posts, simply use this code:</p>
<p>Replace this line
<pre class="brush:php">query_posts('showposts=5');</pre>
<p> with
<pre class="brush:php">query_posts('page_id=7');</pre>
<p> or
<pre class="brush:php">query_posts('pagename=about');</pre>
<p>Pretty sweet &#8211; I recently used it on <a href="http://www.honeybeekeeping.co.uk">www.honeybeekeeping.co.uk</a></p>
<span class="sfforumlink"><a href="http://www.effutio.com/forum/wordpress-tutorials/display-your-wordpress-posts-on-other-pages/"><p><img src="http://www.effutio.com/wp-content/plugins/simple-forum/styles/icons/ash/bloglink.png" alt="" /> Join the forum discussion on this post</p>
</a></span>

<ul><li><a href='http://www.effutio.com/web-design/page-templates-in-wordpress/191/' rel='bookmark' title='Permanent Link: Page Templates in Wordpress'>Page Templates in Wordpress</a></li>
<li><a href='http://www.effutio.com/wordpress/login-directly-from-a-page-in-wordpress-using-a-sidebar-login-form/34/' rel='bookmark' title='Permanent Link: Login directly from a page in Wordpress using a sidebar login form'>Login directly from a page in Wordpress using a sidebar login form</a></li>
<li><a href='http://www.effutio.com/wordpress/menu-only-logged-in-users-or-certain-users-can-see/50/' rel='bookmark' title='Permanent Link: Menu only logged in users or certain users can see'>Menu only logged in users or certain users can see</a></li>
<li><a href='http://www.effutio.com/wordpress/using-google-adsense-for-search-in-wordpress/167/' rel='bookmark' title='Permanent Link: Using Google Adsense for Search in Wordpress'>Using Google Adsense for Search in Wordpress</a></li>
<li><a href='http://www.effutio.com/wordpress/wordpress-rss-error-blank-line-fix/299/' rel='bookmark' title='Permanent Link: Wordpress RSS Error &#8211; Blank Line Fix'>Wordpress RSS Error &#8211; Blank Line Fix</a></li>
</ul>]]></content:encoded>
			<wfw:commentRss>http://www.effutio.com/wordpress/display-your-wordpress-posts-on-other-pages/54/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Menu only logged in users or certain users can see</title>
		<link>http://www.effutio.com/wordpress/menu-only-logged-in-users-or-certain-users-can-see/50/</link>
		<comments>http://www.effutio.com/wordpress/menu-only-logged-in-users-or-certain-users-can-see/50/#comments</comments>
		<pubDate>Mon, 06 Jul 2009 13:50:58 +0000</pubDate>
		<dc:creator>Neil</dc:creator>
				<category><![CDATA[Hints and Tips]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Wordpress Hints and Tips]]></category>
		<category><![CDATA[Wordpress Tutorials]]></category>

		<guid isPermaLink="false">http://www.effutio.com/?p=50</guid>
		<description><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.effutio.com%2Fwordpress%2Fmenu-only-logged-in-users-or-certain-users-can-see%2F50%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.effutio.com%2Fwordpress%2Fmenu-only-logged-in-users-or-certain-users-can-see%2F50%2F&#38;source=The1Path&#38;style=normal&#38;service=TinyURL.com" height="61" width="50" /><br />
			</a>
		</div>
<p>I thought I would add this as a quick follow on from my previous tutorial showing you how to make a login form in your Wordpress sidebar (<a href="http://www.effutio.com/wordpress/login-directly-from-a-page-in-wordpress-using-a-sidebar-login-form/" target="_self">find it here</a>), it used a technique to show a menu once a user had logged in.</p>
<p>So if you want to hide a menu from readers but show it to&#8230;</p>

<ul><li><a href='http://www.effutio.com/wordpress/login-directly-from-a-page-in-wordpress-using-a-sidebar-login-form/34/' rel='bookmark' title='Permanent Link: Login directly from a page in Wordpress using a sidebar login form'>Login directly from a page in Wordpress using a sidebar login form</a></li>
<li><a href='http://www.effutio.com/wordpress/display-your-wordpress-posts-on-other-pages/54/' rel='bookmark' title='Permanent Link: Display your Wordpress posts on other pages'>Display your Wordpress posts on other pages</a></li>
<li><a href='http://www.effutio.com/wordpress/more-advanced-menu-only-logged-in-users-or-certain-users-can-see/88/' rel='bookmark' title='Permanent Link: More Advanced Menu only logged in users or certain users can see'>More Advanced Menu only logged in users or certain users can see</a></li>
<li><a href='http://www.effutio.com/wordpress/using-google-adsense-for-search-in-wordpress/167/' rel='bookmark' title='Permanent Link: Using Google Adsense for Search in Wordpress'>Using Google Adsense for Search in Wordpress</a></li>
<li><a href='http://www.effutio.com/web-design/page-templates-in-wordpress/191/' rel='bookmark' title='Permanent Link: Page Templates in Wordpress'>Page Templates in Wordpress</a></li>
</ul>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.effutio.com%2Fwordpress%2Fmenu-only-logged-in-users-or-certain-users-can-see%2F50%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.effutio.com%2Fwordpress%2Fmenu-only-logged-in-users-or-certain-users-can-see%2F50%2F&amp;source=The1Path&amp;style=normal&amp;service=TinyURL.com" height="61" width="50" /><br />
			</a>
		</div>
<p>I thought I would add this as a quick follow on from my previous tutorial showing you how to make a login form in your Wordpress sidebar (<a href="http://www.effutio.com/wordpress/login-directly-from-a-page-in-wordpress-using-a-sidebar-login-form/" target="_self">find it here</a>), it used a technique to show a menu once a user had logged in.</p>
<p>So if you want to hide a menu from readers but show it to registered users you could use the following example:</p>
<p>Say you had a menu that looked something like this in your sidebar:</p>
<pre class="brush:html">
<li>
<h2>Registered User Menu</h2>
<ul>
Registered user menu options here!
</ul>
</li>
</pre>
<p>If you only wanted registered users to be able to see and use this menu simply add <code>&lt;?php if ( ! is_user_logged_in() ){ ?&gt;<!--formatted--></code> before the code above and of course close the php statement with <code>&lt;?php }?&gt;<!--formatted--></code> at the end of it. Nice one now only registered, logged in users can see the menu!</p>
<p>What if you need a menu that only appears to users of a certain level? Well can use another handy php staement. Place <code>&lt;?php if (current_user_can(&#039;level_10&#039;)){ ?&gt;<!--formatted--></code> at the beginning of your menu code block and close it again with <code>&lt;?php }?&gt;<!--formatted--></code>. This example will show the menu only to admins &#8216;level_10&#8242; you can change this to suit whichever user level you want. Below is the standard wordpress user level list:</p>
<p>Administrator: level_10<br />
Editor: level_7<br />
Author: level_2<br />
Contributor: level_1<br />
Subscriber: level_0 (although you would never use this as you could use <code>is_user_logged_in()</code> function)</p>
<p>You can of course create your own user roles and levels using this <a href="http://www.im-web-gefunden.de/wordpress-plugins/role-manager/">plugin</a></p>
<span class="sfforumlink"><a href="http://www.effutio.com/forum/wordpress-tutorials/menu-only-logged-in-users-or-certain-users-can-see/"><p><img src="http://www.effutio.com/wp-content/plugins/simple-forum/styles/icons/ash/bloglink.png" alt="" /> Join the forum discussion on this post</p>
</a></span>

<ul><li><a href='http://www.effutio.com/wordpress/login-directly-from-a-page-in-wordpress-using-a-sidebar-login-form/34/' rel='bookmark' title='Permanent Link: Login directly from a page in Wordpress using a sidebar login form'>Login directly from a page in Wordpress using a sidebar login form</a></li>
<li><a href='http://www.effutio.com/wordpress/display-your-wordpress-posts-on-other-pages/54/' rel='bookmark' title='Permanent Link: Display your Wordpress posts on other pages'>Display your Wordpress posts on other pages</a></li>
<li><a href='http://www.effutio.com/wordpress/more-advanced-menu-only-logged-in-users-or-certain-users-can-see/88/' rel='bookmark' title='Permanent Link: More Advanced Menu only logged in users or certain users can see'>More Advanced Menu only logged in users or certain users can see</a></li>
<li><a href='http://www.effutio.com/wordpress/using-google-adsense-for-search-in-wordpress/167/' rel='bookmark' title='Permanent Link: Using Google Adsense for Search in Wordpress'>Using Google Adsense for Search in Wordpress</a></li>
<li><a href='http://www.effutio.com/web-design/page-templates-in-wordpress/191/' rel='bookmark' title='Permanent Link: Page Templates in Wordpress'>Page Templates in Wordpress</a></li>
</ul>]]></content:encoded>
			<wfw:commentRss>http://www.effutio.com/wordpress/menu-only-logged-in-users-or-certain-users-can-see/50/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Login directly from a page in Wordpress using a sidebar login form</title>
		<link>http://www.effutio.com/wordpress/login-directly-from-a-page-in-wordpress-using-a-sidebar-login-form/34/</link>
		<comments>http://www.effutio.com/wordpress/login-directly-from-a-page-in-wordpress-using-a-sidebar-login-form/34/#comments</comments>
		<pubDate>Mon, 06 Jul 2009 12:20:06 +0000</pubDate>
		<dc:creator>Neil</dc:creator>
				<category><![CDATA[Hints and Tips]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Wordpress Hints and Tips]]></category>
		<category><![CDATA[Wordpress Tutorials]]></category>

		<guid isPermaLink="false">http://www.effutio.com/?p=34</guid>
		<description><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.effutio.com%2Fwordpress%2Flogin-directly-from-a-page-in-wordpress-using-a-sidebar-login-form%2F34%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.effutio.com%2Fwordpress%2Flogin-directly-from-a-page-in-wordpress-using-a-sidebar-login-form%2F34%2F&#38;source=The1Path&#38;style=normal&#38;service=TinyURL.com" height="61" width="50" /><br />
			</a>
		</div>
<p>As you can see I use a sidebar login for here on Effutio.com that completely bypasses the standard Wordpress 2.8 login screen page. No big deal you may be thinking but it is one less page that users have to wait to load, it adds a professional look and encourages people to login.</p>
<p>OK now that you are convinced that&#8230;</p>

<ul><li><a href='http://www.effutio.com/wordpress/menu-only-logged-in-users-or-certain-users-can-see/50/' rel='bookmark' title='Permanent Link: Menu only logged in users or certain users can see'>Menu only logged in users or certain users can see</a></li>
<li><a href='http://www.effutio.com/wordpress/display-your-wordpress-posts-on-other-pages/54/' rel='bookmark' title='Permanent Link: Display your Wordpress posts on other pages'>Display your Wordpress posts on other pages</a></li>
<li><a href='http://www.effutio.com/wordpress/more-advanced-menu-only-logged-in-users-or-certain-users-can-see/88/' rel='bookmark' title='Permanent Link: More Advanced Menu only logged in users or certain users can see'>More Advanced Menu only logged in users or certain users can see</a></li>
<li><a href='http://www.effutio.com/wordpress/using-google-adsense-for-search-in-wordpress/167/' rel='bookmark' title='Permanent Link: Using Google Adsense for Search in Wordpress'>Using Google Adsense for Search in Wordpress</a></li>
<li><a href='http://www.effutio.com/web-design/page-templates-in-wordpress/191/' rel='bookmark' title='Permanent Link: Page Templates in Wordpress'>Page Templates in Wordpress</a></li>
</ul>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.effutio.com%2Fwordpress%2Flogin-directly-from-a-page-in-wordpress-using-a-sidebar-login-form%2F34%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.effutio.com%2Fwordpress%2Flogin-directly-from-a-page-in-wordpress-using-a-sidebar-login-form%2F34%2F&amp;source=The1Path&amp;style=normal&amp;service=TinyURL.com" height="61" width="50" /><br />
			</a>
		</div>
<p>As you can see I use a sidebar login for here on Effutio.com that completely bypasses the standard Wordpress 2.8 login screen page. No big deal you may be thinking but it is one less page that users have to wait to load, it adds a professional look and encourages people to login.</p>
<p>OK now that you are convinced that being able to login from home page (or any page where the code is placed) I&#8217;ll show you how to achieve it. Ive placed my login form at the top of the sidebar but feel free to experiment putting it elsewhere (maybe the header).</p>
<p>So we need to create a form that captures and the users login details, here is mine:</p>
<pre class="brush:html">
<form action="<?php echo get_option(&amp;#039;home&amp;#039;); ?>/wp-login.php" method="post">


<input type="text" name="log" id="log" value="<?php echo wp_specialchars(stripslashes($user_login), 1) ?>" size="20" /><label for="log"> Username</label>


<input type="password" name="pwd" id="pwd" size="20" /><label for="pwd"> Password</label>
<input type="submit" name="submit" value="Send" class="button" />

<label for="rememberme">
<input name="rememberme" id="rememberme" type="checkbox" checked="checked" value="forever" /> Remember me</label>
<input type="hidden" name="redirect_to" value="<?php echo $_SERVER[&amp;#039;REQUEST_URI&amp;#039;]; ?>" />
</form>

<!--formatted--></pre>
<p>Insert this form code into your sidebar code probably between some <code>&lt;li&gt;<!--formatted--></code> tags and hey presto you have a login form that allows users to login directly from the page. You will also see a checkbox allowing users to stay logged in too just like the standard Wordpress login page (so we dont lose any functionality).</p>
<p>Lets expand on the above form by adding the option for users to register and recover their password if forgotten! These two lines of code do the job:</p>
<pre class="brush:html">
<li><a href="<?php echo get_option('home'); ?>/wp-register.php">Register</a></li>
<li><a href="<?php echo get_option('home'); ?>/wp-login.php?action=lostpassword">Recover password</a></li>
</pre>
<p>Excellent now it looks really professional and has everything we need&#8230;&#8230;.or does it. What about logging out I hear you cry! Yeh it would be cool if the option to logout only appeared if the user was already logged in! Well I&#8217;ll show you how to do that too. So how do we say &#8216;if the user is not logged in show the the login form and if not show the alternative menu with logout option&#8217;? Like this:</p>
<pre class="brush:html"><?php if ( ! is_user_logged_in() ){ ?>
<h2>Login</h2>
<ul>
<div style="float:left; width:100%;">
<form action="<?php echo get_option('home'); ?>/wp-login.php" method="post">


<input type="text" name="log" id="log" value="<?php echo wp_specialchars(stripslashes($user_login), 1) ?>" size="20" /><label for="log"> Username</label>


<input type="password" name="pwd" id="pwd" size="20" /><label for="pwd"> Password</label>
<input type="submit" name="submit" value="Send" class="button" />

<label for="rememberme">
<input name="rememberme" id="rememberme" type="checkbox" checked="checked" value="forever" /> Remember me</label>
<input type="hidden" name="redirect_to" value="<?php echo $_SERVER['REQUEST_URI']; ?>" />
</form>
</div>
<div class="cleared"></div>
<li><a href="<?php echo get_option('home'); ?>/wp-register.php">Register</a></li>
<li><a href="<?php echo get_option('home'); ?>/wp-login.php?action=lostpassword">Recover password</a></li>
</ul>

<?php } else { ?>
<h2>Control Panel</h2>
<ul>
<li><a href="<?php echo get_option('home'); ?>/wp-admin/">Dashboard</a></li>
<li><a href="<?php echo get_option('home'); ?>/wp-admin/post-new.php">Write new Post</a></li>
<li><a href="<?php echo get_option('home'); ?>/wp-admin/page-new.php">Write new Page</a></li>
<li><a href="<?php echo wp_logout_url( get_bloginfo('url') ); ?>" title="Logout">Logout</a></li>
</ul>

<?php }?></pre>
<p>You can see that I display a control panel menu when the login form is not displayed. This code is taken directly from my sidebar.php file and of course you will probably have to adapt it slightly to fit your own theme.</p>
<p>This code is designed to work with Wordpress 2.8+, it wont work in previous versions.</p>
<p>You can take this hidden menu further and I do in my <a href="http://www.effutio.com/wordpress/menu-only-logg…-users-can-see/">next tutorial here</a></p>
<span class="sfforumlink"><a href="http://www.effutio.com/forum/wordpress-tutorials/login-directly-from-a-page-in-wordpress-using-a-sidebar-login-form/"><p><img src="http://www.effutio.com/wp-content/plugins/simple-forum/styles/icons/ash/bloglink.png" alt="" /> Join the forum discussion on this post</p>
</a></span>

<ul><li><a href='http://www.effutio.com/wordpress/menu-only-logged-in-users-or-certain-users-can-see/50/' rel='bookmark' title='Permanent Link: Menu only logged in users or certain users can see'>Menu only logged in users or certain users can see</a></li>
<li><a href='http://www.effutio.com/wordpress/display-your-wordpress-posts-on-other-pages/54/' rel='bookmark' title='Permanent Link: Display your Wordpress posts on other pages'>Display your Wordpress posts on other pages</a></li>
<li><a href='http://www.effutio.com/wordpress/more-advanced-menu-only-logged-in-users-or-certain-users-can-see/88/' rel='bookmark' title='Permanent Link: More Advanced Menu only logged in users or certain users can see'>More Advanced Menu only logged in users or certain users can see</a></li>
<li><a href='http://www.effutio.com/wordpress/using-google-adsense-for-search-in-wordpress/167/' rel='bookmark' title='Permanent Link: Using Google Adsense for Search in Wordpress'>Using Google Adsense for Search in Wordpress</a></li>
<li><a href='http://www.effutio.com/web-design/page-templates-in-wordpress/191/' rel='bookmark' title='Permanent Link: Page Templates in Wordpress'>Page Templates in Wordpress</a></li>
</ul>]]></content:encoded>
			<wfw:commentRss>http://www.effutio.com/wordpress/login-directly-from-a-page-in-wordpress-using-a-sidebar-login-form/34/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->