• 0
Sign in to follow this  
Followers 0

post navigation within same category

Question

Posted · Report post

is there a custom css code for limiting the post navigation bar to posts withing the same category or tag?

Share this post


Link to post
Share on other sites

7 answers to this question

  • 0

Posted · Report post

Hi Linkfr 

 

Please can you create you own forum topic regarding this with full details of what you want to achieve and links to your site etc. 

 

Also, this topic is from 2011 and may no longer be relevant. 

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

create a file in your PlatformBase root folder called template.postnav.php Then copy in this: `

<?php previous_post_link('%link','%link',TRUE) ?> <?php next_post_link('%link','%link',TRUE) ?>
` That should do it

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Hi Adam. I am brand new to Pagelines. Just installed Platform Pro last night. I was looking on the forums for a way to remove the previous post/next post are altogether, when I came across your post. I didn't know that this was possible for the navigation to stay within a single category. I know you posted how to do it above, but I'm not a programmer so I don't know where to put that code you specified. Does this mean that I should create a folder on my website's directory? And if so, how do I put that code inside it? Thank you for your help.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

You can remove it all together if you remove the Posts Info section from the template setup - single post content area. Otherwise you need to use the platform base child theme and follow the instructions above.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Hi there,

 

I would like to do the same in Platform basic theme: show only posts of the same category in post navigation bar.

 

But the code posted was removed...

 

Could someone please let us know how to achieve this?

 

Thanks!

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Ok, thanks, i will.

 

By the way... I know it's silly but i always take half an hour to find out how to post a new topic... Where is the button to do so?

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Select the category to post in from the front page of the forum and then on the right is the 'Start new topic' button . http://d.pr/i/yfGO

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0