Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #661909

    Hey Enfold Team,

    I’m using the enfold child theme and I’m very happy with it. However, I do have a problem with the navigation arrows. I searched through the forum and could find those following code snippets but both are not working for me.
    add_filter(‘avia_post_nav_settings’,’avia_remove_fullwidth_slider_check’, 10, 1);
    function avia_remove_fullwidth_slider_check($settings)
    {
    $settings[‘is_fullwidth’] = false;
    return $settings;
    }

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

    Thank you in advance.

    Kind regards,
    Ersin

    #661977

    Hey ersink,

    Thank you for the kind words, as i understand the arrows on the fullscreen slider do not appear correct?

    On the example link above i did not find the fullscreen element please post us a precise link where we can see the issue and we may need the wordpress login info to check the backend setup.

    Best regards,
    Vinay

    #663161

    Hey Vinay,

    thanks for you quick response. It is a fullscreen slider but it contains just one picture.

    Cheers,
    Ersin

    #663200

    Hi,

    The purpose of the arrow is to navigate to the next slide since there is only one image the arrow is disabled by default to avoid confusing the users into thinking there are more slides. The fullscreen slider arrows will appear when there are more than one image in the slide.

    Hope this helps let us know if you have any questions.

    Best regards,
    Vinay

    #663205

    Hey Vinay,

    I’m looking for the functionality to swipe between the post and not the image.

    Please have a look at the link where it does work but not for the link in my inital post.

    Thank you,

    #663919

    Could you have a look?

    This posted solution didnt help me:

    https://kriesi.at/support/topic/navigation-arrows-not-working-on-portfolio-neither-with-function-added/

    Any hints?

    Cheers
    Ersin

    #664607

    Hi,

    Do you want to filter items on the same category? Please replace the whole code with this:

    add_filter('avia_post_nav_settings', 'avia_post_nav_settings_mod');
    function avia_post_nav_settings_mod($settings)
    {
      if(is_singular('portfolio')) {
        $settings['taxonomy'] = 'portfolio_entries';
    	$settings['is_fullwidth'] = false;
      }
    	$settings['same_category'] = true;
    	return $settings;
    }

    Best regards,
    Ismael

    #681882

    Hey Ismael,

    Sorry for the late response. However, thank you very much for your support. It worked well for me.

    Cheers,
    Ersin

    #682418

    Hi Ersin,

    Great, glad we could help :-)

    Please open a new thread if you should have any further questions or problems.

    Regards,
    Rikard

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Arrow Navigation with full-slider’ is closed to new replies.