Tagged: 

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #585942

    Hi!

    I have a question regarding the portfolio items. When you are viewing a portfolio item you can see one arrow to the left, and one to the right.
    These are switching between items in sorted after when they are published or created. Is it possible to make this sorting to categories? We made a website for selling boats and we are showing off different models (different categories) and we would like that if our customers press the arrows then then will view the next model within this category. Is this possible?

    Thank you for you answer

    #587049

    Hi Benjamin!

    Please add following code to Functions.php file in Appearance > Editor

    add_filter('avia_post_nav_settings','avia_same_category_filter', 10, 1);
    function avia_same_category_filter($settings) {
         $settings['same_category'] = true;
         return $settings;
    }

    Best regards,
    Yigit

    #587073

    Hi, Yigit

    Thank you for your answer!
    This code only made the whole website blank.

    #587081

    Hey!

    Your website currently loads fine on my end. Have you figured it out?
    If you removed the code after site going blank to fix it, please create a temporary admin login and post FTP logins and post it here privately

    Cheers!
    Yigit

    #587087

    Yes its currently “deactivated”

    #587102

    Hey!

    Code is in Functions.php file of your child theme and it does seem to work fine on my end. Please review your website now.
    P.S.: I noticed that you are currently using an older version of the theme. To avoid having compatibility issues, please make sure to use the latest version of the theme which is currently 3.4.7 – http://kriesi.at/documentation/enfold/updating-your-theme-files/

    Best regards,
    Yigit

    #587108

    Yes, no it’s working.
    I will update make a update asap
    Thank you!

    #587112

    Hi!

    You are welcome!
    For your information, you can take a look at Enfold documentation here – http://kriesi.at/documentation/enfold/
    And if there are features that you wish Enfold had, you can request them and vote the requested ones here – https://kriesi.at/support/enfold-feature-requests/
    For any other questions or issues, feel free to post them here on the forum and we will gladly try to help you :)

    Cheers!
    Yigit

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Switching between portfolio items’ is closed to new replies.