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)
-   -   Next/Previous Navigation on MULTI Post Pages for posts with many categories assigned (http://forum.bytesforall.com/showthread.php?t=4400)

joan Nov 12, 2009 08:24 AM

Next/Previous Navigation on MULTI Post Pages for posts with many categories assigned
Hi JuggleDad,
I previously had a problem (http://forum.bytesforall.com/showthread.php?t=3690) which I'd like to revisit for some clarification. To start from the top:

Each post has multiple categories assigned to it. Wordpress assigns only one of these categories as the 'default' category and that is the category with the lowest ID.

The problem is with the bfa_next_previous_post_links() function. When you choose to display MULTI post pages from the low ID category the bfa_next_previous_post_links() function works well, but if you choose a category with a higher ID, the Byline does not display the posts in that chosen category. This is confusing to the user that thinks they have chosen say category India, but is taken to a post in a different category/country. (www.travelhorizonstyle.com.au)

Kind regards,

joan Nov 24, 2009 04:14 AM

I am absolutely astonished that I have not had a single suggestion. Is there no one else in this forum who assigns more than one category to a post ?

Atahualpa's Next / Previous function still draws from the wordpress default, lowest ID category. Ideally, I'd like to have the function detect which category was chosen from the menu system. There is a brilliant plugin called "Ajax Category Dropdown" by DyasonHat that is able to detect which category has been chosen. (seen at the bottom right of my site). Therefore the code should be possible. So if the category "country/India" was chosen, the bfa_next_previous_post_links() does not display a post from say, "country/Africa" !!

The plugin "sCategory Permalink" by Dmytro Shteflyuk changes the URL to my preferred category, The wordpress default is the category with the lowest ID (ie, the one you created first when the blog was in it's infancy). But I'd really like to end the confusion with the Next/Prev link, or delete it from the Byline. Note that breadcrumb plugins also draw only from the lowest ID category.

Please if Juggledad is too busy, can Flynn help ? I'm happy to go digging to assist.
Kind regards,

juggledad Dec 18, 2009 04:27 AM

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

joan Dec 19, 2009 01:03 AM

Thanks JuggleDad,
Good luck with updating to 3.4.5 and changing the Next/Prev links when on a single post page. Glad you're all ok there too.

juggledad Jan 8, 2010 03:27 PM

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

All times are GMT -6. The time now is 02:38 PM.

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