<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Support Forum - Topic: Several portfolios: how to show next-previous navigation only for current cat?</title>
		<link>http://www.kriesi.at/support/topic/several-portfolios-how-to-show-next-previous-navigation-only-for-current-cat</link>
		<description>Support Forum - Topic: Several portfolios: how to show next-previous navigation only for current cat?</description>
		<language>en-US</language>
		<pubDate>Mon, 20 May 2013 21:18:31 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.kriesi.at/support/search.php</link>
		</textInput>
		<atom:link href="http://www.kriesi.at/support/rss/topic/several-portfolios-how-to-show-next-previous-navigation-only-for-current-cat" rel="self" type="application/rss+xml" />

		<item>
			<title>Dude on "Several portfolios: how to show next-previous navigation only for current cat?"</title>
			<link>http://www.kriesi.at/support/topic/several-portfolios-how-to-show-next-previous-navigation-only-for-current-cat#post-74157</link>
			<pubDate>Mon, 03 Sep 2012 12:40:44 +0000</pubDate>
			<dc:creator>Dude</dc:creator>
			<guid isPermaLink="false">74157@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hey! &#60;/p&#62;
&#60;p&#62; Unfortunately it's currently not possible because WP doesn't offer a parameter to exclude certain categories or post types. We discussed the issue here: &#60;a href=&#34;http://www.kriesi.at/support/topic/portfolio-previousnext-entry-in-same-category&#34; rel=&#34;nofollow&#34;&#62;http://www.kriesi.at/support/topic/portfolio-previousnext-entry-in-same-category&#60;/a&#62; &#60;/p&#62;
&#60;p&#62;Plugins like: &#60;a href=&#34;http://wordpress.org/extend/plugins/ambrosite-nextprevious-post-link-plus/&#34; rel=&#34;nofollow&#34;&#62;http://wordpress.org/extend/plugins/ambrosite-nextprevious-post-link-plus/&#60;/a&#62; may work but I haven't tested it.&#60;/p&#62;
&#60;p&#62; Regards,&#60;br /&#62;
Peter
&#60;/p&#62;</description>
		</item>
		<item>
			<title>colorit2 on "Several portfolios: how to show next-previous navigation only for current cat?"</title>
			<link>http://www.kriesi.at/support/topic/several-portfolios-how-to-show-next-previous-navigation-only-for-current-cat#post-74137</link>
			<pubDate>Mon, 03 Sep 2012 10:08:35 +0000</pubDate>
			<dc:creator>colorit2</dc:creator>
			<guid isPermaLink="false">74137@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;I have several portfolio sections at my site: &#60;strong&#62;4 pages, each showing another portfolio category&#60;/strong&#62;.&#60;/p&#62;
&#60;p&#62;When I'm on a &#60;strong&#62;single portfolio item&#60;/strong&#62;, then I have the navigation on top of it:&#60;br /&#62;
&#38;lt;-- previous entry&#60;br /&#62;
--&#38;gt; next entry&#60;/p&#62;
&#60;p&#62;&#60;img src=&#34;http://i46.tinypic.com/174ggg.jpg&#34; /&#62;&#60;/p&#62;
&#60;p&#62;The code for this is in &#60;strong&#62;single-portfolio.php&#60;/strong&#62;:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#60;br /&#62;
&#38;lt;div class='post_nav'&#38;gt;&#60;br /&#62;
&#38;lt;div class='previous_post_link_align'&#38;gt;&#60;br /&#62;
&#38;lt;?php previous_post_link('&#38;lt;span class=&#34;previous_post_link&#34;&#38;gt;%link &#38;lt;/span&#38;gt;'.__('(previous entry)','avia_framework')); ?&#38;gt;&#60;br /&#62;
&#38;lt;/div&#38;gt;&#60;br /&#62;
&#38;lt;div class='next_post_link_align'&#38;gt;&#60;br /&#62;
&#38;lt;?php next_post_link('&#38;lt;span class=&#34;next_post_link&#34;&#38;gt;'.__('(next entry)','avia_framework').' %link&#38;lt;/span&#38;gt;'); ?&#38;gt;&#60;br /&#62;
&#38;lt;/div&#38;gt;&#60;br /&#62;
&#38;lt;/div&#38;gt;&#60;br /&#62;
&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;My problem is, these links &#34;next&#34; and &#34;previous&#34; make no difference, in which &#34;portfolio category&#34; I am at this moment:&#60;br /&#62;
they navigate through &#60;strong&#62;all portfolio categories&#60;/strong&#62;.&#60;/p&#62;
&#60;p&#62;That means, for example I am currently viewing a single portfolio item in category &#34;acryl&#34;, and the &#34;next&#34; link on top of it leads me to an item from category &#34;oil&#34;, depending on what I have posted &#60;em&#62;after this&#60;/em&#62; item. &#60;/p&#62;
&#60;p&#62;But I would like, that the &#34;next&#34; and &#34;previous&#34; navigation on top of this single portfolio items remains in ONE category. So I would like to change this code to something like this:&#60;/p&#62;
&#60;p&#62;&#60;em&#62;&#34;show the next and previous link only to posts within this category from which this portfolio post is, that you are seeing here&#34;&#60;/em&#62;&#60;/p&#62;
&#60;p&#62;How can I change the code mentioned above please?&#60;/p&#62;
&#60;p&#62;Thanks.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
