Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #252182

    Hey guys,
    Is there a way to separate portfolio items in a manner that when we are on the item page under a certain category…the navigation to the left and right on the item page doesn’t lead into a new category from the portfolio item page…let me know if that makes sense :)

    Thank you!
    Justin

    • This topic was modified 10 years, 7 months ago by Justin.
    #252317

    oh you’re talking about the thing where it goes back and forward through posts right? If so I was wondering the same thing

    #252324

    Yup…exactly. If we have a set of portfolio items that just displays men’s shoes for example. And there’s also a portfolio of women’s stilettos.
    If a user is browsing through the men’s shoes via the ‘back and forward’ tab, with an interest only in men’s shoes…how do we get it to stop at the 1st or last pair of shoes for men, without it jumping into the portfolio of stilettos.

    #252643

    Hi!

    Please refer to Peter’s post here – https://kriesi.at/support/topic/portfolio-link-arrows/#post-245040
    Best regards,
    Yigit

    #252717
    This reply has been marked as private.
    #252719

    Hi!

    You can add it right below following line

    	avia_nav_menus(); //call the function immediatly to activate
    }

    Cheers!
    Yigit

    #257214

    Yigit, when I tried entering the code as you instructed above, the page breaks, and I get this message: Fatal error: Cannot redeclare category_specific_post_nav() (previously declared in /home/content/l/o/r/lorenasarbu/html/dev/wp-content/themes/enfold/functions.php:355) in /home/content/l/o/r/lorenasarbu/html/dev/wp-content/themes/enfold/functions.php on line 444

    #257233

    Hey!

    If you aren’t using a child theme then it would be added at the very start of the file after: if(isset($avia_config['use_child_theme_functions_only'])) return;

    . I think Yigit might have had a quick copy+paste from a different topic.

    Best regards,
    Devin

    • This reply was modified 10 years, 6 months ago by Devin.
    #257248
    This reply has been marked as private.
    #257916

    If you are using a child theme then it can go right into the child theme.

    What the function does is check the current portfolio item’s category and then limit navigation to that category. The advancement on the left/right is determined by the published date so you can move them around to change the order in which the user would navigate to them.

    #257931

    Understood. This is all taken care of Devin.
    Thanks!

Viewing 11 posts - 1 through 11 (of 11 total)
  • The topic ‘Mobile navigation’ is closed to new replies.