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

    Hey there,
    I am using portfolio entries, and normally there are navigation elements on the left and right side of each portfolio, so you can scroll through the pages. They have been there, I mean. Suddenly they’re gone, and I don’t know why. I’ve turned off plugins, disabled all custom CSS – no way to bring them up on screen again. Would you have a look please?
    Thank you in advance!

    #1277536

    Hi tribaleye13,

    Can you try adding this code at the bottom of your child theme’s functions.php file:

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

    Best regards,
    Nikko

    #1277746

    Hey Nikko,
    your code works, navigation in portfolio items is back again, thank you!
    Could you shortly explain why it has been deactivated?
    Best regards!

    #1277838

    Hi tribaleye13,

    You’re welcome :)
    I believe there are some elements that may have caused to change some of the values (posted in the code) which prevents the required condition for the portfolio navigation to run.
    Basically, the code above just make sure that the conditions to run the portfolio navigation is met.

    Best regards,
    Nikko

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