<?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>WordPress Hacks &#187; WordPress Page Menu</title>
	<atom:link href="http://wphacks.com/tag/wordpress-page-menu/feed/" rel="self" type="application/rss+xml" />
	<link>http://wphacks.com</link>
	<description>WordPress Themes, Plugins, Hacks, Tutorials, and more!</description>
	<lastBuildDate>Thu, 02 Feb 2012 15:20:21 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>New Page Menu Function &amp; Sticky Posts in WordPress 2.7</title>
		<link>http://wphacks.com/page-menu-function-sticky-posts-wordpress-27/</link>
		<comments>http://wphacks.com/page-menu-function-sticky-posts-wordpress-27/#comments</comments>
		<pubDate>Mon, 17 Nov 2008 08:00:49 +0000</pubDate>
		<dc:creator>Kyle Eslick</dc:creator>
				<category><![CDATA[Hacks]]></category>
		<category><![CDATA[Sticky Posts]]></category>
		<category><![CDATA[WordPress Code]]></category>
		<category><![CDATA[WordPress Functions]]></category>
		<category><![CDATA[WordPress Hacks]]></category>
		<category><![CDATA[WordPress Page Menu]]></category>

		<guid isPermaLink="false">http://wphacks.com/?p=1248</guid>
		<description><![CDATA[If you are a theme author, there is a lot of work to do to prepare for WordPress 2.7.   The comments.php will need to be revamped to take advantage of the new features, but there are also a lot of other things which are changing as well.  These changes are for the better, but are [...]]]></description>
			<content:encoded><![CDATA[<p>If you are a theme author, there is a lot of work to do to prepare for WordPress 2.7.   The comments.php will need to be revamped to take advantage of the new features, but there are also a lot of other things which are changing as well.  These changes are for the better, but are kind of a hassle for the time being.</p>
<p>In case you missed it, both Justin Tadlock and Nathan Rice have been working hard at posting tutorials for theme authors to use to get their themes updated.  Justin Tadlock recently wrote a great post about the <a href="http://justintadlock.com/archives/2008/11/10/new-page-menu-function-in-wordpress-27">new page menu function</a> in WordPress 2.7 and explains how to save some time when coding the wp_list_pages() function.   Here is the code Justin recommends:</p>
<p><code>&lt;?php wp_page_menu('show_home=Home&amp;menu_class=page-nav'); ?&gt;</code></p>
<p>Gone are the days when you have to manually code a home button, which is now done automatically with this code.    This code will also wrap the menu in a page-nav div class, making styling your menu easy.</p>
<p>Justin also explains how to change the output from a child theme or plugin and how to make the page menu of your theme backwards compatible so theme designers can release themes which will be compatible with both WordPress 2.7+ and earlier versions, so I <a href="http://justintadlock.com/archives/2008/11/10/new-page-menu-function-in-wordpress-27">recommend you check it out</a>!</p>
<p>At the same time, Nathan Rice has published the <a href="http://www.nathanrice.net/blog/definitive-sticky-posts-guide-for-wordpress-27/">Definitive Guide to Sticky Posts in WordPress 2.7</a>.  This is good information to have, as WordPress 2.7 will include a new &#8220;sticky post&#8221; feature, meaning you won&#8217;t need to use a plugin (or edit the timestamp) to easily feature posts at the top of your WordPress blog.</p>
<p>Great work Justin and Nathan!</p>
<img src="http://wphacks.com/?ak_action=api_record_view&id=1248&type=feed" alt="" /><p>You are reading <a href="http://wphacks.com/page-menu-function-sticky-posts-wordpress-27/">New Page Menu Function &#038; Sticky Posts in WordPress 2.7</a>  © 2008 | <a href="http://wphacks.com">WordPress Hacks</a> | <a href="http://wpnexus.com">WordPress Directory</a> | <a href="http://wpforums.com/">WordPress Forums</a> | <a href="http://wpebook.com/">WordPress eBook</a></p>

<p><small>Enjoy writing about WordPress?  Get your blog more exposure by joining the <a href="http://wphacks.com/write/">WordPress Hacks writing team</a>!</small></p>]]></content:encoded>
			<wfw:commentRss>http://wphacks.com/page-menu-function-sticky-posts-wordpress-27/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

