Hi guys,
So I have a portfolio grid set up to display one category of portfolio items on a page. When clicked, the thumbnails open the single entries, with navigation arrows on each side of the entry. However, clicking the arrows takes one through ALL of the portfolio entries, not just the original category. I understand how this could be difficult to change, but it really negates the benefit of having different portfolio categories. It’s more like having one big portfolio, since you can’t provide separate navigation for each category.
I’m looking for suggestions. Maybe split the entry pages with another column. Then put a portfolio grid there for the appropriate category. Turn off the nav arrows, and add links to the other categories with a widget?
Thanks for listening…
Tim
Hi timfl!
Yes, we use the standard get_adjacent_post() function which is quite limited and which doesn’t support taxonomy terms at the moment. However the WP dev team plans to improve it with wp3.8 ( http://core.trac.wordpress.org/ticket/17807 ) and they already included a fix in the developer version. For now the only suggestion I can provide is to hide the prev/next arrows until wp3.8 is released. Insert following code into the quick css field to hide the arrows on portfolio pages:
#top.single-portfolio .avia-post-nav {
display: none !important;
}
Best regards,
Peter
Thank you so much Peter. Good to know.