-
AuthorSearch Results
-
January 14, 2024 at 9:43 pm #1430092
Topic: Enfold Pre-Sale Question
in forum Pre Sale QuestionsChip Jones
GuestHi there, had two questions… one, will Enfold continue to be updated in the future? (I am having a bad experience with another theme builder). Two, will Enfold be update to support WooCommerce 8.2+ and if so, will it also support the required PHP update to PHP 7.4? Thank You!
January 13, 2024 at 4:41 am #1429965Hi Vanwynsberghe Bart,
You cannot update the theme anymore using API key with Enfold 4.0.7, you’ll need to use a personal token for that, in order to generate it, please follow the instructions in our documentation: https://kriesi.at/documentation/enfold/theme-registration/#how-to-generate-a-envato-personal-token
Please do the following process:
First make a backup:
– Site Backup: https://kriesi.at/documentation/enfold/backup-wordpress-site/
– Theme Settings Backup: https://kriesi.at/documentation/enfold/backup-theme-settings/Option 1: Use Envato Market to update your site
– link: https://envato.com/market-plugin/Option 2: Update manually
1. Login to ThemeForest and download the Enfold theme, right-click over the downloaded zip file and extract/unzip it.
2. It should generate a new folder, open it and look for the enfold folder
3. Right-click the enfold folder then zip it, here’s a tutorial on how to create a zip file in windows: https://www.howtogeek.com/668409/how-to-zip-and-unzip-files-on-windows-10/ (this should create enfold.zip
4. Log in to WordPress as and Admin.
5. Install and activate a maintenance plugin and put your site in Maintenance mode.
6. Go to Appearance > Themes, switch to a default WordPress theme like TwentyTwenty then delete Enfold.
7. Click on the ADD NEW button.
8. Click on the UPLOAD THEME button.
9. Click BROWSE and choose enfold.zip file
10. Click the INSTALL NOW button and switch to Enfold or your child theme.
11. Remove the maintenance mode then deactivate and remove the maintenance plugin.Then register the theme by following the instructions in https://kriesi.at/documentation/enfold/theme-registration/
Once this is done, the next time you update, you’ll only need to go to Enfold > Theme Updates and click on the Update button.Once the latest version of Enfold is installed and activated, update your PHP version from 7.4 to 8.2.
Hope it helps.
Best regards,
NikkoJanuary 12, 2024 at 8:35 pm #1429946Vanwynsberghe Bart
GuestHi,
I’m using the Envato Forrest Theme for 4 years now and it always served my real well.
Yet, lately I have 2 problems:.
I try to contact the author of the Envato Enfold Theme to ask my 2 questions and hope this is te right place to be therefor:.1. If I update the PHP from 7.4 to 8.2, then I can no longer get acces to my dashbaord.
I have try to ugrade the theme versoin 4.0.7.but that doesn’t works. If I set the PHP back to 7.4 I get back access to my Dashboard.2. I can not change any images anymore on my wordpress website (Enfold Theme). Also putting a new picture into a (new) element is not working anymore.
I had a 1 houre chat with Vimexx (my Dutch hoster) and they told me to send you this faultmessage:
[lsapi:error] [pid 55953:tid 140055343503104] [client 185.220.173.16:60547] [host http://www.barthsmusic.eu] Backend fatal error: PHP Fatal error: Unparenthesized
a ? b : c ? d : eis not supported. Use either(a ? b : c) ? d : eora ? b : (c ? d : e)in /home/barthsm/domains/barthsmusic.eu/public_html/wp-content/themes/enfold/functions-enfold.php on line 265n,I do hope sincerely that you can help me.
Best regards,
BartJanuary 11, 2024 at 4:37 pm #1429821In reply to: loop back to first post in category
@Guenni007 thank you! And here I was looking to add more code to the functions.php ¯\_(ツ)_/¯
Thanks again!January 11, 2024 at 8:44 am #1429787In reply to: Align Buttons
Hi,
Thank you for the screenshot.
We edited the script in the functions.php file to enable cells to readjust when the browser size changes. Here is the updated code.
function grid_row_special_headings_and_text_blocks_equal_heights() { ?> <script> (function($){ function resizeGridCells() { var width = $(window).width(); if (width > 767) { $('.page-id-3083 .av-layout-grid-container').each(function(){ var $specialHeading = $('.flex_cell .av-special-heading-tag',this); var $textBlock = $('.flex_cell .av_textblock_section p',this); var specialHeadingHeight = Math.max.apply(Math, $specialHeading.map(function(){ return $(this).height(); }).get()); var textBlockHeight = Math.max.apply(Math, $textBlock.map(function(){ return $(this).height(); }).get()); $specialHeading.height(specialHeadingHeight); $textBlock.height(textBlockHeight); }); } } $(window).on('debouncedresize', function() { resizeGridCells(); }); resizeGridCells(); })(jQuery); </script> <?php } add_action( 'wp_footer', 'grid_row_special_headings_and_text_blocks_equal_heights', 99 );Best regards,
IsmaelJanuary 10, 2024 at 4:11 pm #1429748In reply to: Testing SiteGround CDN I get x-proxy-cache: MISS
Hey Francesco,
Thanks for your patience the file that the report seems to point to: /wp-content/themes/enfold/includes/helper-privacy.php
is for the theme cookie settings, but it doesn’t look like you are using the theme cookie settings on your site, it looks like you are using a third party cookie manager.
The cookie PHPSESSID is the default WordPress session cookie.
I would first recommend disabling all of your plugins including your third party cookie manager and check again.
In another thread the SiteGround support has said that the WPML plugin uses the WordPress PHPSESSID and this leads to the SiteGround cache to fail, so your third party cookie manager, or another plugin may also be doing the same on your site.
Since you are not using the Theme cookie settings the file above would not be loaded, but please check the settings at Enfold Theme Options ▸ Cookie Consent ▸ Cookie Consent Message to ensure that you have this disabled, perhaps you are using a combination of the two that I don’t know about.
I would also point out that in another thread the SiteGround support has said that the files at:
\enfold\config-layerslider\LayerSlider\assets\classes\class.ls.exportutil.php ▸ line 178
\enfold\framework\php\wordpress-importer\avia-export-class.php ▸ line 215
contain the line header(‘Pragma: no-cache’); and this also causes the SG cache to fail, but these files are only loaded in the backend when a admin exports the theme settings, so this would not be loaded on the frontend or be a part of a cache.
You can try to manually remove these line to see if this helps your situation.
If it does then perhaps the SG cache is adding backend files to the cache in error.
Another solution that one user found helpful was to add this code to the child theme functions.php, which is from this Stack Exchange solution to override the WordPress default PHPSESSID to solve issues with a Varnish server.function varnish_safe_http_headers() { header( 'X-UA-Compatible: IE=edge,chrome=1' ); session_cache_limiter(''); header("Cache-Control: public, s-maxage=120"); if( !session_id() ) { session_start(); } } add_action( 'send_headers', 'varnish_safe_http_headers' );Hopefully one of these suggestions will help you, it’s kind of a hard issue because each SiteGround support tech points to a different cause, but they all seem to point to the WordPress default PHPSESSID breaking the SG cache.
Best regards,
MikeJanuary 10, 2024 at 2:01 pm #1429720Topic: PHP Version
in forum EnfoldSchock-Fensterwerk
ParticipantHallo, wir haben aktuell das Problem, dass unsere WordPress-Seite und einige Plugins ein PHP-Update fordern. Egal auf welche Version (8.1, 8.2) wir updaten kann die Seite nicht mehr geladen werden. Laut unserem Hosting-Anbieter liegt das an fehlender Kompatibilität des Themes.
Word-Press-Version: 6.4.2
PHP-Version aktuell: 7.3.33
Enfold-Version: 4.5.6Laut unserer Seite ist bis auf die PHP-Version nun alles auf aktuellem Stand. Auf welche PHP-Version können wir updaten bzw. was können wir tun, damit wir PHP updaten können und unsere Website trotzdem funktioniert?
Vielen Dank vorab
January 10, 2024 at 12:14 pm #1429709In reply to: cache not working
Hi,
As I read their report he PHPSESSID cookie is defined by the wp-content/plugins/sitepress-multilingual-cms/
So I guess your SG cache is not campatable with the WPML plugin and you should disable it.
They say that they found a no-cache in the /wordpress-importer/avia-export-class.php but this is only used when you export the theme settings, these files are only loaded on the backend when you perform an export of the theme files. If you want to manually remove this from the theme you can by editing the files below, but the theme export feature may not work correctly and you will need to edit these files after each update. As it stands now SG says you won’t be able to use a cookie notification, or the WPML plugin and you will need to modify the export feature, in order to use their cache. Perhaps you should look into a cache plugin like WPRocket or WP Fastest Cache, neither of these have this issue with WPML or Enfold.If you want to manually modify your files look for header(‘Pragma: no-cache’); in:
\enfold\config-layerslider\LayerSlider\assets\classes\class.ls.exportutil.php ▸ line 178
\enfold\framework\php\wordpress-importer\avia-export-class.php ▸ line 215Best regards,
MikeJanuary 9, 2024 at 4:24 pm #1429644goldengate415
ParticipantHi there,
You may remember this thread I created and that we worked on 5 years ago. It comes up #1 on Google search when looking for ways to reduce the wordpress media library size:
https://kriesi.at/support/topic/photos-taking-up-a-huge-amount-of-space-on-my-site-storage-anything-i-can-do/I am once again bumping up against my 10 gig limit and realize that i really use very few of the sizes on my site. I would like to take a look at this but I see that at least one of the plugins involved is no longer supported and has some fairly signifiant issues with PHP 7+ according to support forums that are no longer monitored. :( Having said that, I still have the Simple Image Sizes plugin running on my site and it does appear I can use it to further reduce the number of photo size options.
Has Enfold added anything in theme functionality to make it easier to seelct the default photo sizes or do we still need to do this in functions.php or the Simple Image Sizes Plugin? Any further advice before I embark on this?
Thanks!
Rob-
This topic was modified 2 years, 3 months ago by
goldengate415.
January 8, 2024 at 12:44 pm #1429551In reply to: cache not working
Hi,
The function that they posted:function varnish_safe_http_headers() { header( 'X-UA-Compatible: IE=edge,chrome=1' ); session_cache_limiter(''); header("Cache-Control: public, s-maxage=120"); if( !session_id() ) { session_start(); } } add_action( 'send_headers', 'varnish_safe_http_headers' );is the function that you added from this post above.
Which is from this Stack Exchange solution to override the WordPress default PHPSESSID to solve issues with a Varnish server.Best regards,
MikeJanuary 7, 2024 at 5:52 pm #1429482In reply to: Align Buttons
Hey ballindigital,
Thank you for the link to your site, when I check your page on my desktop the height of the elements are the same and so the buttons are lined up, but I believe that your screen size is smaller, so we need to set the height of the elements at certain screen sizes when the content length causes the text to wrap into a new line. I see you are using three grid rows with two cells each, and in each is a image, special heading, text block and a button. So we need to set the height for all special headings and text blocks to the same.
Try adding this code to the end of your child theme functions.php file in Appearance ▸ Editor:function grid_row_special_headings_and_text_blocks_equal_heights() { ?> <script> (function($){ var width = $(window).width(); if (width > 767) { $('.page-id-3083 .av-layout-grid-container').each(function(){ var $specialHeading = $('.flex_cell .av-special-heading-tag',this); var $textBlock = $('.flex_cell .av_textblock_section p',this); var specialHeadingHeight = Math.max.apply(Math, $specialHeading.map(function(){ return $(this).height(); }).get()); var textBlockHeight = Math.max.apply(Math, $textBlock.map(function(){ return $(this).height(); }).get()); $specialHeading.height(specialHeadingHeight); $textBlock.height(textBlockHeight); }); } else {} })(jQuery); </script> <?php } add_action( 'wp_footer', 'grid_row_special_headings_and_text_blocks_equal_heights', 99 );Please ensure to copy the code from the forum and not an email notification so the symbols are not converted.
Best regards,
MikeJanuary 7, 2024 at 4:16 pm #1429478In reply to: Pop-Up/LIghtbox
Hi,
To enable a button to open the popup, add a button to your page and set the link URL to #open-popup:

then go to Advanced ▸ Developer Settings and add the custom class open-popup-button:

then update the popup script in your child theme functions.php to this:function magnific_popup_with_no_scroll_and_button() { ?> <script> (function($) { $(window).on('load', function(){ $('.open-popup-button a').addClass('open-popup-link'); $('.open-popup-link').addClass('no-scroll'); $('.open-popup-link').magnificPopup({ type:'inline', midClick: true, callbacks: { beforeOpen: function () { $('body').css("overflow-y", "hidden"); }, close: function() { $('body').css("overflow-y", "auto"); }, }, }); }); })(jQuery); </script> <?php } add_action( 'wp_footer', 'magnific_popup_with_no_scroll_and_button', 99 );then you can use both text links and buttons for your popup like in the example:


Best regards,
MikeJanuary 6, 2024 at 5:33 pm #1429408In reply to: Object-fit for images in magazine style
on docu – you can find a possibility not to use for those images a different source :
see https://kriesi.at/documentation/enfold/magazine/ and search for: image_sizemaybe we can use the avf_magazine_defaults filter to change that. … ;)
put this to your child-theme functions.php:function avia_magazine_thumbnail($atts, $magazine){ $atts['image_size']['small'] = 'square'; return $atts; } add_filter('avf_magazine_settings', 'avia_magazine_thumbnail', 10, 2);January 4, 2024 at 12:28 pm #1429265Topic: theme update
in forum Pre Sale QuestionsMaxime
GuestHi!
I’ve been hired recently to update a website that’s running under your theme.
I’ve updated everything but it seems that the theme prevent me to update the php version in order to run some other plugins. I cannot create new pages or article without critical errors under php 7.3 or above.
could you please tell me which php version this theme is compatible with? also, if not compatible >= php 7.3 could you please send me the udpated version ?many thanks!!
maximeJanuary 4, 2024 at 1:46 am #1429223In reply to: Main Menu Search Form Placeholder Text Color
Hey Jody,
Thank you for the inquiry.
You can use the following css code to adjust the style of the placeholder text.
::-webkit-input-placeholder { /* WebKit, Blink, Edge */ color: #909; } :-moz-placeholder { /* Mozilla Firefox 4 to 18 */ color: #909; opacity: 1; } ::-moz-placeholder { /* Mozilla Firefox 19+ */ color: #909; opacity: 1; } :-ms-input-placeholder { /* Internet Explorer 10-11 */ color: #909; } ::-ms-input-placeholder { /* Microsoft Edge */ color: #909; } ::placeholder { /* Most modern browsers support this now. */ color: #909; }And to change the placeholder text itself, add this code in the functions.php file.
/* AJAX SEARCH */ if ( ! function_exists( 'avia_append_search_nav_mod' ) ) { //first append search item to main menu remove_filter( 'wp_nav_menu_items', 'avia_append_search_nav', 9997, 2 ); remove_filter( 'avf_fallback_menu_items', 'avia_append_search_nav', 9997, 2 ); add_filter( 'wp_nav_menu_items', 'avia_append_search_nav_mod', 9997, 2 ); add_filter( 'avf_fallback_menu_items', 'avia_append_search_nav_mod', 9997, 2 ); /** * * * @param string $items * @param array $args * @return string */ function avia_append_search_nav_mod ( $items, $args ) { if ( avia_get_option( 'header_searchicon', 'header_searchicon' ) != 'header_searchicon' ) { return $items; } if ( avia_get_option( 'header_position', 'header_top' ) != 'header_top' ) { return $items; } if ( ( is_object( $args ) && $args->theme_location == 'avia') || ( is_string( $args ) && $args = 'fallback_menu' ) ) { ob_start(); get_search_form(); $form = ob_get_clean(); $form = str_replace( '<form ', '<form role="search" ', $form ); $form = htmlspecialchars( $form ); /** * Avoid duplicate indexing or empty search page * * @since 4.5.3 * @param string $items * @param array $args * @return string */ $nofollow = apply_filters( 'avf_nav_search_icon_nofollow', 'rel="nofollow"', $items, $args ); $aria_label = __( 'Search', 'avia_framework' ); $aria_label = apply_filters( 'avf_nav_search_aria_label', $aria_label, $items, $args ); $items .= ' <li id="menu-item-search" class="noMobile menu-item menu-item-search-dropdown menu-item-avia-special" role="menuitem">'; $items .= '<a aria-label="' . $aria_label . '" href="?s=" '. $nofollow . ' data-avia-search-tooltip="' . $form . '" ' . av_icon_string( 'search', false ) . '>'; $items .= '<span class="avia_hidden_link_text">' . __( 'ADJUST THIS TEXT', 'avia_framework' ) . '</span>'; $items .= '</a>'; $items .= '</li> '; } return $items; } }Replace “ADJUST THIS TEXT” with your own text.
Best regards,
IsmaelJanuary 2, 2024 at 1:38 pm #1429117In reply to: sticky header menu scroll issue
Hi,
Great, I’m glad that @guenni007 could help you out. The calculation basically says that the max height should be the height of the browser minus 20px. https://www.w3schools.com/cssref/css_units.php
Best regards,
RikardDecember 30, 2023 at 4:20 pm #1429033Hi,
The code Ismael posted above worked for me changing the backend “portfolio” labels to “sites” after I adjusted it some:add_action('after_setup_theme', function() { remove_action('init', 'portfolio_register'); }); add_action('init', 'portfolio_register_mod'); function portfolio_register_mod() { global $avia_config; $labels = array( 'name' => _x('sites', 'post type general name','avia_framework'), 'singular_name' => _x('sites', 'post type singular name','avia_framework'), 'add_new' => _x('Add New', 'sites','avia_framework'), 'add_new_item' => __('Add New Sites Entry','avia_framework'), 'edit_item' => __('Edit Sites Entry','avia_framework'), 'new_item' => __('New Sites Entry','avia_framework'), 'view_item' => __('View Sites Entry','avia_framework'), 'search_items' => __('Search Sites Entries','avia_framework'), 'not_found' => __('No Sites Entries found','avia_framework'), 'not_found_in_trash' => __('No Sites Entries found in Trash','avia_framework'), 'parent_item_colon' => '' ); $permalinks = get_option('avia_permalink_settings'); if(!$permalinks) $permalinks = array(); $permalinks['portfolio_permalink_base'] = empty($permalinks['portfolio_permalink_base']) ? __('sites', 'avia_framework') : $permalinks['portfolio_permalink_base']; $permalinks['portfolio_entries_taxonomy_base'] = empty($permalinks['portfolio_entries_taxonomy_base']) ? __('sites_entries', 'avia_framework') : $permalinks['portfolio_entries_taxonomy_base']; $args = array( 'labels' => $labels, 'public' => true, 'show_ui' => true, 'capability_type' => 'post', 'hierarchical' => false, 'rewrite' => array('slug'=>_x($permalinks['portfolio_permalink_base'],'URL slug','avia_framework'), 'with_front'=>true), 'query_var' => true, 'show_in_nav_menus'=> true, 'taxonomies' => array('post_tag'), 'supports' => array('title','thumbnail','excerpt','editor','comments') ); $args = apply_filters('avf_portfolio_cpt_args', $args); $avia_config['custom_post']['portfolio']['args'] = $args; register_post_type( 'portfolio' , $args ); $tax_args = array( "hierarchical" => true, "label" => "Sites Categories", "singular_label" => "Sites Category", "rewrite" => array('slug'=>_x($permalinks['portfolio_entries_taxonomy_base'],'URL slug','avia_framework'), 'with_front'=>true), "query_var" => true ); $avia_config['custom_taxonomy']['portfolio']['portfolio_entries']['args'] = $tax_args; register_taxonomy("portfolio_entries", array("portfolio"), $tax_args); //deactivate the avia_flush_rewrites() function - not required because we rely on the default wordpress permalink settings remove_action('wp_loaded', 'avia_flush_rewrites'); }but to change the permalinks from ‘portfolio-items’ to ‘sites’ you will need to adjust the permalink field and then resave the permalinks:

then the database will be updated:

You will need to do this because you can not overwrite the register-portfolio.php file in the child theme and the original file still add the portfolio function, otherwise you will have your new CPT and the portfolio CPT both showing in the permalinks options.
Or you can try laptophobo’s plugin option.Best regards,
MikeDecember 26, 2023 at 8:31 am #1428870In reply to: only 1 category visible in the portfolio
Hello Guenni007
Thank you very much for your helpI have now adjusted the functions.php
Yes, your suggestion is correct
when I open Portfolio
I can now only browse through the individual categories.you can close this request
kind regards
FranzDecember 26, 2023 at 7:15 am #1428869In reply to: only 1 category visible in the portfolio
first tell me if my suggestion from above is correct.
it belongs to the post-navigation left/right arrows? If you have opened a single post – there are left and right arrows to navigate to the other posts.
And now you only want to reach other posts inside the same category ?And you put that filter to the child-theme functions.php ?
try : maybe the is_fullwidth setting is only missing
function enfold_customization_postnav($settings){ $settings['is_fullwidth'] = false; $settings['skip_output'] = false; $settings['same_category'] = true; return $settings; } add_filter('avf_post_nav_settings','enfold_customization_postnav', 10, 1);here is the github part showing the long version with comments on that filter:
https://github.com/KriesiMedia/enfold-library/commit/969ff37a8219fee349bb94fcfdbd28fd02d22713December 25, 2023 at 10:24 pm #1428867In reply to: only 1 category visible in the portfolio
hello Guenni007
I have inserted the filter into the functions.php
Unfortunately it does not work !how is the other way
thanks
kind regards
FranzDecember 23, 2023 at 3:27 pm #1428792In reply to: Custom Featured Blog Post
Hey MikeTandySwag,
Thanks for the mockup, I recommend using the Masonry Element with the Display Title and Excerpt and Display as centered overlay (overlays the image) selected:

then under styling choose a Large Gap and Perfect Grid:

Then under the Advanced tab ▸ Developer Settigs add the custom class custom-masonry-with-button, note that you do not add the class dot:

For my example I choose to use two columns and only show four posts.
Then add this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:.custom-masonry-with-button .av-masonry-date { display: none; } #top .custom-masonry-with-button.av-caption-style-overlay .av-masonry-item-with-image .av-inner-masonry-content-pos { vertical-align: bottom; }Then add this code to the end of your child theme functions.php file in Appearance ▸ Editor:
add_filter('avf_masonry_loop_prepare','avia_change_default_link', 10, 2); function avia_change_default_link($loop, $entries) { foreach($entries->posts as $key => $entry) { if($entry->post_type == "post") { $more = "<br /><span class='custom-masonry-more-button avia-button avia-size-x-large avia-position-center avia-color-light'>".__('Read more','avia_framework')."</span>"; $loop['content'] = avia_backend_truncate($entry->post_content, apply_filters( 'avf_masonry_excerpt_length' , 0) , apply_filters( 'avf_masonry_excerpt_delimiter' , ""), "", true, '') . $more; } } return $loop; }If you are not using a child theme I recommend the WPcode plugin this plugin supports PHP code snippets, JavaScript code snippets, & CSS code snippets, for this code you would choose the PHP snippet:

This is the expected results:

Please give this a try.Best regards,
MikeDecember 22, 2023 at 5:19 am #1428713In reply to: PHP 8.2.13 update problem
Hi,
Thank you for the update.
PHP Warning: Use of undefined constant \xe2\x80\x98ALTERNATE_WP_CRON\xe2\x80\x99
We didn’t find any errors related to the theme. Most of the fatal errors are from the plugin bwp-recaptcha. The constant ALTERNATE_WP_CRON is also not generated by the theme, so this was probably added to the wp-config.php file manually.
This is the fatal error generated by the bwp-recaptcha plugin.
mod_fcgid: stderr: thrown in /var/www/vhosts/doshacen1.com.mx/httpsdocs/wp-content/plugins/bwp-recaptcha/bwp-recaptcha.php on line 40You may need to contact the plugin developers for more info.
Best regards,
IsmaelDecember 21, 2023 at 3:31 pm #1428670Topic: Update my Enfold Theme to the latest version
in forum Pre Sale QuestionsAlexandre Schweitzer
GuestHi,
I’m a freelance web developer and one of my client has an Enfold Theme bought about 7 years ago by another person. As you can guess, I need to update his website and it means update his theme as is actually run in 4.1.2 version. I’m stuck with the PHP update as long as I will not update the theme.
I don’t have the API key and other information about the Themeforest account that bought the theme so I’m looking for another solution to find the latest update and apply it on my client’s website.
Could you help me with that ?
Thank you very much.
Best Regards,
Alexandre.S
December 21, 2023 at 10:52 am #1428652In reply to: Duplicate link in WooCommerce Orders
Hey Monique,
Thank you for the inquiry.
Please temporarily edit the enfold/config-templatebuilder/avia-template-builder/php/class-element-templates.php and remove this code around line 672.
$duplicate = '<a href="' . $notify_url . '" aria-label="' . esc_attr__( 'Make a duplicate from this element template', 'avia_framework' ) . '" rel="permalink">'; $duplicate .= esc_html__( 'Duplicate', 'avia_framework' ); $duplicate .= '</a>'; $actions['duplicate'] = $duplicate;Let us know if this removes the Duplicate button.
Best regards,
IsmaelDecember 20, 2023 at 12:08 pm #1428589In reply to: Social Icon add new icon
Hi,
Typically when you add a new social profile following the documentation this is the correct code snippet that you should add to your child theme functions.php:// Register new icon as a theme icon function avia_add_custom_icon($icons) { $icons['line'] = array( 'font' =>'icomoon', 'icon' => 'ue900'); return $icons; } add_filter('avf_default_icons','avia_add_custom_icon', 10, 1); // Add new icon as an option for social icons function avia_add_custom_social_icon($icons) { $icons['Line'] = 'line'; return $icons; } add_filter('avf_social_icons_options','avia_add_custom_social_icon', 10, 1); // Add new icon to sharebox add_filter('avia_social_share_link_arguments', 'avia_add_social_share_link_arguments', 10, 1); function avia_add_social_share_link_arguments($args){ $tiktok = array('line' => array("encode"=>true, "encode_urls"=>false, "pattern" => "https://line.me/", 'label' => __("Share on Line",'avia_framework'))); $args = array_merge($line, $args); return $args; }and then you would choose the new social profile from the options”

and then it will show on the front end:

I have done this for you.Best regards,
MikeDecember 20, 2023 at 9:37 am #1428573In reply to: hide logo when scrolled
oh wow – did not see that you are only asking for the logo hide/show !
so forget about my solution – which is meant for hide/show complete header – sorry_________ so this is not for your problem ____________
yes, this is a possibility – but has the disadvantage that this class (header-scrolled) is only removed if you are in the top position on the page. This means that the header only appears again then. If you scroll-direction is up at the bottom (or middle) of a page, nothing happens.
It would therefore be better to have a class that is removed as soon as a certain distance is scrolled back – and thus restores the header visibility.This is a function adding a class (hide-header) depending on scroll distance.
function hide_header(){ ?> <script> (function($){ 'use strict'; var c, currentScrollTop = 0, header = $('#header'); $(window).on('scroll', function () { var a = $(window).scrollTop(); var b = header.height(); currentScrollTop = a; if (c < currentScrollTop && a > b ) { header.addClass("hide-header"); } else if (c > currentScrollTop && !(a <= b)) { header.removeClass("hide-header"); } c = currentScrollTop; }); })(jQuery); </script> <?php } add_action('wp_footer', 'hide_header');The css you need on that must reflect your header height you set on Enfold options. And the options – f.e. if you have a top-menu or phone-info field above the header. And if it scrolls away.
The trick now is to shift the header in y-direction above the viewport.
And because we do not want to do that if the burger menu is opend – we exclaim it bei not selector ( :not(.av-burger-overlay-active) )
The media query settings are individual – and you have to adjust it to your needs – if you got pages with transparency headers – maybe there had to be different padding-top settings of #main.css – first settings:
.responsive:not(.av-burger-overlay-active) #header { top: 0px; -webkit-transition: transform 0.5s ease-in; transition: transform 0.5s ease-in; } .responsive:not(.av-burger-overlay-active) #header.hide-header { -webkit-transition: transform 0.5s ease-in; transition: transform 0.5s ease-in; } .responsive:not(.av-burger-overlay-active) #main { top: 0px; -webkit-transition: padding-top 0.5s ease-in; transition: padding-top 0.5s ease-in; } .responsive.av-burger-overlay-active #header { position: fixed !important; } @media only screen and (min-width: 990px) { .responsive:not(.av-burger-overlay-active) #header.hide-header { transform: translateY(-116px); } } @media only screen and (min-width: 768px) and (max-width: 989px) { .responsive:not(.av-burger-overlay-active) #header { position: fixed !important; top: 0; } .responsive:not(.av-burger-overlay-active) #header.hide-header { transform: translateY(-90px); } .responsive #top #main { padding-top: 90px !important; } } @media only screen and (max-width: 767px) { .responsive:not(.av-burger-overlay-active) #header { position: fixed !important; top: 0; } .responsive:not(.av-burger-overlay-active) #header.hide-header { transform: translateY(-80px); } .responsive #top #main { padding-top: 80px !important; } }Hi,
That is strange… I see that you are using a plugin called Co-Authors Plus with the description:
Allows multiple authors to be assigned to a post.

This plugin is what allows you to add co-authors to posts.
We are limited to support for third-party plugins, but I tested this plugin on my test site and tested a code snippet that the plugin recommends to show all authors:add_filter( 'the_author_posts_link', function( $markup ) { if ( ! function_exists( 'coauthors_posts_links' ) ) { return $markup; } ob_start(); coauthors_posts_links(); $output = ob_get_contents(); ob_end_clean(); return $output; } );And it changed the default single author name and link to show the co-author also:

If you are not going to use a child theme on your site, I recommend the WPcode plugin this plugin supports PHP code snippets, JavaScript code snippets, & CSS code snippets for your customizations.
Try adding the above snippet in a new WP Code snippet and ensure that you use the PHP Snippet option:

Best regards,
MikeDecember 18, 2023 at 11:42 pm #1428455Topic: Enfold Thinks Version 4.8.6.2 Is The Latest Version
in forum EnfoldFlashpaper
ParticipantI’ve got the theme license intact and just realized the theme version is rather old. Yet, when I manually check for an update to the theme it returns a message that 4.8.6.2 is the latest. Any ideas on how to correct that? We’re running WordPress 6.4.2, PHP 7.4.33
December 18, 2023 at 3:46 pm #1428424Dear Mike,
the web hoster already answered. They couldn’t find any problems on the server side and recommended me to create a phpinfo.php on the web space to find all the configurations that are running on the web server. I did that, but I have no idea where to search on this phpinfo-page for clues that could have to do with our problem. Do you – or shall I send you the file?
With the Chrome DevTools I noticed under sources some instances for js, having to do with jQuery (I assume… I am not a programmer):
jquery
ui
core.min.js?ver=1.13.2
jquery-migrate.min.js?ver=3.4.1
jquery.min.js?ver=3.7.1
Does this info make any sense to you?Another thing that came up to my mind is that this website became live a couple of weeks ago. Perhaps its transfer might be related to the menu issue? The plugin Better Search Replace was used to run a search/replace on the database. The root directory of the domain was set to the subdirectory with all installations.
BR, C
December 17, 2023 at 11:59 pm #1428369In reply to: Grid row not responsive
Hi Mike, thanks for your time. I’ve changed PHP versions to 8.0, 8.2 and 8.3 (can’t go back to 7.4 now) and it didn’t help. It’s 8.2 now (as recommended).
However, I decided to rebuild the home page from the scratch and created the New Home Page. I was adding elements starting from the Fullwidth Easy slider and everything was working perfectly until the last grid row at the bottom of the page, which broke the layout and responsiveness of the footer. It happens even when adding a new empty grid row from layout elements menu of Avia builder. So I thought it must be the grid row element that is responsible for that.
HOWEVER, when I remove the Fullwidth Easy Slider from the top of the page, then the grid row at the bottom does not break the layout or responsiveness! BUT it makes the grid row directly above it not going full width when changing to tablet/mobile resolution! That leaves me completely puzzled – it looks like some of those elements TOGETHER cannot work correctly.You can try this on ‘Kriesi test page’ or ‘New Home Page’ – I’ve saved the top slider as ‘001 Old slider’ and bottom grid row is ‘006 grid row’ in Templates, so you can just remove and add them easily to see how they break the layout and responsiveness together, but when one is deleted everything goes back to normal.
And what is even more puzzling, when I add the same Fullwidth Easy Slider from the template at the bottom of the page (see New Home Page) it displays differently than at the top, when it’s preceded by that grid row, (colours and font sizes are all wrong, despite the same settings in the slider options). BUT when I delete that 006 grid row which is preceding it, then the slider at the bottom displays correctly, and so does the footer and it’s responsive as it should be. So really that grid row looks to be a problem, but I’ve got no idea why! (check the New Home Page first and then remove the grid row above the bottom slider, you will see the difference).
I haven’t tried deleting other layout elements, it’s actually enough of the mystery to me :) But it happened all the same on a newly created page (‘New Home Page’) with empty grid row added from the menu, so it looks to me like there must be some issue with the theme elements working together in the layout builder, but again it’s just my gut feeling. I haven’t installed imagick, I also don’t think this would cause the problem. However, if you’ve got no other suggestions, I may try this but I wouldn’t like to add unnecessary things on the server side if possible. I also haven’t yet install caching plugin on that site, but again how would this be the issue here?
Thanks for your time, let me know if you find the cause and/or solution for all this, but for now I will just rebuild the home page using some configuration and elements that will work correctly together.
Tom
UPDATE: I have now changed Fullwidth Easy Slider to Fullscreen Slider on the Home Page, and again adding the grid row at the bottom causes the problem to reappear.
-
This reply was modified 2 years, 3 months ago by
Tom_Tom_UK.
-
This reply was modified 2 years, 3 months ago by
Tom_Tom_UK.
-
This topic was modified 2 years, 3 months ago by
-
AuthorSearch Results
-
Search Results
-
Topic: Enfold Pre-Sale Question
Hi there, had two questions… one, will Enfold continue to be updated in the future? (I am having a bad experience with another theme builder). Two, will Enfold be update to support WooCommerce 8.2+ and if so, will it also support the required PHP update to PHP 7.4? Thank You!
Hi,
I’m using the Envato Forrest Theme for 4 years now and it always served my real well.
Yet, lately I have 2 problems:.
I try to contact the author of the Envato Enfold Theme to ask my 2 questions and hope this is te right place to be therefor:.1. If I update the PHP from 7.4 to 8.2, then I can no longer get acces to my dashbaord.
I have try to ugrade the theme versoin 4.0.7.but that doesn’t works. If I set the PHP back to 7.4 I get back access to my Dashboard.2. I can not change any images anymore on my wordpress website (Enfold Theme). Also putting a new picture into a (new) element is not working anymore.
I had a 1 houre chat with Vimexx (my Dutch hoster) and they told me to send you this faultmessage:
[lsapi:error] [pid 55953:tid 140055343503104] [client 185.220.173.16:60547] [host http://www.barthsmusic.eu] Backend fatal error: PHP Fatal error: Unparenthesized
a ? b : c ? d : eis not supported. Use either(a ? b : c) ? d : eora ? b : (c ? d : e)in /home/barthsm/domains/barthsmusic.eu/public_html/wp-content/themes/enfold/functions-enfold.php on line 265n,I do hope sincerely that you can help me.
Best regards,
BartTopic: PHP Version
Hallo, wir haben aktuell das Problem, dass unsere WordPress-Seite und einige Plugins ein PHP-Update fordern. Egal auf welche Version (8.1, 8.2) wir updaten kann die Seite nicht mehr geladen werden. Laut unserem Hosting-Anbieter liegt das an fehlender Kompatibilität des Themes.
Word-Press-Version: 6.4.2
PHP-Version aktuell: 7.3.33
Enfold-Version: 4.5.6Laut unserer Seite ist bis auf die PHP-Version nun alles auf aktuellem Stand. Auf welche PHP-Version können wir updaten bzw. was können wir tun, damit wir PHP updaten können und unsere Website trotzdem funktioniert?
Vielen Dank vorab
Hi there,
You may remember this thread I created and that we worked on 5 years ago. It comes up #1 on Google search when looking for ways to reduce the wordpress media library size:
https://kriesi.at/support/topic/photos-taking-up-a-huge-amount-of-space-on-my-site-storage-anything-i-can-do/I am once again bumping up against my 10 gig limit and realize that i really use very few of the sizes on my site. I would like to take a look at this but I see that at least one of the plugins involved is no longer supported and has some fairly signifiant issues with PHP 7+ according to support forums that are no longer monitored. :( Having said that, I still have the Simple Image Sizes plugin running on my site and it does appear I can use it to further reduce the number of photo size options.
Has Enfold added anything in theme functionality to make it easier to seelct the default photo sizes or do we still need to do this in functions.php or the Simple Image Sizes Plugin? Any further advice before I embark on this?
Thanks!
RobTopic: theme update
Hi!
I’ve been hired recently to update a website that’s running under your theme.
I’ve updated everything but it seems that the theme prevent me to update the php version in order to run some other plugins. I cannot create new pages or article without critical errors under php 7.3 or above.
could you please tell me which php version this theme is compatible with? also, if not compatible >= php 7.3 could you please send me the udpated version ?many thanks!!
maximeHi,
I’m a freelance web developer and one of my client has an Enfold Theme bought about 7 years ago by another person. As you can guess, I need to update his website and it means update his theme as is actually run in 4.1.2 version. I’m stuck with the PHP update as long as I will not update the theme.
I don’t have the API key and other information about the Themeforest account that bought the theme so I’m looking for another solution to find the latest update and apply it on my client’s website.
Could you help me with that ?
Thank you very much.
Best Regards,
Alexandre.S
I’ve got the theme license intact and just realized the theme version is rather old. Yet, when I manually check for an update to the theme it returns a message that 4.8.6.2 is the latest. Any ideas on how to correct that? We’re running WordPress 6.4.2, PHP 7.4.33

