Viewing 20 posts - 1 through 20 (of 20 total)
  • Author
    Posts
  • #866691

    Hi, I know that the previous and next controls are hidden when I use the fullscreen slider on a portfolio page. Is there a way to show the controls anyway. As I see the controls are not hidden by CSS but completely eliminated from the page.

    Thanks for your help.

    #867299

    Hey convecto,

    Could you please give us a link to your website, we need more context to be able to help you.

    Best regards,
    Victoria

    #867340

    See the link in the private content area. This is an example of a portfolio project with a full page slider. As we use the fullpage slider with one image or video only, we need the page previous and next buttons. Using the color section is NO alternative for us.

    Thanks for your help.

    #867715

    Hi,

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

    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;
    }

    Post nav is disabled on portfolio items that has fullwidth elements by default.

    Best regards,
    Yigit

    #867836

    Perfect, thanks a lot! That was exactely what I was searchig for.

    Just one additional question: The previous and next navigation elements are visible now but it seems like in the wrong order. When I click on the first project the nav element for the next project is previous and not next. Is there a way to change that?

    Just click on a project in my hidden link.

    Thanks again for your great support!

    #867915

    Hi,

    Please use a child theme – http://kriesi.at/documentation/enfold/using-a-child-theme/ and add following code to Functions.php file of your child theme

    add_filter('avia_post_nav_entries', 'avia_post_nav_entries_mod');
    function avia_post_nav_entries_mod($entries, $settings)
    {
      if(is_singular('portfolio')) {
        $entries['prev'] = get_previous_post($settings['same_category'], $settings['excluded_terms'], 'portfolio_entries');
        $entries['next'] = get_next_post($settings['same_category'], $settings['excluded_terms'], 'portfolio_entries');
      }
      return $settings;
    }

    Best regards,
    Yigit

    #867923

    We’re using a child theme anyway. I added the function to our functions.php but still when I click on the first project the control for the next project is on the left side and not on the right.

    cheers, Julian

    #868510

    Hi,

    We modified the code a bit. Please try it again. Don’t forget to remove the browser cache before checking the page.

    Best regards,
    Ismael

    #868695

    Hi Ismael,

    unfortunately it doesn’t work. I updated the new code in my functions.php and cleared all caches but still the “next” control is on the left side of the page.

    Thanks for your help.

    cheers, Julian

    #869114

    Hi,

    The code modification is invalid. My bad. Please try it again.

    Best regards,
    Ismael

    #869293

    Hi,
    ist seems as it’s more complicated taht we all thought ;-(. I added your new code to my functions.php and now the previous and next control are gone again. The first code Yigit gave me to show the controls together with the fullpage slider is also still in my functions.php.

    cheers, Julian

    #869319

    Hi,

    Please post us your login credentials (in the “private data” field), so we can take a look at your backend.

    1. Install and activate ” Temporary Login Without Password “.
    2. Go to ” Users > Temporary Logins ” on the left-side menu.
    3. Click ” Create New “.
    4. Add the email address for the account ( you can use (Email address hidden if logged out) ), as well as the ” Role ” making that the highest possible and the expiry about four days
      ( do be sure that we have enough time to debug ).
    5. Click ” Submit “.
    6. You’ll now have a temporary account. Please provide us here in the private section the URL, so we can login and help you out.

    When your issue is fixed, you can always remove the plugin!
    If you prefer to not use the plugin, you can manually create a admin user and post the login credentials in the “private data” field.

    Best regards,
    Yigit

    #869460

    Hi Yigit,

    find your login credentials in the private field. I change the pw later when you’re done.

    Thanks again!

    Julian

    #869940

    Hi,

    Thank you for the info. We fixed the code. Please check if it’s correct.

    Best regards,
    Ismael

    #870000

    Hi,

    am I doing something wrong? Again I added your latest code to my functions.php and again the controls are gone. When I restore the latest code before that, the controls are still on the wrong side. I don’t get why this is such an impossible thing. Shouldn’t the previous and next function do what I want by default?

    Best regards, Julian

    • This reply was modified 7 years, 1 month ago by conflock.
    #870366

    Hi,

    Again I added your latest code to my functions.php

    We didn’t update the code here but we changed the code in your functions.php file. Please don’t change it.

    Best regards,
    Ismael

    #870460

    Hi Ismael,

    and again it does not what it should. The “next” link on a project page is still on the left side of the page and the previous link on the right.

    Please click on the first project to see! In western societies “next” is associated with going right as we read from left to right. Do you see something different than I?

    Best regards, Julian

    #871906

    Hi,

    Thank you for the info. We reversed the next and previous entries.

    Best regards,
    Ismael

    #872163

    Hey Ismael,

    finally it works! Thanks a lot for your help! Have a nice weekend.

    cheers, Julian

    #872165

    Hi,

    Glad Ismael could help! :)

    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 start new threads under Enfold sub forum and we will gladly try to help you :)

    Enjoy your weekend!

    Best regards,
    Yigit

Viewing 20 posts - 1 through 20 (of 20 total)
  • The topic ‘Portfolio with fullscreen slider – previous and next’ is closed to new replies.