Forum Replies Created
-
AuthorPosts
-
Hi Yigit. Thanks for taking a look. So it appears there is a compatibility issue between BWP minify and Enfold. That’s too bad. I appreciate you taking the time to have a look.
Rikard, deactivating plugins was the first step I took.
Also, as I mentioned in my original post, “I have this exact same website loaded on a Flywheel staging server with all the same plugins but using a different theme, and there are no loading issues whatsoever.”
I appreciate your attention and help! :)
This reply has been marked as private.June 23, 2017 at 10:09 pm in reply to: Tabs Section stopped working after update to 4.0.6 :/ #812318Hi, sorry to butt in to this thread but I’m having the exact same issue. When I try to apply the solution from Nikko:
“Please modify this file tab_section.php which can be found in: wp-content\themes\enfold\config-templatebuilder\avia-shortcodes\ folder, replace all of its content with this code: https://pastebin.com/fLLPHSqU this should fix the firefox and the special character issue.”… nothing on the live site page loads – it’s just sitting there spinning and no content ever loads. All versions of Enfold 4.07 and WP 4.8 up to date with latest versions.
And when I apply this ‘fix’ to the Enfold demo theme (also, latest versions of theme and WP) on my local dev server, I get this: “Fatal error: Call to undefined function clean() in …\wp-content\themes\enfold\config-templatebuilder\avia-shortcodes\tab_section.php on line 377”
Before updating the theme, everything worked fine.
But — amrods fix
“In /config-templatebuilder/avia-shortcodes/tab_section.php
On line# 383
$tabs .= “<a href=’#{$tab_title}’
should be;`
$tabs .= “<a href=’#’”DOES work…Thank goodness!
I just thought you guys should know that the code Nikko provided broke everything (for me).
Thanks for coming up with the solution amrod! Such a simple little thing. :)
- This reply was modified 7 years, 6 months ago by Ria. Reason: added more info again
Looks like I have to go into my site and add the markup manually.
Victoria, it’s visible on the attached screen shot image that I included on my original post, but here is a direct link to it:
Riavon.EnterprisesFebruary 1, 2017 at 10:53 pm in reply to: Can this PHP warning cause a 502 or 504 Gateway Timeout of the site? #741483Hello again. We were able to dig deeper with the hosting company (Flywheel) and involved their engineers, who responded and managed to do some magic to get the site back on the air (stop 502/504 errors).
According to Flywheel hosting, the script that was erroring out on my client’s site, causing repeated 502 and 504 Gateway Timeout errors, was as follows:
[pool site-60980] script_filename = /www//index.php file_get_contents() /www/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php:636 avia_is_200() /www/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php:568 avia_html5_video_embed() /www/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/av-helper-slideshow.php:662 set_video_slide() /www/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/av-helper-slideshow.php:305 advanced_slide() /www/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/av-helper-slideshow.php:150 html() /www/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/section.php:811 avia_new_section() /www/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/section.php:653 shortcode_handler() /www/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/shortcode-template.class.php:250 shortcode_handler_prepare() unknown:0 call_user_func() /www/wp-includes/shortcodes.php:345 do_shortcode_tag() unknown:0 preg_replace_callback() /www/wp-includes/shortcodes.php:223 do_shortcode() unknown:0 call_user_func_array() /www/wp-includes/class-wp-hook.php:298 apply_filters() /www/wp-includes/plugin.php:203 apply_filters() /www/wp-content/themes/enfold/template-builder.php:43 +++ dump failed
Flywheel said: “We forced caching across the entire site with our server caching and that seems to have kept the site up and running currently but you may want to have your Theme developer look in to that script.”
So that’s what we learned today. I wanted to give you the heads-up about this feedback from the hosting company regarding the Enfold theme.
February 1, 2017 at 4:37 pm in reply to: Can this PHP warning cause a 502 or 504 Gateway Timeout of the site? #741338Hi Rikard,
Thank you. I had already been in touch with the hosting provider, and they (for some reason) are trying to blame this timeout on that php error. Thank you for confirming what I already knew. I thought I was taking crazy pills when they told me that, even though I knew different.
September 8, 2016 at 3:18 pm in reply to: Avia Layout Builder doesn't load when the Yoast SEO plugin is active #683747Hi Ismael, thank you! First of all, I had no idea that I wasn’t up to date on the latest version of Enfold. Doh! I have the box ticked to receive updates, but for some reason I either missed the email or overlooked it. I really believed I was using the latest version (3.6.1), but I see now that I wasn’t.
I updated to Enfold 3.7.1. (as well as latest WP updates that came yesterday along with latest Yoast SEO updates which came yesterday), and now everything seems to be working fine again. Hooray!
Thanks again! You can mark this (my) topic RESOLVED. :)
September 7, 2016 at 5:03 pm in reply to: Avia Layout Builder doesn't load when the Yoast SEO plugin is active #683263Hello? Anyone from Kriesi support can you tell me if you’ve looked at the websites I provided you access to in private message? I was told to start a new topic, so I did (and others have now joined my new topic as well)… but it’s been a couple of days and I’ve had no response from support. I look forward to your response and at this point, praying for this issue to be resolved. Thanks in advance!
I’m having the same issue! I’ve done all the updates and troubleshooting. Everything works fine in the page builder if Yoast SEO is deactivated. If Yoast SEO is activated, then the Avia Page Builder does not load. :( Hoping for a solution to this problem soon.
July 28, 2016 at 8:16 pm in reply to: Adding more than one custom social media icon to the theme. #666401Got it. Hopefully this will help anyone else who also would like to add more than just one custom social media icon. Follow the tutorial linked above, and make your list of icons in functions.php like this (at least this is what worked for me by trial and error and guessing and hoping).
// Add new icons as options for social icons. function avia_add_custom_social_icon($icons) { $icons['Baidu'] = 'baidu'; $icons['Lenovo User Community'] = 'luc'; $icons['Wechat'] = 'wechat'; $icons['Weibo'] = 'weibo'; return $icons; } add_filter('avf_social_icons_options','avia_add_custom_social_icon', 10, 1);
This topic can be marked as resolved.
Jumping in here if it’s ok. This works but what about for a child theme? I tried to make a copy of the edited sections.php and add it to my child theme files, both in the same folder directory as well as just putting it in the main theme files folder. Neither worked. I change the sections.php according to these directions in the enfold theme, and it works. But, I hate to modify enfold theme files then have them not work correctly when the theme upgrades or have to remember to change this file every upgrade (which I won’t).
- This reply was modified 8 years, 5 months ago by Ria.
July 24, 2016 at 5:29 pm in reply to: Adding icons to icon list in Enfold – outdated video tutorial – I can't find it? #664417I found it! Thanks to this little tidbit “… (you can check that in Enfold > Import/Export > Iconfont Manager) …” in the documentation post here: http://kriesi.at/documentation/enfold/custom-social-icons/
Thank goodness! I had no idea that the iconfont manager had been moved and is now hidden in the import/export tab. Not that anyone replied, but if you see this, you can mark it resolved. Hopefully, this will help others in the same boat who are directed to that outdated tutorial video!Oops that’s actually what I meant! I actually DID copy the helper-responsive-megamenu.php file (I typed the wrong file name in my post above). So yes I did do the correct thing as you instructed, but it doesn’t work to save it to the child theme, only works when I make the change to the Enfold file.
————————————————-
SO………… I guess in conclusion then …………….. for anyone else who is looking to accomplish this same thing, Ismael’s instruction to edit line 239 of “helper-responsive-megamenu.php” as such:if(!$this->top_menu && !empty($item->description))
Replace it with:
if(!empty($item->description))
works perfectly well, but only if you edit your Enfold theme helper-responsive-megamenu.php file. However, if you edit and save helper-responsive-megamenu.php to your child theme directory (childtheme/includes/helper-responsive-megamenu.php) it does not work. So, although it is a good solution to the problem, for which I am very thankful – sadly, it can’t be accomplished in the true way that child themes are supposed to function. So from now on, each time I update Enfold, I’ll have to ensure this code is changed so that the site main nav menu will still look and function as my client needs it to. :(
I think I’ll head over to the Feature Requests forum and place a post asking the developers to add this ability to show the menu item descriptions as a theme functionality. It seems logical enough to me since WP enables us to use this rather neat-o functionality, then the theme should make it possible to do, rather than suppress it. (This is just my humble opinion).
All that being said, I still remain a big fan of the Enfold theme, despite this rather small issue I have with it. I will continue to build and re-build my own and my clients’ websites with this theme. The good far outweighs the not-so-good with this theme.
Thanks again Ismael and Enfold team!
Well, I tried by saving the changed includes > helper-main -menu.php into my childtheme/includes > helper-main -menu.php, but that doesn’t work. However if I make this change in the Enfold/includes > helper-main -menu.php it works perfectly. I don’t know how to make this happen in the child theme. Apparently just changing this line and saving it into the child theme directories is not the trick. :(
Ismael, thank you for your reply! I will give this solution a try later today when I can get back to this project again. Thanks again!
Redesigned my website using Enfold. As always, the theme is a joy to work with and plays nice with ‘tinkerers’ such as myself when we come up with crazy customization ideas. I look forward to continuing to build out other great websites with Enfold!
July 21, 2014 at 6:32 pm in reply to: How do I make the Single Post with full-screen wide Featured image? #293954I think I’ll see if I can figure out how to build a custom post type or customize the single.php template for my child theme. Thanks!
Hi! Yes, you can contact me via email at (Email address hidden if logged out)
Website is RiavonEnterprises.com (not built on Enfold, but will be soon!)- This reply was modified 10 years, 6 months ago by Ria. Reason: Typo correction
Thank you @Josue! And thank you once again for the quick help you gave me while I was working on this. :)
@zerozendesign hey, thanks for the heads-up about that thumbnail gallery! It’s responsive now, thanks to adding a couple lines of CSS. :)I’m already building another site with Enfold and it’s going great.
~ RiaThanks again to the Enfold team and Kriesi … I’ve been building WP websites for many years, and this theme is by far the best I’ve ever worked with for ease of setup, use, and customization. Support is helpful, respectful (no insulting ‘clear your cache’ responses), and they follow through. I am beyond impressed, and a customer for life. This is the first of many sites I’ll build with the Enfold theme:
Gypsy JuleWonderful, thank you so much! :)
This reply has been marked as private.I put it at the end of my child theme’s functions.php. I’ve successfully done that for a couple of other items as well, and they work just fine.
Here is all that is in my child theme functions.php file right now:
add_theme_support('avia_template_builder_custom_css'); add_filter('avf_postgrid_excerpt_length','avf_increase_postgrid_excerpt_length', 10, 1); function avf_increase_postgrid_excerpt_length($prepare_excerpt) { return 120; } function modify_share_title(){ return "Share this"; } add_filter('avia_social_share_title', 'modify_share_title');
Thanks! That IS exactly what I was asking about :) I understand now that we’re to modify things like this with php code placed in the functions.php file. However, sadly this code you gave me doesn’t work to make the change I am trying to make. I will see if I can figure this out on my own, or if you happen to know why it isn’t working and what I can try, that would be super.
Thanks Josue! But… I’m not sure that this is what I need. My question isn’t about localization, or translation, and it doesn’t have anything to do with languages. My question was asking you how best to go about making a specific (minor) change to the front end via an Enfold child theme.
-
AuthorPosts