Best practice with any WordPress site is to install a child theme.
Otherwise you will need a plugin to do this.
You can either write your own plugin or use one like the example below from the wordpress plugin library – Sorry I just reworded this bit. It didnt make sense.
You can download a plugin like this one instead: WP Headers and Footers
If you use the built in Enfold Cookie popups – You must put your Google Tag Manager code into the Google Services Box in the Enfold Control Panel. Otherwise the cookie popups just wont work.
If not you can just add everything using the plugin instead but this wont be compliant with GDPR because it will load unconditionally on every page.
use the plugin to add your Body tag script on all pages in the body of the aritcle.
Otherwise you can use the code below to insert the snipped from the functions.php file in your child theme or a custom plugin that mimics the functions file.
// Add Google Tag code which is supposed to be placed after opening body tag.
add_action( 'wp_body_open', 'tj_add_custom_body_open_code' );
function tj_add_custom_body_open_code() {
echo '
INSERT YOUR GOOGLE BODY TAG HERE
';
}
-
This reply was modified 3 years, 8 months ago by
thinkjarvis.
-
This reply was modified 3 years, 8 months ago by
thinkjarvis.
-
This reply was modified 3 years, 8 months ago by
thinkjarvis.
-
This reply was modified 3 years, 8 months ago by
thinkjarvis.
Just seen this post.
I have assumed you have uploaded your custom font into Enfold via the import section in the Enfold Control Panel. I have also assumed that you have then changed the font settings under General settings to match your newly uploaded fonts which will appear at the bottom of the dropdown lists.
Have you checked the font and typography settings under general styling in the Enfold Control Panel?
Have you also checked the advanced styling settings in the Enfold Control Panel to check that you have not specified font overrides?
If you are using a critical css generator or a css optimisation plugin like WP-Rocket you will need to clear the cache and regenerate your critical css files. @import is normally used in a stylesheet somewhere. You may still have a reference to the font somewhere in your settings. If you are using WP-Rocket you will also need to check the font preload settings and check you are not preloading a font you are no longer using.
Otherwise you may be using a plugin that uses Google fonts by default. You will need to check what css file the @import is in. Most plugins have the option to set the font based on the theme rather than specifying a font from Google.
I hope this helps.
Hi,
I have a strange situation starting with version 5 of Enfold. I currently confirm that the same problem version 5.1.1.
Enfold has changed the font in the backend writing articles. It has now switched to sans serif and Georgia font sizes and styles, and the ‘Custom backend block styles’ function no longer works. This is happening with the block Editor (not the Classic Editor).
How can I restore the system font as the previous situation…
Kind regards
C
hi
I want to customize the font size of the page, I change font size(size 36px ), but it doesn’t work.
hi we have a website, i want install google tag manager, I don’t know how to install.
<head>
<!– Google Tag Manager –>
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({‘gtm.start’:
new Date().getTime(),event:’gtm.js’});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!=’dataLayer’?’&l=’+l:”;j.async=true;j.src=
‘https://www.googletagmanager.com/gtm.js?id=’+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,’script’,’dataLayer’,’GTM-xxxxxxx’);</script>
<!– End Google Tag Manager –>
<body>
<!– Google Tag Manager (noscript) –>
<noscript><iframe src=”https://www.googletagmanager.com/ns.html?id=GTM-xxxxxx”
height=”0″ width=”0″ style=”display:none;visibility:hidden”></iframe></noscript>
<!– End Google Tag Manager (noscript) –>
can help me?
I didn’t use child themes (Demo Import)
Hi Jason,
I can’t seem to find the cause of the issue however this only happens on the child theme, if you switch to the parent theme (Enfold) it works properly.
It might be caching on the server side and not on the plugins.
Best regards,
Nikko
Hi,
Please try adding [nolink] in Enfold Theme Options ▸ Footer ▸ Copyright
Please review our documentation
Best regards,
Mike
Just confirmed with another site. We use Flywheel. Updated to WordPress 6.0.1 and it breaks the Enfold Advanced Builder.
When can we expect a fix?
Hi Sozo,
Thanks a lot for that link, I will be trying this out and see how it goes, I am using the Church theme / Enfold as a base and hope the formatting / design of posts stay the same?
I also wonder about tags for each of the 100’s of blogger posts, I guess it will be a manual walk thru?
Lastly, is there a similar approach for youtube videos?
Thanks!!
GB
This reply has been marked as private.
Updated to Enfold 5.1.1 and WordPress 6.0.1. Now my block builder is not working correctly. See my loom video in the private content.
- I’ve disabled all plugins and cache
- I’ve reverted back to the regular theme (disabled the child theme)
Everything is still a mess. Two websites are like this, so it must have to do with the latest update and WordPress update.
Please help! It’s not usable!
Hi Alex,
There’s always a risk of things breaking while updating a site, that’s why we recommend that you update on a staging or development copy of the site first. Also please keep backups of your site and theme settings before updating. The actual update can be done from the theme backend if you have registered your theme license: https://kriesi.at/documentation/enfold/theme-registration/
Best regards,
Rikard
Hi,
I am quite new to Enfold. Are there risks updating from 4.9 to 5? How do I do that in practically
Regards
Alex
Hi,
Could you try updating the theme to the latest version (5.1.1) to see if that helps please? https://kriesi.at/documentation/enfold/how-to-install-enfold-theme/#theme-update.
If you are looking to have a transparent header on mobile as well, then please refer to this: https://kriesi.at/documentation/enfold/header/#transparent-header-on-mobile
Best regards,
Rikard
Today I have updated 5 Enfold sites from PHP 7.4 to PHP 8.0 without any problems. However, 1 website caused a problem (www.nataliewalters.nl) after updating to PHP 8.0 and I was not able to login at WordPress anymore. I got these errors:
WordPress versie 6.0.1
Actief thema: Enfold Child (versie 1.0)
Huidige plugin: (versie )
PHP versie 8.0.20
Foutdetails
===========
Een fout van het type E_ERROR werd veroorzaakt op regelnummer 34 van het bestand /home/nataliefoto/domains/nataliewalters.nl/public_html/wp-content/themes/enfold-child/functions.php. Foutmelding: Uncaught Error: Undefined constant “‘after_setup_theme’” in /home/nataliefoto/domains/nataliewalters.nl/public_html/wp-content/themes/enfold-child/functions.php:34
Stack trace:
#0 /home/nataliefoto/domains/nataliewalters.nl/public_html/wp-settings.php(566): include()
#1 /home/nataliefoto/domains/nataliewalters.nl/public_html/wp-config.php(95): require_once(‘/home/nataliefo…’)
#2 /home/nataliefoto/domains/nataliewalters.nl/public_html/wp-load.php(50): require_once(‘/home/nataliefo…’)
#3 /home/nataliefoto/domains/nataliewalters.nl/public_html/wp-login.php(12): require(‘/home/nataliefo…’)
#4 {main}
thrown
I use Enfold Child themes on all my Enfold sites. I have set the PHP version back to 7.4 now and that solved the issue, however I would like to upgrade to 8.0 of course. So what can be the problem here?
This is my functions.php file:
<?php
/*
* Add your own functions here. You can also copy some of the theme functions into this file.
* WordPress will use those functions instead of the original functions then.
*/
function wpcodex_hide_email_shortcode( $atts , $content = null ) {
if ( ! is_email( $content ) ) {
return;
}
$content = antispambot( $content );
$email_link = sprintf( 'mailto:%s', $content );
return sprintf( '<a href="%s">%s</a>', esc_url( $email_link, array( 'mailto' ) ), esc_html( $content ) );
}
add_shortcode( 'email', 'wpcodex_hide_email_shortcode' );
function ava_image_sizes() {
remove_image_size(‘masonry’);
remove_image_size(‘magazine’);
remove_image_size(‘widget’);
remove_image_size(‘featured’);
remove_image_size(‘featured_large’);
remove_image_size(‘extra_large’);
remove_image_size(‘portfolio_small’);
remove_image_size(‘gallery’);
remove_image_size(‘entry_with_sidebar’);
remove_image_size(‘entry_without_sidebar’);
}
add_action( ‘after_setup_theme’, ‘ava_image_sizes’, 11 );
Thank you for your help!
Best Wishes,
Alwin
-
This topic was modified 3 years, 8 months ago by
Alwin.
-
This topic was modified 3 years, 8 months ago by
Rikard.
gbParticipant
Hi,
I am looking to see if there is an easier way to transfer hundreds of blogspot posts which contain words and images into wordpress posts automatically or is it going to be a painstaking process of copy and pasting them all one by one?
I want to use Enfold site like an archive hub for various media including blogs from blogspot, videos from youtube and podcasts:
blogspot: https://armodoxy.blogspot.com
Youtube: https://www.youtube.com/user/InHisShoes
blogspot podcast: http://armenianorthodoxy.blogspot.com
Any ideas?
Thanks,
GB
Hi,
Glad Rikard could help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.
Best regards,
Mike
Hi Stan,
Did you register your theme license? If not, then please refer to this: https://kriesi.at/documentation/enfold/theme-registration/
If the updates should not come through via the theme backend, then please try to install and configure this plugin: https://envato.com/market-plugin/
Best regards,
Rikard
Hi,
Thanks for letting us know, I’ll close this thread for now then. Please open a new thread if you should have any further questions or problems.
Best regards,
Rikard
Stanislas GasnotGuest
hello, my website person is trying to update our theme and I was told I need to contact you to see what I need to do to get update, my website is http://www.bgmanagement.com
thank you for gettting back to me
regards
Stan
S (Email address hidden if logged out)
I have found the token and updated the back end WordPress enfold theme update tab think it will do update check every 12 hours and ask me to say ok and go ahead
might this fix bug
Hi Albert,
Thanks for the update, and sorry again for the problem. Please note that the fix is included in Enfold 5.1.1, which was released today.
Best regards,
Rikard
I notice that my enfold theme version is not the latest how do I find token to set automatic updates Update your Theme from the WordPress
Dashboard
If you want to get update notifications for your theme and if you want to be able to update your theme from your WordPress backend you need to enter your Envato Private Token below.
A detailed description for generating this token can be found here
Enter a valid Envato private token
Check the private token
Theme Updates
Once you have entered and verified your Envato Personal Token Key WordPress will check for updates every 12 Hours and notify you here, if one is available
Your current Enfold Theme Version Number is 4.8.8.1
Hi,
We are happy that Rikard could help you out! :)
For your information, you can take a look at Enfold documentation here – https://kriesi.at/documentation/enfold/
If you have any other questions or issues, feel free to start a new thread under Enfold sub forum and we will gladly try to help you :)
Enjoy the rest of your day!
Best regards,
Yigit
Hey Cafer, merhabalar :)
Thanks for reaching out to us!
You can use the same license on your live, local and testing installations.
If you have any other questions or issues, please register to our support forum – https://kriesi.at/support/register/ using your purchase code and start new threads under Enfold sub forum :)
Regards,
Yigit
Hi @dbtpath,
Yes, it is to fix the issue caused by Content Slider. Please update Enfold to the latest version 5.1.1 – https://kriesi.at/documentation/enfold/theme-update/ :)
Best regards,
Yigit
Hi,
we would like to make changes on the webpage but every page is just showing the loading symbol.
The newest wordpress version and enfold 5.01.1 is online.
Can you help us with that problem?
Thanks a lot
rixi
Hi,
Sorry again for the problem. Please try to replace this file: /enfold/config-templatebuilder/avia-shortcodes/contentslider/contentslider.php, with this file: https://www.dropbox.com/s/vug8wdzcxduvzxy/contentslider.php?dl=0
If you need help with replacing the file in question, then please post FTP login details in private.
If you are not the author of this thread and need the same help, then please open a new thread and include admin WordPress and FTP login details in private.
Best regards,
Rikard
Hey Mehran,
Thanks for contacting us!
Please edit your Tab Section element and go to General > Tab Buttons Out Of Screen Behaviour and choose to display arrows.
If you do not have that option, you might be using an older version of the theme. If that is the case, please refer to this post – https://kriesi.at/documentation/enfold/theme-update/ and update Enfold to the latest version 5.1.
If you have any other questions or issues, please register to our support forum – https://kriesi.at/support/register/ using your purchase code and start new threads under Enfold sub forum :)
Best regards,
Yigit
Hey Rainer,
Thanks for contacting us!
Please refer to this post – https://kriesi.at/documentation/enfold/typography/#how-to-upload-custom-fonts
If you have any other questions or issues, please register to our support forum – https://kriesi.at/support/register/ using your purchase code and start new threads under Enfold sub forum :)
Best regards,
Yigit