-
Search Results
-
Hallo zusammen!
Ich habe die Schritte wie in https://kriesi.at/support/topic/pop-up-lightbox/#post-1429407 beschrieben umgesetzt und dann den Shortcode von einem Formular eingefügt. Mein Ziel ist es, ein Formular in einem Popup anzuzeigen, wenn man auf einen Button klickt.
Also:
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 );Das in die functions.php eingesetzt.
Eine Code-Box mit folgendem Inhalt erstellt:
<div id="open-popup" class="popup mfp-hide"> <p>[av_layout_template template_id='popform']</p> </div>Und auch das im Quick-CSS hinzugefügt:
.popup { position: relative; background: #FFF; padding: 20px; width: auto; max-width: 500px; margin: 20px auto; }Weil es nicht funktioniert hat habe ich auch das noch hinzugefügt:
add_filter('avia_allow_shortcodes_in_codeblock', '__return_true'); add_filter('avf_alb_support_modal_templates', '__return_true');Leider funktioniert es nicht. Es öffnet sich ein Modal aber darin steht nur der Shortcode. Ich bin ratlos. Kann mir bitte jemand dabei helfen das hinzubekommen.
Link zur Testseite im PC.
Hello,
I get a new website to manage (updates and so on), made by another web agency in 2019.
The website is currently using an old 4.5.7 Enfold version but they made customizations directly in the Javascript and PHP files of Enfold.
In fact, they didn’t use a child theme for it.
So I’d like to compare files with the original 4.5.7 version before updating to the last version.Is it possible to get an old 4.5.7 version for me to manage theses customizations ?
Waiting for your answer,
Sincerely,
FrançoisI don’t receive updates for the theme. This is always shown:
Theme Updates
No Updates available. You are running the latest version! (4.7.6.3)
Your PHP version: 7.4.33
Last successful check was on 2025/10/27 15:13.This version has security vulnerabilities and I need to update it. How can I automate this?
Hi Enfold Support Team,
I’m working on a client’s website and need your guidance before proceeding with a major update.
Current situation:Enfold version: 4.8.3 (last updated around 2020)
WordPress: 5.9.12
PHP: 7.4.33
The site has been running without major updates for approximately 5 yearsWhat needs to be updated:
Enfold: 4.8.3 → latest version (6.0+)
WordPress: 5.9.12 → 6.8.3
PHP: 7.4.33 → 8.3My concerns:
I’m worried about such a large version jump potentially breaking the website. The site is live and actively used by my client, so I need to minimize any risks and downtime.
My questions:Is it safe to update directly from Enfold 4.8.3 to the latest 6.0+ version, or should I update incrementally through intermediate versions?
Are there any known breaking changes or compatibility issues between version 4.8.3 and 6.0+ that I should be aware of?
What is the recommended update sequence? Should I update Enfold first, then WordPress, then PHP?
Will existing layouts built with Avia Layout Builder continue to work after the update?
Are there any specific settings, customizations, or files I should backup or document before updating?
Should I expect any visual or functional changes that might require adjustments after the update?I have a full backup prepared, but I want to understand potential issues and the safest approach before starting the update process.
Thank you very much for your help and guidance!
Best regards,I have a custom shortcode:
<?php if ( ! defined( 'ABSPATH' ) ) { exit; } // Exit if accessed directly if ( ! class_exists( 'avia_sc_portfolio_kacheln' ) ) { class avia_sc_portfolio_kacheln extends aviaShortcodeTemplate { /** * Create the config array for the shortcode button */ function shortcode_insert_button() { $this->config['version'] = '1.0'; $this->config['self_closing'] = 'no'; $this->config['base_element'] = 'yes'; $this->config['name'] = 'Portfolio Kachel'; $this->config['tab'] = 'wuk Elements'; $this->config['icon'] = AviaBuilder::$path['imagesURL'] . 'sc-image.png'; $this->config['order'] = 1; $this->config['target'] = 'avia-target-insert'; $this->config['shortcode'] = 'av_portfoliokachel'; // $this->config['modal_data'] = array( 'modal_class' => 'mediumscreen' ); $this->config['tooltip'] = __( 'Inserts an image of your choice', 'avia_framework' ); $this->config['preview'] = 1; $this->config['disabling_allowed'] = true; $this->config['id_name'] = 'id'; $this->config['id_show'] = 'yes'; } function popup_elements() { $template_url = get_stylesheet_directory_uri(); $this->elements = array( array( 'type' => 'tab_container', 'nodescription' => true ), array( 'type' => 'tab', 'name' => __( 'Kachel', 'avia_framework' ), 'nodescription' => true ), array( 'type' => 'toggle_container', 'nodescription' => true ), array( "name" => __("Choose Image",'avia_framework' ), "desc" => __("Either upload a new, or choose an existing image from your media library",'avia_framework' ), "id" => "bild", "type" => "image", "title" => __("Insert Image",'avia_framework' ), "button" => __("Insert",'avia_framework' ), "std" => "", ), array( "name" => __("Title", 'avia_framework' ), "id" => "title", "std" => "", "type" => "input" ), array( "name" => __("Text", 'avia_framework' ), "id" => "text", "std" => "", "type" => "textarea" ), array( "name" => __("Button Text", 'avia_framework' ), "id" => "button_text", "std" => "", "type" => "input" ), array( 'name' => __( 'Image Link?', 'avia_framework' ), 'desc' => __( 'Where should your image link to?', 'avia_framework' ), 'id' => 'link', 'type' => 'linkpicker', 'fetchTMPL' => true, 'std' => '', 'lockable' => true, 'subtype' => array( __( 'No Link', 'avia_framework' ) => '', __( 'Lightbox', 'avia_framework' ) => 'lightbox', __( 'Set Manually', 'avia_framework' ) => 'manually', __( 'Single Entry', 'avia_framework' ) => 'single', __( 'Taxonomy Overview Page', 'avia_framework' ) => 'taxonomy', ) ), array( 'name' => __( 'Open new tab/window', 'avia_framework' ), 'desc' => __( 'Do you want to open the link url in a new tab/window?', 'avia_framework' ), 'id' => 'target', 'type' => 'select', 'std' => '', 'lockable' => true, 'required' => array( 'link', 'not_empty_and', 'lightbox' ), 'subtype' => AviaHtmlHelper::linking_options() ), array( 'type' => 'toggle_container_close', 'nodescription' => true ), array( 'type' => 'tab_close', 'nodescription' => true ), array( 'type' => 'tab', 'name' => __( 'Advanced', 'avia_framework' ), 'nodescription' => true ), array( 'type' => 'toggle_container', 'nodescription' => true ), array( 'type' => 'template', 'template_id' => 'screen_options_toggle', 'lockable' => true ), array( 'type' => 'template', 'template_id' => 'developer_options_toggle', 'args' => array( 'sc' => $this ) ), array( 'type' => 'toggle_container_close', 'nodescription' => true ), array( 'type' => 'tab_close', 'nodescription' => true ), array( 'type' => 'template', 'template_id' => 'element_template_selection_tab', 'args' => array( 'sc' => $this ) ), array( 'type' => 'tab_container_close', 'nodescription' => true ), array( 'id' => 'av_element_hidden_in_editor', 'type' => 'hidden', 'std' => '0' ) ); } /** * Editor Element - this function defines the visual appearance of an element on the AviaBuilder Canvas * Most common usage is to define some markup in the $params['innerHtml'] which is then inserted into the drag and drop container * Less often used: $params['data'] to add data attributes, $params['class'] to modify the className * * * @param array $params this array holds the default values for $content and $args. * @return $params the return array usually holds an innerHtml key that holds item specific markup. */ function editor_element( $params ) { extract( $params['args'] ); global $KACHELINDEX; $KACHELINDEX++; if (strstr($link,"manually,")) { $url = str_replace("manually,","",$link); } elseif (strstr($link,",")) { $tmp = explode(",",$link); $url = get_the_permalink($tmp[1]); } $out = '<div class="portfolio_kacheln sameheight"'.((empty($button_text) && !empty($link)) ? ' onclick="location.href='.$url.'"' : '').'> <div class="bg2">'.str_pad($KACHELINDEX, 2, "0", STR_PAD_LEFT).'</div> <div class="pic" style="">'. '<img src="'.$bild.'" />'. '<h3>'.$title.'</h3>'. '</div>'. (!empty($text) ? '<p>'.$text.'</p>' : ''). ((!empty($link) && !empty($button_text)) ? '<p class="action"><a href="'.$url.'" class="button">'.$button_text.'</a></p>' : ''). '</div>'; $params['innerHtml'] = $out; return $params; } /** * Frontend Shortcode Handler * * @param array $atts array of attributes * @param string $content text within enclosing form of shortcode element * @param string $shortcodename the shortcode found, when == callback name * @return string $output returns the modified html string */ function shortcode_handler( $atts, $content = '', $shortcodename = '', $meta = '' ) { extract( $atts ); global $KACHELINDEX; $KACHELINDEX++; if (strstr($link,"manually,")) { $url = str_replace("manually,","",$link); } elseif (strstr($link,",")) { $tmp = explode(",",$link); $url = get_the_permalink($tmp[1]); } $out = '<div class="portfolio_kacheln sameheight"'.((empty($button_text) && !empty($link)) ? ' onclick="'.($target == '' ? 'location.href='.$url.'"' : 'window.open(\''.$url.'\', \'_blank\');') : '').'> <div class="bg2">'.str_pad($KACHELINDEX, 2, "0", STR_PAD_LEFT).'</div> <div class="pic" style="">'. '<img src="'.$bild.'" />'. '<h3>'.$title.'</h3>'. '</div>'. (!empty($text) ? '<p>'.$text.'</p>' : ''). ((!empty($link) && !empty($button_text)) ? '<p class="action"><a'.($target != '' ? ' target="'.$target.'"' : '').' href="'.$url.'" class="button">'.$button_text.'</a></p>' : ''). '</div>'; return $out; } } }taht generates a shortcode like:
[av_portfoliokachel bild='https://xexadeti.cyon.site/wp-content/uploads/2025/08/sta-schweisstechnische-ausbildung-mag-schweissen.jpg' attachment='277' attachment_size='full' title='MAG' text='(135 - Metall-Aktivgas-Schweissen) Unverändert: [av_portfoliokachel bild='https://xexadeti.cyon.site/wp-content/uploads/2025/08/sta-schweisstechnische-ausbildung-mag-schweissen.jpg' attachment='277' attachment_size='full' title='MAG' text='(135 - Metall-Aktivgas-Schweissen) Gelöscht: MAG – das Arbeitstier unter den Schweissverfahren! Wir zeigen dir, wie’s richtig geht!' button_text='Infos zu MAG' link='portfolio_entries,5' target='' id='' custom_class='' template_class='' av_element_hidden_in_editor='0' av_uid='av-mebf8h83' sc_version='1.0' admin_preview_bg=''][/av_portfoliokachel]everything working fine, except oine thing, the ‘ Character.
array( "name" => __("Text", 'avia_framework' ), "id" => "text", "std" => "", "type" => "textarea" ),If I enter a ‘ char in this “Text” field, it doesnt get escaped as it should
as example: text=’test’s’ will be the endresult and not text=’test\’s’. Is there a hook or filter where I can “correctly apply escaping to a field?Strangly, I did setup the page and that did work. I did update to latest enfold version and now, that is not working anymore. Is that a new bug that the encoding is not correctly working?
It dows work, when changing the field name from “text” to “content”. But what, if I want more than 1 “content” field?
Normal textarea should equallless its name escaped correctly in enfold…Thanks for aour advice or fix.
Topic: Site Error after php update
Hi,
Our webhost is telling us that the latest version of php must not be compatable with Enfold because it crashed the site, and we can’t seem to get it back. Can you please advise? Here is the error code. Thanks!Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the avia_framework domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home2/arvidson/public_html/christmasdecor.arvidsons.com/wp-includes/functions.php on line 6121
Fatal error: Unparenthesized
a ? b : c ? d : eis not supported. Use either(a ? b : c) ? d : eora ? b : (c ? d : e)in /home2/arvidson/public_html/christmasdecor.arvidsons.com/wp-content/themes/enfold/functions-enfold.php on line 265There has been a critical error on this website. https://christmasdecor.arvidsons.com/
Topic: Upgrading to PHP 8.x error
Hi support.
I have noticed this error over a few of my sites in that I am unable to proceed further onto PHP 8.x – I am upgrading from v 7.4
In the last attempt, the site is completely up to date (theme, plugins etc. ) with the usual error returned:
Your PHP installation appears to be missing the MySQL extension which is required by WordPress.
Please check that the mysqli PHP extension is installed and enabled.
If you are unsure what these terms mean you should probably contact your host. If you still need help you can always visit the WordPress support forums.
Could you tell me how I am to proceed to rectify this? Is this something my host needs to look at or is it something in the WordPress Core or Enfold theme?
Cheers
JohnTopic: Version: 4.0.7
Für unsere Homepage (WP 6.8.2, strahlenhterapie-augsburg.de) hat vor vielen Jahren “fizzy mint” ein Theme auf Basis von Enfold Version: 4.0.7 erstellt.
Die alte Enfold Version verhindert leider ein Update auf PHP 8.
Kann ich davon ausgehen, dass die neue Enfold Version abwärtskompatibel ist und mit dem alten „child-Theme“ funktioniert?
Eine „Regular License“ dürfte genügen, oder?
Gerne kann ich Ihnen das Child Theme zusenden.Topic: hamburger menu not appearing
I’ve added the following to quick CSS:
.header_color .av-hamburger-inner, .header_color .av-hamburger-inner::after, .header_color .av-hamburger-inner::before {
background-color: #22467f !important;
}
Recently updated the PHP version and had many issues with images. Had to re upload most of them to get them to appear. However, the hamburger menu is stubborn.Topic: Footer error
I get this:
Warning: Undefined array key “footer_option” in /var/www/viborgvaskerimaskiner.dk/public_html/wp-content/themes/enfold/footer.php on line 35Warning: Undefined array key “footer_behavior” in /var/www/viborgvaskerimaskiner.dk/public_html/wp-content/themes/enfold/footer.php on line 37
Any suggestions?
Dear All,
since the update to Enfold 7.1.2 posts which are scheduled for a future publish date get published, but the read more link / link on the image / heading is linking to the blog page and not to the detail view of the corresponding post.
Enfold 7.1.2
php 8.2
I’m using a child themeI’ve deactivated all other plugins, didn’t solve the problem. I also cleared the old css / js files via Theme Settings / Performance. I also installed a cache plugin WP Super Cache and deleted the Cache, the link on the scheduled post is still not working. Timezone WordPress installation and Server is synchronized. I also updated the permalink structure, but the issue remains.
The link to the post detail view gets corrected if an editor is opening the post and save it again (which is a workaround but not a solution for scheduled posts).




