-
AuthorPosts
-
May 15, 2018 at 11:55 am #956915
Hello,
I use Enfold with a Child theme with its own functions.php, style.css,…
When I update to the latest version of enfold the arrows (https://imgur.com/OneGOSX) are gone.In the functions of the child-theme is this code:
add_filter('avia_post_nav_settings','avia_same_category_filter', 10, 1); function avia_same_category_filter($settings) { $settings['same_category'] = true; return $settings; } function no_post_nav($entries) { if(get_post_type() == 'sfwd-courses') $entries = array(); return $entries; } add_filter('avia_post_nav_entries','no_post_nav'); 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('avf_builder_boxes', 'avia_register_meta_boxes', 10, 1); //Add meta boxes to custom post types function avia_register_meta_boxes($boxes) { if(!empty($boxes)) { foreach($boxes as $key => $box) { $boxes[$key]['page'][] = 'sfwd-courses'; $boxes[$key]['page'][] = 'sfwd-lessons'; $boxes[$key]['page'][] = 'sfwd-topics'; $boxes[$key]['page'][] = 'sfwd-quiz'; } } return $boxes; }
…and in no CSS-file is the “avia-post-nav” on “display: none”
…when I remove the code from the functions there is no change, so no arrowsIn enfold under “Blog-Layout” the option “Disable the post navigation” is off (no check).
Is there another option to activate the arrows again?
Is it a problem of the child theme and I have to edit the functions-code?Now I restored the page until I have a solution for the problem.
Thank you for your help!
Best regards
- This topic was modified 6 years, 6 months ago by christianichristiani.
May 16, 2018 at 5:43 pm #957623Hey christianichristiani,
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,
NikkoMay 17, 2018 at 11:00 am #958087Hello!
Attached you can find the login-data. Now you can see the arrows because the old enfold-version is installed.
Feel free to update enfold. I can restore it if a error happens.Thank you very much!
May 19, 2018 at 10:33 pm #959214Hi,
Can you please update so we can check after?
It will be easier to get the task shorted out faster.Best regards,
BasilisMay 22, 2018 at 12:08 pm #960269Hello Basilis,
I updated the page.
Thank you for your help!
- This reply was modified 6 years, 6 months ago by christianichristiani.
May 23, 2018 at 5:08 pm #960978Hi christianichristiani,
I have checked it again and I imported some portfolio entries (link in private content) and it’s working properly.
Can you give us ftp access? so we can try to enable debug and try to fix it.Best regards,
NikkoMay 24, 2018 at 10:21 am #961404Hello Nikko,
attached you can find the ftp-data. These pages in “lektionen” are from LearnDash. But before the update it worked correctly.
Thank you for your help!
May 25, 2018 at 12:35 pm #962066Hi christianichristiani,
Thanks for giving us ftp access, I have commented out this code:
add_filter('avia_post_nav_settings','avia_same_category_filter', 10, 1); function avia_same_category_filter($settings) { $settings['same_category'] = true; return $settings; }
and add this code in functions.php:
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['same_category'] = true;} if(is_singular('sfwd-lessons')) { $settings['taxonomy'] = 'ld_lesson_category'; $settings['same_category'] = true;} return $settings; }
And it works fine. Let us know if you need further assistance :)
Best regards,
NikkoMay 28, 2018 at 9:44 am #963009Hello Nikko,
thank you very much! It works great!
May 28, 2018 at 3:29 pm #963306Hi christianichristiani,
Glad that we could help :)
Feel free to comeback if you need further assistance.
Thanks for using Enfold and have a great day!Best regards,
Nikko -
AuthorPosts
- The topic ‘Next/Previous arrows gone after update’ is closed to new replies.