Forum Replies Created
-
AuthorPosts
-
Hello Niko,
I copied the code in my widget and indeed, it’s working fine :)
Thank you for your help!
Best regards,
AlwinHello Nikko,
I used a .png file for the favicon and that’s working fine now :)
Thanks,
AlwinHello Nikko,
I followed your steps, but in the end this is the code I get:
[av_button label='Online-Reservierung' icon_select='no' icon='ue800' font='entypo-fontello' link='page,54' link_target='' size='medium' position='center' label_display='' title_attr='' color_options='color_options_advanced' color='theme-color' custom_bg='#444444' custom_font='#ffffff' btn_color_bg='custom' btn_custom_grad_direction='vertical' btn_custom_grad_1='#000000' btn_custom_grad_2='#ffffff' btn_custom_grad_3='' btn_custom_grad_opacity='0.7' btn_custom_bg='#08a300' btn_color_bg_hover='theme-color-highlight' btn_custom_bg_hover='#444444' btn_color_font='white' btn_custom_font='#ffffff' btn_color_font_hover='white' btn_custom_font_hover='#ffffff' border='none' border_width='' border_width_sync='true' border_color='' border_radius='' border_radius_sync='true' box_shadow='none' box_shadow_style='0px,0px,0px,0px' box_shadow_color='' hover_opacity='' sonar_effect_effect='' sonar_effect_color='' sonar_effect_duration='1' sonar_effect_scale='' sonar_effect_opac='0.5' id='' custom_class='' template_class='' element_template='' one_element_template='' av_uid='' sc_version='1.0' admin_preview_bg='']
That doesn’t seem like a shortcode to me? :)
Thanks,
AlwinHello Niko,
Thank you for your help.
The point however is that .ico files are allowed (see the link you provided yourself):
https://codex.wordpress.org/Uploading_FilesWordPress supports uploading the following file types:
.jpg
.jpeg
.png
.gif
.icoIn the past I could always upload .ico files without any problems, and it should be no problem now either. But it is, so how to proceed now?
Thanks,
AlwinOkay, so I have to change
add_action(‘wp_footer’, ‘alwin_clicky_analytics_footer’);in this
add_action(‘wp_head’, ‘alwin_clicky_analytics_footer’);and not in this?
add_action(‘wp_head’, ‘alwin_clicky_analytics_head’);Thanks :)
AlwinThank you very much Mike :)
One last question: the code is now in the footer but is it also possible to use code that adds the code in the header?
Alwin
Hello Mike,
You say “the quotes have changed into curly quotes from copying the code from an email and not from the forum” and that was the issue!
I have copied the code directly from the forum and now it seems to be working fine!One related question: the functions.php file is included in the Child Theme by deafult and is initially an empty file. Isn’t it then the case that the functions.php file in the Child Theme overwrites the functions.php file in the parent theme, which seems to be strange because the functions.php in the Child Theme is empty by deafult?
Or does a functions.php file in a Child Theme work differently than, for example, a footer.php file in a Child Theme, which always overrides footer.php in a parent theme?
Thank you very much for your help!
Hello Rikard,
I thought to be smart and put this Clicky code in the Enfold settings/Google Services/Google Analytics Tracking Code field:
<script async src=”//static.getclicky.com/101348066.js”></script>
However, that does not seem to work, the Clicky code is not added to my website, I can’t find it in the source code either.
So this Google Analytics field only really works with GA code?
(in the Ptivate Content my login credentials)
The plugin doesn’t work well anyway, so I’d still like to add the Clicky code to my functions.php file.
As mentioned above, the above code led to a critical website error.
Do you have any other code I can try, and then maybe have the code placed not in the footer but in the header?
I have a similair issue with a header sidebar; after the update the fomt size from the Menu list changed to 13 (used to be 17).
Hello Rikard,
That code causes a critical site error.
However, i have found a better plugin now to ad the Clicky code, so for now i will use that!
Thank you,
AlwinHello Rikard,
I also had a footer.php file in my child theme. After deleting the footer.php from the child theme (which was possible for me because there where no important modifications in there) the footer was back to normal again.
– This is a bug in the latest Enfold update? Because normally it should be possible to have a footer.php file in a child theme without any issues, correct?
– I also have header.php and functions.php files in my child themes. No issues with these files are know, after the latest Enfold update?Thank you for your help :)
Alwin- This reply was modified 2 years, 9 months ago by Alwin.
I have excact the same problem! But strange enough only on 1 Enfold site (I have 5 Enfold sites).
My normal widgets are gone in the footer and I suddenly see these widgets instead:
Column 1 = Interesting Links
Column 2 = Page Links
Column 3 = Category LinksWhen I go to Appearance > Widgets I can see my own created widgets are still there, but just not showing on the front end.
The problem is on this website:
Thanks for your help :)
AlwinHello Yigit,
I changend the code (line 413) but it did not help (see greenconnections.nl; the text is still green not white)
Alwin
Thank you Yigit!
Do you mean I have to replace the code in the /enfold/config-templatebuilder/avia-shortcode-helpers/class-avia-slideshow.php with the new code?
So the file still will be namen /enfold/config-templatebuilder/avia-shortcode-helpers/class-avia-slideshow.php ?I have these problem on multiple sites, I will send you admin access for greenconnections.nl
At the homepage you see a green text in the Fullwidth Easy Slider (SAMEN BRENGEN WE DUURZAME VERANDERING OP GANG) which should be white instead of green. It was white before the last update.You say GTmetrix does check the whole page and load all resources. That seems very logical indeed. However, when I enable lazy loading on images that are not insite a gallery, and for example 2 images, then the total reguests in GTmetrix are 2 less.
@ Hokuspokus,
I use the option “Live test” in Search Console. As I already explained turning of Enfold cache will cause problems with loading all resources. Turning Enfold cache options on, and all resources are loaded.
So it seems to me that Google always tries to load all resources in “Live test”!
I have 22 websites in Search Console and for all these websites Google is loading ALL resources :)
Alwin
Hello Ismael,
You say that the Enfold settings merges all css and js files on the site, so that’s basically the same thing wp-rocket also does with the same settings.
I tested with different settings. Enfold cache settings on/off in combination with wp-rocket minify/combine settings on/off. I am now noticing the following:
— If I have the Enfold cache options turned on, it no longer seems to make a difference whether the wp-rocket minify/combine functions are turned on or not. In both combinations the GTmetrix result is the same, so same number of connections, page size, and so on.
– So if I disable the Enfold cache options but enable the minify/combine functions in wp-rocket, it gives the same result as the other way around, but with one difference: in Google Search Console, more than half of the resources cannot be loaded when the Enfold cache options are disabled.
In short: turning off the Enfold cache options leads to error messages in Google Search Console, the Google bot cannot load all resources anymore, and this might also cause problems with indexing by Google.
I have tested the above on 3 different Enfold sites, all with the same (bad0 result in Google Search Console when the Enfold caching is turned of.
Yes, on the page I am talking about:
I can see the lazy attribute in the code. However, running a GTmetrix test with Lazy Loading enabled gives me the same amount of requests has with Lazy Loading disbaled. Gtmetrix is only loading the top of the page I think, so the images in the gallery should not be loaded and there should be 4 less requests?
Hello Ismael,
Are the Enfold>Peromance options CSS file merging and compression/Javascript file merging and compression
only merge/compress the “own” Enfold theme files?Or does this option merge/compress all the website CSS and Javascipt files?
I changend Perfect grid to flexible grid but the images in the gallery are still not lazy loaded?
Hello,
Some more questions about these Enfold>Perfomance settings:
– CSS file merging and compression (merge and compress all theme CSS files)
– Javascript file merging and compression (merge and compress all theme javascript files)– When my website is using http/2 it maybe better to not merge CSS and Javascipt files? Unfortunately it seems not possible to only choose compression and leave merging disabled?
For that reasson I think of disabling these Enfold settings and instead use WP-Rocket, because in WP-Rocket I can choose to compress CSS and Javascript and keep merging disabled.
I have tried that on 1 website for now, and first it seems to work fine. But after inspecting the URL’s from this website in Google Search Console I see that Google is not able to donload al resources on the page. These are the resources that can not be downloaded by the Google bot:
/wp-content/cache/min/1/wp-content/themes/enfold/css/avia-snippet-widget.css?ver=1641392185
Maybe these are “old” leftover cache files from the Enfold>Performance compress/merge settings that I have turned of?
Thanks,
AlwinI enabled Lazy Load for some images now and in GTMetrix i can see that these images are indeed lazy loaded now :)
However, it seems that images that are in a mansonary Gallery are not lazy loaded, while I do have lazy loading enabled for the photos in the gallery.
Is that correct? Does it only work for images outside galleries?
Hello Ismael,
When you say “But please note that when the global settings is disabled, it will override and also disable the elements’ lazy loading option” do you mean that it is still possible to enable Lazy Loading at image level but that it will not work anymore?
Because when I disable Lazy Loading in the global settings, it is still possible to enable it at the image level. So that’s a little bit confusing..?Other questions about Lazy Loading:
– Is it correct that I can set Lazy Loading per image? So for example disbale Lazy Loading for images at the top of a page, and enable Lazy Loading for images on the bottom of the (same) page?
Thanks,
AlwinThank you, I wil keep jQuery Migrate library enabled and ignore the error.
I also discovered that this specific error is onli in Chrome, not in Firefox.
Just to be sure; can it be that my custom css is causing this error:
#socket { font-size: 14px !important; }
#footer .widget p {
font-size:15px !important;
}.container_wrap {
clear:both;
position:relative;
border-top-style:solid;
border-top-width:0px;
}.avia-button.avia-size-large {
padding:14px 28px 14px;
font-size:17px;
min-width:120px
}/*tagcloud*/
.tagcloud br{display:none;}
.tagcloud a{font-size: 15px !important;padding:2px 8px;margin:0 1px 1px 0;display:block;float:left;border-style: solid;border-width: 1px;text-decoration: none;}.tagcloud a:hover{
text-shadow: none;
text-decoration: underline;
}.widget_tag_cloud h3{
border:none;
}/*recentcomments, recent entries*/
.recentcomments, .widget_recent_entries li{
padding:10px 0;
display:block;
font-size: 0.92em;
line-height: 2.6em;
}.recentcomments a, .widget_recent_entries li a{
font-style: normal;
font-family: “Verdana”, “Times New Roman”, Helvetica, Arial, sans-serif;
}.recentcomments, .widget_recent_entries li{
border-top-width:1px;
border-top-style: solid;
}.recentcomments:first-child, .widget_recent_entries li:first-child{
border-top:none;
}.entry-content-wrapper li {margin-left: 0em;padding:3px 0;}
Thanks,
AlwinPrging the cache does not help.
Is this a issue that really needs to be solved, or can I savely just leave it like it is?
Great, thank you :)
Alwin
Hello Ismael,
I know that The option in the Enfold > Performance panel actually disables the jQuery Migrate library.
There should be no plugin that is causing this issue, becaue the same plugins I use on my other Enfold websites without having this error.
I run some tests in GTmetrix today and this is what I see in the Waterfall Chart under the JS tab:
jquery.min.js?ver=3.6.0
wp-embed.min.js?ver=f228a83ae8e214d58393d59522cbc897I all my other Enfold websites I see this:
jquery.min.js
wp-embed.min.jsSo without the query strings.
In all my Enfold sites I use this settings in Enfold > Performance panel:
– Remove Query Strings from Static Resources: Leave query strings
– Disable jQuery Migrate: Enabled (so the Query Migrate library is disabled)So all my Enfold sites are not using the query strings, even when Leave query strings is enabled. How is that possible?
And also, what can be the cause for my issue with my latest build website? -
AuthorPosts