Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #243804

    Hello,

    I am having a similar problem as listed in this post: http://www.kriesi.at/support/topic/portfolio-category-linking/

    Basically I want to use the portfolio previous and next arrows but I don’t want them to cross categories because it is confusing. Is this possible?

    Thanks

    Andrew

    #245040

    Hey awilson3rd!

    Try to add this code to the theme functions.php file:

    
      function category_specific_post_nav($settings)
      {
          if($settings['taxonomy'] == 'portfolio_entries')  $settings['same_category'] = true;  
          return $settings;
      }
    
      add_filter('avia_post_nav_settings','category_specific_post_nav', 10);
    

    Note that the code will only work with WP3.8+ and Enfold 2.6.+

    Regards,
    Peter

    #245047

    Thanks Peter,

    Will give it a go.

    Andrew

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Portfolio Link Arrows’ is closed to new replies.