-
AuthorPosts
-
October 20, 2017 at 1:37 pm #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.
October 22, 2017 at 8:20 pm #867299Hey convecto,
Could you please give us a link to your website, we need more context to be able to help you.
Best regards,
VictoriaOctober 22, 2017 at 9:44 pm #867340See 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.
October 23, 2017 at 5:10 pm #867715Hi,
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,
YigitOctober 23, 2017 at 9:15 pm #867836Perfect, 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!
October 24, 2017 at 12:11 am #867915Hi,
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,
YigitOctober 24, 2017 at 12:47 am #867923We’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
October 25, 2017 at 4:17 am #868510Hi,
We modified the code a bit. Please try it again. Don’t forget to remove the browser cache before checking the page.
Best regards,
IsmaelOctober 25, 2017 at 1:14 pm #868695Hi 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
October 26, 2017 at 8:02 am #869114Hi,
The code modification is invalid. My bad. Please try it again.
Best regards,
IsmaelOctober 26, 2017 at 7:11 pm #869293Hi,
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
October 26, 2017 at 9:12 pm #869319Hi,
Please post us your login credentials (in the “private data” field), so we can take a look at your backend.
- Install and activate ” Temporary Login Without Password “.
- Go to ” Users > Temporary Logins ” on the left-side menu.
- Click ” Create New “.
- 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 ). - Click ” Submit “.
- 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,
YigitOctober 27, 2017 at 8:37 am #869460Hi Yigit,
find your login credentials in the private field. I change the pw later when you’re done.
Thanks again!
Julian
October 28, 2017 at 4:07 pm #869940Hi,
Thank you for the info. We fixed the code. Please check if it’s correct.
Best regards,
IsmaelOctober 28, 2017 at 7:26 pm #870000Hi,
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.
October 30, 2017 at 7:08 am #870366Hi,
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,
IsmaelOctober 30, 2017 at 2:07 pm #870460Hi 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
November 3, 2017 at 3:21 am #871906Hi,
Thank you for the info. We reversed the next and previous entries.
Best regards,
IsmaelNovember 3, 2017 at 2:41 pm #872163Hey Ismael,
finally it works! Thanks a lot for your help! Have a nice weekend.
cheers, Julian
November 3, 2017 at 2:47 pm #872165Hi,
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 -
AuthorPosts
- The topic ‘Portfolio with fullscreen slider – previous and next’ is closed to new replies.