Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1478567

    HI
    I just noticed the side navigation on my portfolios is missing.
    I’m not sure we’re going to use it but it was there before – I don’t have any css hiding it and can’t find any other settings.
    Can you see what’s going on?
    Thanks
    Nancy

    #1478613

    Hey Munford,

    Thank you for the inquiry.

    Are you referring to the post navigation? Please note that this navigation will not display if there are fullwidth elements such as a Slider or Color Section in the page. To change this, you can add this code in the functions.php file:

    function avf_post_nav_settings_mod($settings){
      $settings['is_fullwidth'] = false;
      $settings['skip_output'] = false;
      return $settings;
    }
    add_filter('avf_post_nav_settings','avf_post_nav_settings_mod', 10, 1);

    Best regards,
    Ismael

    #1478659

    OK but that actually made all my pages have post navigation, not just the portfolio items.

    #1478711

    Hi,

    We adjusted the filter a bit. Please try it again:

    function avf_post_nav_settings_mod($settings) {
        if (is_singular('portfolio')) {
            $settings['is_fullwidth'] = false;
            $settings['skip_output'] = false;
        }
        return $settings;
    }
    add_filter('avf_post_nav_settings', 'avf_post_nav_settings_mod', 10, 1);
    

    Best regards,
    Ismael

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.