I have multiple portfolio categories and they are displayed separately under separate pages. However when I navigation through these portfolio entries using “Previous” and “Next”, it takes me to the next piece not based on the category I am in, but rather the overall portfolio poll. How can I fix this?
I feel it makes more sense to display related portfolios which are in the same category (instead of previous and next links). You can use portfolio shortcode for displaying the portfolio items that belong to the category of the portfolio item being currently displayed. Hope this works for you.
Another option is to perhaps display a button with link back to the portfolio page for that category instead of next/previous links. Let me know if you need further help. Thanks.
You can hide the next and previous links with the custom CSS –
and you can use the post_snippets shortcode inside the portfolio entry content to generate these related entries by specifying the filter for current portfolio category (terms) in the shortcode as linked here –
Alternatively, you can have a button replace the next and previous links. This button would navigate back to the page which lists the portfolio items for that category. Just like the Launch project or View Website button, you would have an additional button which helps the user navigate back to the page from which the portfolio entry was opened.
The next and previous links cannot be changed to navigate among the related entries only. The code posted above just hides these next and previous links. Hope this helps.
Viewing 4 posts - 1 through 4 (of 4 total)
The forum ‘Squash Theme Support’ is closed to new topics and replies.