Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Post-Kicker, -Byline & -Footer (http://forum.bytesforall.com/forumdisplay.php?f=17)
-   -   Filter next/previous navigation by category (http://forum.bytesforall.com/showthread.php?t=3690)

garyrw Oct 2, 2009 09:22 AM

Filter next/previous navigation by category
Is there a way to filter the next/previous navigation so that when you read a full post, only posts in that category show up in the navigation?

juggledad Oct 2, 2009 11:29 AM

What would want to do if the post was in multiple categories?

garyrw Oct 2, 2009 11:50 AM

For this particular site that's not an issue. Can it be done?

juggledad Oct 2, 2009 02:20 PM

it looks like the theme is using the standard WordPress nav code (wp-inlcudes/link-template.php)
so you might be able to hack at that and change how it is getting the next and previous links

joan Oct 9, 2009 08:16 PM

Hello JuggleDad
What a job you've got processing all these queries!
I think this thread is something like the problem I'm having with Ata navigation and multiple post categories.

When a post has multiple categories, the bfa_navigation code chooses the 'default' category (with the lowest ID). Choosing any other category from the site menubar (other than the default) means that the navigation does not show the other posts in that category.

I'm using the latest version of everything, and have tried "sCategory Permalink" to change the default category, but to no avail. Is there any modification I can make to Atahualpa ?

Kind regards.

juggledad Oct 9, 2009 08:50 PM

Are you trying to say that if you browse a category, the next/previous could take you into a new category?

joan Oct 9, 2009 09:30 PM

If I use the Category menu bar and choose say, COUNTRY->India, I will get a list of say 7 posts. If I click a post title, the next / previous navigation bar might display a post under the category COUNTRY->New Zealand, rather than one of the 6 other posts in India. The clicked Indian post & NZ post are both probably in the category, say, DAYS->5-10days.

The reason is the default permalink is the lowest ID category. Do you understand?

juggledad Oct 10, 2009 05:58 AM

so in this case are India and New Zealand, children of the category Countries?
need the URL because I can't recreate this.

joan Oct 10, 2009 08:03 PM

Sorry JuggleDad I thought you had the site from my login.

1. www.travelhorizonstyle.com.au
2. choose Country India (from the horizontal category bar or from the Select Tours widget)
3. click "Romantic Palaces & Forts"
4. note the 'breadcrumb' thinks we are in 'MAX PASSENGER SIZE' and that the previous tour in that category is 'Best of New Zealand'....

So step 2, is not having any affect because of the 'default' category. It stems from being able to assign multiple categories to a post, but the next/previous navigation is not able to detect which category was chosen.

BTW "Paul" I have paid a donation but it is not coming up on my login, probably because the credit card was in a different name.

juggledad Oct 11, 2009 01:03 PM

What is the plugin you are using to get the widget with the category links?.

the link in the sidebar is taking you to
HTML Code:

and this is a single POST page it's not a category page so the next/previous should be the next/previous posts nothing to do with categories

joan Oct 11, 2009 10:42 PM

I'm using "Multiple Category Selection Widget" on the right sidebar and if you choose the category for India, then the category page called "http://travelhorizonstyle.com.au/categories/385/search_type/and" appears. If you choose Country+India from the menu bar then the category page "http://travelhorizonstyle.com.au/category/country/india/" appears. Either way, when you click the post, "Romantic Castles & Forts" it does not display the permalink under "\country\india\"..., but the lowest category ID "\days\10-15days\"... As this single post has multiple categories.

I think what you're saying is that it doesn't matter which category you choose when you are in a single page, the next/previous navigation goes to the next post in the database.. Just wondering if there is anyway for Next/Prev navigation function to recognise which category was chosen, but I'm not hopeful on this one. Wordpress does not seem to cope with a single post in multiple categories very well.

BTW, do you know why my donation is not showing up against my name when I sent it after logging in? Not a high priority of course, so don't worry too much.

juggledad Oct 12, 2009 07:22 AM


BTW, do you know why my donation is not showing up against my name when I sent it after logging in? Not a high priority of course, so don't worry too much.
did you read the PM (Private Message) I sent you? Check the top right hand area fo the forum window and click on Private Message

juggledad Dec 18, 2009 05:27 AM

Added an RFE to http://forum.bytesforall.com/showthread.php?t=3650

juggledad Jan 8, 2010 04:28 PM

see http://forum.bytesforall.com/showthr...vious+category post#3 for a possible solution

All times are GMT -6. The time now is 04:15 PM.

Powered by vBulletin® Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.