<?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>/dev/zero &#187; Web</title>
	<atom:link href="http://www.devzero.it/category/web/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.devzero.it</link>
	<description>Unix power @ your service</description>
	<lastBuildDate>Sun, 10 Oct 2010 05:52:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>WordPress themes and page-links</title>
		<link>http://www.devzero.it/2009/07/wordpress-themes-and-page-links/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=wordpress-themes-and-page-links</link>
		<comments>http://www.devzero.it/2009/07/wordpress-themes-and-page-links/#comments</comments>
		<pubDate>Mon, 06 Jul 2009 05:13:07 +0000</pubDate>
		<dc:creator>unixo</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[long post]]></category>
		<category><![CDATA[nextpage]]></category>
		<category><![CDATA[page-links]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[single.php]]></category>
		<category><![CDATA[split]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wp_link_pages]]></category>

		<guid isPermaLink="false">http://www.devzero.it/?p=69</guid>
		<description><![CDATA[WordPress offers a cool feature to split a single post into different web pages, by using &#60;!&#8211;nextpage&#8211;&#62; keyword. The problem arises when you use a theme different from the default one: that&#8217;s why many theme writers forget to add the right code to the theme; if you have this problem, follow these steps: Go to [...]]]></description>
			<content:encoded><![CDATA[<p>WordPress offers a cool feature to split a single post into different web pages, by using <em>&lt;!&#8211;nextpage&#8211;&gt;</em> keyword.<br />
The problem arises when you use a theme different from the default one: that&#8217;s why many theme writers forget to add the right code to the theme; <span id="more-69"></span>if you have this problem, follow these steps:</p>
<ol>
<li>Go to the theme directory (DOC_ROOT/wp-contents/themes/<em>yourtheme</em>)</li>
<li>Look for file named <em>single.php</em></li>
<li>Look for the template tag named <em>the_content</em></li>
<li>Add a new line below and attach the following istructions:</li>
</ol>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 35px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><code>?php wp_link_pages(array('before' =&gt; '&lt;p&gt;&lt;strong&gt;Pages:&lt;/strong&gt; ',</code></div>
<p><code></p>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 35px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">'after' =&gt; '&lt;/p&gt;', 'next_or_number' =&gt; 'number')); ?&gt;</div>
<p></code></p>
<p><span style="font-family: monospace, 'Times New Roman', 'Bitstream Charter', Times, fantasy;"><span style="font-family: Consolas, Monaco, 'Courier New', Courier, monospace; line-height: 18px; font-size: 12px; white-space: pre;">&lt;</span>?php wp_link_pages(array(&#8216;before&#8217; =&gt; &#8216;&lt;p&gt;&lt;strong&gt;Pages:&lt;/strong&gt; &#8216;,&#8217;after&#8217; =&gt; &#8216;&lt;/p&gt;&#8217;, &#8216;next_or_number&#8217; =&gt; &#8216;number&#8217;)); ?&gt;</span></p>
<p>Try to reload the single post page and enjoy page-links.</p>
<p>For further informations about page-links, <a href="http://codex.wordpress.org/Styling_Page-Links">read this document</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.devzero.it/2009/07/wordpress-themes-and-page-links/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

