Portfolio Category Navigation

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2359
    Jononwebjononweb
    Member

    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?

    #2376
    Livemeshlivemesh
    Keymaster

    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 –

    .single-portfolio .loop-nav { display: none; }
    
    #2486
    Jononwebjononweb
    Member

    I’m confused. I mean can the previous next link work to loop through portfolio pieces in the same category?

    #2506
    Livemeshlivemesh
    Keymaster

    Sorry – I should have been a little more clear on this. When I talked about related portfolio entries, I meant something like this –

    https://docs.google.com/file/d/0B9j6FQo4cSQFMV9Dc01QZ1gxMkE/edit?usp=drivesdk

    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 –

    https://www.livemeshthemes.com/support/forums/topic/getting-portfolio-with-slugs/#post-1772

    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.