-
AuthorPosts
-
June 25, 2014 at 8:39 pm #283747
Please help me out, the pesky ‘previous’ and ‘next’ portfolio UI controls are hidden wherever there is a ‘simple fullscreen’ slider’ incorporated. I think there might have been a code mod from my side a long time back but then with a recent update of Enfold I’m wondering if somethinhg changed and they disappeared – it’s quite a big issue and I’d have flagged it sooner.
PREV / NEXT ARROWS – GREAT
http://freelancewebdesign.co.za/portfolio-item/website-user-interface-design/NO ARROWS – NOT GREAT
http://freelancewebdesign.co.za/portfolio-item/oway-website-user-interface-design/Thanks in advance.
June 26, 2014 at 2:07 am #283862Hi fusion01!
Thank you for using the theme!
Please add this on functions.php:
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; }
Best regards,
IsmaelJune 26, 2014 at 2:57 am #283869Thanks. Well I did neaer the bottom of the theme’s function.php file (located at ‘wp-content’ > ‘enfold’ > root) but the site fails to then load with the error: “Parse error: syntax error, unexpected ‘function’ (T_FUNCTION) in /usr/www/users/freelan/newsite/wp-content/themes/enfold/functions.php on line 433”
Please advise further.
June 26, 2014 at 7:48 am #283930Hi!
It does work when I test it. Please place it at the very bottom of functions.php file. Make sure that you copy the whole code. If possible, place the whole functions.php on pastebin.com. We’ll check it.
Regards,
IsmaelJune 26, 2014 at 2:55 pm #284104Worked a charm pasted right at the bottom! Thanks!
Big question here with this now is when updating the theme and functions.php file, will this mod be overwritten? Have to dig it up each time I update?
June 27, 2014 at 2:25 pm #284572Hi!
Yes, each update will overwrite this mod. You can install a child theme and place the code into the child theme functions.php file if you want an update-safe solution. http://kriesi.at/documentation/enfold/using-a-child-theme/
Cheers!
Peter -
AuthorPosts
- You must be logged in to reply to this topic.