Viewing 30 results - 841 through 870 (of 16,890 total)
  • Author
    Search Results
  • #1436701

    Hi,

    Thank you for the update.

    The arrows are not rendering correctly when we checked the About Page. Did you add this css code?

    #top .av-contentslider-style-2 .avia-slideshow-arrows.avia-slideshow-controls a.prev-slide:before {
        content: 'e874';
    }
    

    If you want to change the next and previous arrow, you can use the avf_default_icons filter in the functions.php file instead. Make sure to adjust the value of the icon attribute.

    function avf_default_icons_mod($icons) {
    	$icons['next'] = array( 'font' => 'entypo-fontello', 'icon' => 'ue879' );
    	$icons['prev'] =array( 'font' => 'entypo-fontello', 'icon' => 'ue878' );
    	return $icons;
    }
    add_filter('avf_default_icons','avf_default_icons_mod', 10, 1);
    

    To make sure that the arrows are visible outside the slider, add this css code:

    #top .avia-slideshow-arrows.avia-slideshow-controls {
        overflow: visible;
    }

    Best regards,
    Ismael

    #1436626
    xprinta
    Participant

    Hello, I am getting the following errors on my page. How do I fix it?

    Notice: Undefined index: layerslider-css in /home/customer/www/xprinta.com/public_html/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-asset-manager.php on line 1280

    Notice: Trying to access array offset on value of type null in /home/customer/www/xprinta.com/public_html/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-asset-manager.php on line 1280

    Notice: Undefined index: footer_option in /home/customer/www/xprinta.com/public_html/wp-content/themes/enfold/footer.php on line 35

    Notice: Undefined index: footer_behavior in /home/customer/www/xprinta.com/public_html/wp-content/themes/enfold/footer.php on line 37

    This is the url: https://www.xprinta.com/contacto/

    Thanks in advance

    MLA18
    Participant

    Hello,

    We are using the Enfold theme version 5.6 for our client. Here is the link to their website: rushcreekcreations.com. We have identified an issue between the Yoast SEO plugin and the current Enfold theme. This conflict is causing an error. Please refer to the screenshot here: https://i.imgur.com/WT1S5R2.png.
    When we update the product detail pages, we encounter the following error:

    Error Details
    =============
    An error of type E_ERROR was caused in line 124 of the file /nas/content/live/rushcreekcreat/wp-content/plugins/woocommerce/includes/wc-notice-functions.php. Error message: Uncaught Error: Call to a member function set() on null in /nas/content/live/rushcreekcreat/wp-content/plugins/woocommerce/includes/wc-notice-functions.php:124
    Stack trace:
    #0 /nas/content/live/rushcreekcreat/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/product_snippets/product_snippet_button.php(182): wc_clear_notices()
    #1 /nas/content/live/rushcreekcreat/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-shortcode-template.php(1181): avia_sc_produc_button->shortcode_handler(Array, ”, ‘av_product_butt…’, Array)
    #2 /nas/content/live/rushcreekcreat/wp-includes/shortcodes.php(433): aviaShortcodeTemplate->shortcode_handler_prepare(Array, ”, ‘av_product_butt…’)
    #3 [internal function]: do_shortcode_tag(Array)
    #4 /nas/content/live/rushcreekcreat/wp-includes/shortcodes.php(273): preg_replace_callback(‘/\\[(\\[?)(av_hea…’, ‘do_shortcode_ta…’, ‘[av_heading …’)
    #5 /nas/content/live/rushcreekcreat/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-shortcode-helper.php(580): do_shortcode(‘[av_heading …’)
    #6 /nas/content/live/rushcreekcreat/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/columns/columns.php(2091): ShortcodeHelper::avia_apply_autop(‘[av_heading …’)
    #7 /nas/content/live/rushcreekcreat/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-shortcode-template.php(1181): avia_sc_columns->shortcode_handler(Array, ‘\n[av_headin…’, ‘av_one_half’, Array)
    #8 /nas/content/live/rushcreekcreat/wp-includes/shortcodes.php(433): aviaShortcodeTemplate->shortcode_handler_prepare(Array, ‘\n[av_headin…’, ‘av_one_half’)
    #9 [internal function]: do_shortcode_tag(Array)
    #10 /nas/content/live/rushcreekcreat/wp-includes/shortcodes.php(273): preg_replace_callback(‘/\\[(\\[?)(av_one…’, ‘do_shortcode_ta…’, ‘[av_one_half fi…’)
    #11 /nas/content/live/rushcreekcreat/wp-includes/class-wp-hook.php(324): do_shortcode(‘[av_one_half fi…’)
    #12 /nas/content/live/rushcreekcreat/wp-includes/plugin.php(205): WP_Hook->apply_filters(‘[av_one_half fi…’, Array)
    #13 /nas/content/live/rushcreekcreat/wp-content/plugins/wordpress-seo/src/builders/indexable-link-builder.php(117): apply_filters(‘the_content’, ‘[av_one_half fi…’)
    #14 /nas/content/live/rushcreekcreat/wp-content/plugins/wordpress-seo/src/integrations/watchers/indexable-post-watcher.php(209): Yoast\WP\SEO\Builders\Indexable_Link_Builder->build(Object(Yoast\WP\SEO\Models\Indexable), ‘[av_one_half fi…’)
    #15 /nas/content/live/rushcreekcreat/wp-includes/class-wp-hook.php(326): Yoast\WP\SEO\Integrations\Watchers\Indexable_Post_Watcher->build_indexable(248)
    #16 /nas/content/live/rushcreekcreat/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
    #17 /nas/content/live/rushcreekcreat/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #18 /nas/content/live/rushcreekcreat/wp-includes/post.php(4771): do_action(‘wp_insert_post’, 248, Object(WP_Post), true)
    #19 /nas/content/live/rushcreekcreat/wp-includes/post.php(4862): wp_insert_post(Array, false, true)
    #20 /nas/content/live/rushcreekcreat/wp-admin/includes/post.php(453): wp_update_post(Array)
    #21 /nas/content/live/rushcreekcreat/wp-admin/post.php(227): edit_post()
    #22 {main}
    thrown

    Could you please look into the matter and provide us with feedback?$_COOKIE

    Thank you!

    #1436492

    Hey Tim Headford,
    v5.6.7 fixed issues with PHP 8.2.4
    I have not seen issues with v5.6.10 and PHP 8+
    Try first making a full backup with your webserver tools, not a plugin, then manually update the theme, the switch to PHP 8, try the lower version you have available first, some servers have PHP 8.3 now but this is “bleeding edge” and I can not test it, try PHP 8.1

    To manually update your version of Enfold you will need to download the latest installable WP version from your Theme Forest account and upload it to your WordPress ▸ Appearance ▸ Themes ▸ Add Themes ▸ Add New
    WordPress_Appearance_Themes_Add-Themes_Add-New.jpg
    after you choose the zip file and click install, you will see a This theme is already installed message because you are updating, you can continue
    Installing_theme_from_uploaded_file_This_theme_is_already_installed.jpg
    then you will see the Theme updated successfully message.
    Theme_updated_successfully.jpg

    Best regards,
    Mike

    #1436477

    Hi,

    Try to edit the phone number html and add a unique class name to it:

    <span class="av-phone-number-info">Telefon 04931 – 9192873</span>
    

    Then add this css code:

    .av-phone-number-info, .av-phone-number-info:active, .av-phone-number-info:visited, .av-phone-number-info:focus {
       color: #ffffff !important;
    }

    If that didn’t work, try to add this code in the functions.php file:

    function ava_format_detection_meta() {
        echo '<meta name="format-detection" content="telephone=no">';
    }
    add_action('wp_head', 'ava_format_detection_meta');
    

    Best regards,
    Ismael

    #1436357

    Hey Leadliaison,

    Your theme license is valid for life, but support is not. Please refer to this on how to extend your support period: https://help.market.envato.com/hc/en-us/articles/207886473-Extending-and-Renewing-Item-Support

    If you are overriding header.php and footer.php in a child theme, then please try replacing those files with the parent theme files.

    If you should need any further help, then please include admin WordPress login details in private.

    Best regards,
    Rikard

    #1436248

    Topic: Form doesn’t arrive

    in forum Enfold
    Martin
    Participant

    Hello, this is the first time I’ve had a problem with the many forms I’ve created. It used to work, but not anymore. Of course I tested a lot: different email addresses, very simple forms, PHP from 7.4 to 8.2, different browsers, all plug-ins deactivated. Has this ever happened to anyone?

    Since you’ll definitely have to take a look at it, I’ll send you a copy of it. You are welcome to change the form, I created it on a test page.
    Link: https://kleox.de/kontakt-testseite/

    Best regards,
    Martin

    • This topic was modified 2 years, 1 month ago by Martin.
    #1436118

    Hi,
    Perhaps I read your question too quickly, I was looking for the css in the June 28 2023 post and this css in not in your Quick CSS.
    But this code that is in your Quick CSS doesn’t belong there:

     add_filter( 'avf_modify_thumb_size', 'enfold_customization_modify_thumb_size', 10, 1 );
        function enfold_customization_modify_thumb_size( $size ) {
        $size['entry_without_sidebar'] = array('width'=>1200, 'height'=>630, 'crop' => true);
        return $size;
        }

    It belongs in your child theme functions.php file, but you are not using a child theme so it was probably in your Enfold functions.php and when you updated it was lost along with any other customizations.
    If you are not going to use a child theme you could use the WP Code plugin then add a new snippet, in the top right corner use the PHP snippet as the code type:
    Enfold_Support_2680.jpeg
    then add the code and save and you won’t lose it on updates.
    Remember that for any new images that you added you will need to Regenerate the Thumbnails for the change to show.

    Best regards,
    Mike

    #1436044

    Hey Ryan,
    Thanks for your question, it sounds like you updated your PHP from 7.3 to 8.2 and now you see that version 5.6.10 is availability but the update fails?
    I would not expect any issues, what is your current theme version and do you see any specific errors?
    Have you tried disabling all of your plugins and try to then update?
    Have you tried updating with the official Envato Market WordPress Plugin, note that the required permissions are different for the token, please follow the steps in the plugin.

    Best regards,
    Mike

    #1436038

    Hi,
    Thank you for your patience, I was not able to find a solution with the built-in theme options, but I was able to come up with a shortcode that will do as you asked, since your page is black I styled it accordingly and this is the expected results:
    Enfold_Support_4875.jpeg
    Since you are not using a child theme I recommend using the WP Code plugin then add a new snippet, in the top right corner use the PHP snippet as the code type:
    Enfold_Support_2680.jpeg
    then add the below code and save.

    function garden_progress_bars_shortcode($atts) {
        $atts = shortcode_atts(
            array(
                'pre_cultivation_start' => '',
                'pre_cultivation_end' => '',
                'planting_start' => '',
                'planting_end' => '',
                'harvest_start' => '',
                'harvest_end' => '',
                'pre_cultivation_color' => '',
                'planting_color' => '',
                'harvest_color' => '',
                'pre_cultivation_label' => '',
                'planting_label' => '',
                'harvest_label' => '',
            ),
            $atts,
            'garden_progress_bars'
        );
        $output = '
        <style>
            .garden-progress-bars {
                font-family: Arial, sans-serif;
                max-width: 960px; 
                margin: 0 auto;
            }
            .progress-header, .progress-header div:not(.header-offset) {
                display: inline-flex;
                width: 100%;
                justify-content: space-evenly;
            }
    		.progress-header div:not(.header-offset) {
        		border-left: 1px solid #eee;
            }
            .month {
                width: calc((100% - 160px)/12); 
                text-align: center;
            }
            .progress-row {
                display: flex;
                align-items: center;
                margin-bottom: 10px;
            }
            .label-container {
                width: 150px; 
                text-align: right;
                padding-right: 10px; 
            }
            .progress-container {
                display: flex;
                width: calc(100% - 160px); 
                align-items: center;
            }
            .progress-bar-container {
                flex-grow: 1;
                background-color: #000;
                height: 20px;
                position: relative;
            }
            .progress-bar {
                height: 100%;
                position: absolute;
            }
            .progress-header .header-offset {
                width: 150px;
    			display: inline-flex;
                flex-shrink: 0;
            }
        </style>
        <div class="garden-progress-bars">
            <div class="progress-header">
                <div class="header-offset"></div>'; 
        $months = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'];
        foreach ($months as $month) {
            $output .= "<div class='month'>$month</div>";
        }
        $output .= '</div>'; 
        $create_progress_bar_row = function($label, $color, $start, $end) use ($months) {
            $start_month_index = array_search($start, $months);
            $end_month_index = array_search($end, $months);
            $width = (($end_month_index - $start_month_index + 1) / 12) * 100;
            $left = ($start_month_index / 12) * 100;
            return "
            <div class='progress-row'>
                <div class='label-container'>$label</div>
                <div class='progress-container'>
                    <div class='progress-bar-container'>
                        <div class='progress-bar' style='background-color: $color; width: $width%; left: $left%;'></div>
                    </div>
                </div>
            </div>";
        };
        $output .= $create_progress_bar_row($atts['pre_cultivation_label'], $atts['pre_cultivation_color'], $atts['pre_cultivation_start'], $atts['pre_cultivation_end']);
        $output .= $create_progress_bar_row($atts['planting_label'], $atts['planting_color'], $atts['planting_start'], $atts['planting_end']);
        $output .= $create_progress_bar_row($atts['harvest_label'], $atts['harvest_color'], $atts['harvest_start'], $atts['harvest_end']);
    
        $output .= '</div>'; 
    
        return $output;
    }
    add_shortcode('garden_progress_bars', 'garden_progress_bars_shortcode');
    

    and then on your page add this shortcode in a code block element to show the growing bars:

    [garden_progress_bars pre_cultivation_start="Feb" pre_cultivation_end="Apr" pre_cultivation_color="#FF5733" pre_cultivation_label="Pre-cultivation" planting_start="Apr" planting_end="Jun" planting_color="#5EBA7D" planting_label="Planting" harvest_start="Jun" harvest_end="Sep" harvest_color="#FFC300" harvest_label="Harvest"]

    This shortcode creates three bars, and for each bar you can change the label text and color of bar and the start & end month.
    First try this shortcode as is to see the working solution as in the screenshot above, then you can try adjusting the attributes to suit.
    Please ensure to copy the code from the forum and not an email notification so the symbols are not converted.

    Best regards,
    Mike

    #1436035
    Ryan
    Guest

    I am trying to update the PHP on the site from 7.3 to 8.2 and the theme is not able to update. Might be out of date? Do you have any recommendations?
    From Site: Update Available: There is a new version of Enfold available. View version 5.6.10 details.
    Do I need to purchase another updated version?
    What is the return policy if it does not work?
    Thank you.

    #1435926
    mannye
    Participant

    Hello,
    When I try to upload a font Zip, an error pops up: “Couldn’t add the font because the server didn’t respond”.
    There is a php error in the error log.
    Please help us to solve with this issue.

    [29-Feb-2024 11:34:35 UTC] PHP Fatal error: Uncaught Error: Call to a member function attributes() on null in /home/user/public_html/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-font-manager.php:336
    Stack trace:
    #0 /home/user/public_html/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-font-manager.php(162): avia_font_manager->create_config()
    #1 /home/user/public_html/wp-includes/class-wp-hook.php(324): avia_font_manager->handler_add_zipped_font(”)
    #2 /home/user/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array)
    #3 /home/user/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #4 /home/user/public_html/wp-admin/admin-ajax.php(188): do_action(‘wp_ajax_avia_aj…’)
    #5 {main}
    thrown in /home/user/public_html/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-font-manager.php on line 336

    #1435773
    francoisdufaut
    Participant

    Hello,

    I just noticed a bug.
    I have Enfold 5.6.10 version and WordPress 6.4.2, and autoptimize 3.1.10.
    I wanted to duplicate a post, in order to edit the newer. Once the post is duplicated, when I click on modify (the new post), the editor is blank, and I received a WP error email from the website sayin :

    Error details
    ======================
    Error type E_ERROR caused at line 343 in file \wp-content\plugins\autoptimize\classes\autoptimizeMetabox.php.
    Error message : Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, string given in \wp-content\plugins\autoptimize\classes\autoptimizeMetabox.php:343
    Stack trace:
    #0 \wp-content\plugins\autoptimize\classes\autoptimizeMetabox.php(56): autoptimizeMetabox->check_ao_opt_sanity()
    #1 \wp-admin\includes\template.php(1456): autoptimizeMetabox->ao_metabox_content()
    #2 \wp-admin\includes\post.php(2369): do_meta_boxes()
    #3 \wp-admin\edit-form-blocks.php(316): the_block_editor_meta_boxes()
    #4 \wp-admin\post.php(187): require(‘…’)
    #5 {main}
    thrown

    It seems, the duplicate content in not well register in database :-\

    Thanks.

    #1435703
    SICOS
    Participant

    Hello.
    When I try to update from php 7.4.33 to php8.2 website have a critical error.

    Server log gives us this information:
    AH01071: Got error ‘PHP message: PHP Fatal error: Unparenthesized a ? b : c ? d : e is not supported. Use either (a ? b : c) ? d : e or a ? b : (c ? d : e) in /var/www/vhosts//wp-content/themes/enfold/functions-enfold.php on line 324′,

    #1435622

    Hi,

    I added filter avf_sc_section_before_close at line 1507ff.

    Complete file with modification:

    https://github.com/KriesiMedia/enfold-library/blob/master/temp_fixes/Enfold_5_6_10/avia-shortcodes/section/section.php

    Let me know if this helps you.

    Will be in next release.

    Best regards,
    Günter

    #1435505
    denkom67
    Participant

    I’m helping my wife update her company’s WordPress site which was built approximately eight years ago by a contractor using the Enfold theme. There is no-one particularly tech savvy at her company, and the site unfortunately hasn’t been updated in quite a while. The Envanato theme version on the site is 3.8; WordPress is 6.15; and PHP is 7 dot something.

    How do I go about getting the theme updated? I generated a personal token and managed to get update checks working, but the theme says no updates are available and that it’s running the latest version.

    Thanks,

    Matt

    • This topic was modified 2 years, 1 month ago by denkom67.
    • This topic was modified 2 years, 1 month ago by denkom67.
    • This topic was modified 2 years, 1 month ago by denkom67.
    • This topic was modified 2 years, 1 month ago by denkom67.
    #1435378

    Hi,
    Sorry I don’t know what you mean, WordPress knows what parent theme your child theme is using by the template line in your style.css file:
    Enfold_Support_4845.jpeg
    so ensure this is correct and your parent theme is named correctly:
    Enfold_Support_4847.jpeg
    I’m pretty sure that you can not use the bundled LayerSlider files in any other themes, so it makes since that this is checking the theme, I don’t know how to circumvent the theme & LayerSlider security.
    Have you noticed any other issues with your site, I assume that you have already tried disabling your plugins and any other customizations. Please note that if you have a customized header.php or footer.php, please don’t use these, it is the most common reason for errors when updating. Please remove these files and any customizations you wish to make should be done in your child theme functions.php

    Best regards,
    Mike

    #1435359

    Hi,
    Thanks, I see your site is using PHP v7.4.33, try updating to v8 and check again.

    Best regards,
    Mike

    #1435328

    Thank you for your reply.
    then this error appears?

    Warning: Undefined array key “path” in /home/httpd/vhosts/sample-page.li/httpdocs/wp-includes/l10n.php on line 1127 Deprecated: str_starts_with(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/httpd/vhosts/sample-page.li/httpdocs/wp-includes/l10n.php on line 1127 Warning: Undefined array key “path” in /home/httpd/vhosts/sample-page.li/httpdocs/wp-includes/l10n.php on line 1144 Deprecated: str_starts_with(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/httpd/vhosts/sample-page.li/httpdocs/wp-includes/l10n.php on line 1144 Warning: Undefined array key “path” in /home/httpd/vhosts/sample-page.li/httpdocs/wp-includes/l10n.php on line 1162 Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /home/httpd/vhosts/sample-page.li/httpdocs/wp-includes/l10n.php on line 1162 Warning: Undefined array key “path” in /home/httpd/vhosts/sample-page.li/httpdocs/wp-includes/l10n.php on line 1127 Deprecated: str_starts_with(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/httpd/vhosts/sample-page.li/httpdocs/wp-includes/l10n.php on line 1127 Warning: Undefined array key “path” in /home/httpd/vhosts/sample-page.li/httpdocs/wp-includes/l10n.php on line 1144 Deprecated: str_starts_with(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/httpd/vhosts/sample-page.li/httpdocs/wp-includes/l10n.php on line 1144 Warning: Undefined array key “path” in /home/httpd/vhosts/sample-page.li/httpdocs/wp-includes/l10n.php on line 1162 Deprecated: trim(): Passing null to pa

    thanks
    kind regards
    Franz

    Hey Eleina,
    I didn’t find a way to do this so I created a shortcode to create a button that will play a audio file and show a progress bar for the audio track while it is playing
    Enfold_Support_4795.jpeg
    The shortcode to use on your page:
    [audio_player src="URL_TO_YOUR_AUDIO_FILE.mp3" text="Custom Button Text"]
    Then add this code to the end of your child theme functions.php file in Appearance ▸ Editor:

    // use this shortcode: [audio_player src="URL_TO_YOUR_AUDIO_FILE.mp3" text="Custom Button Text"]
    function custom_audio_player_shortcode($atts) {
        $atts = shortcode_atts(
            array(
                'src' => '',
                'text' => 'Play Audio',
            ),
            $atts,
            'audio_player'
        );
    
        // Generate a unique ID for this instance
        $uid = uniqid('audio_player_');
    
        ob_start();
        ?>
        <style>
            .custom-audio-player {
                position: relative;
                max-width:200px;
                margin-bottom:10px;
            }
    
            .audio-control {
                position: relative;
                overflow: hidden;
                padding: 10px;
                border: none;
                background-color: #007bff;
                color: #ffffff;
                cursor: pointer;
                width:200px;
                transition: background-color 0.3s ease;
            }
    
            .audio-progress {
                position: absolute;
                bottom: 0;
                left: 0;
                height: 5px;
                background-color: #ff0000;
                width: 0;
                max-width: 100%;
                transition: width 0.1s linear;
            }
        </style>
        <div class="custom-audio-player" id="<?php echo $uid; ?>">
            <button class="audio-control"><?php echo esc_html($atts['text']); ?></button>
            <div class="audio-progress"></div>
        </div>
        <audio class="custom-audio" src="<?php echo esc_url($atts['src']); ?>"></audio>
        <script>
            document.addEventListener('DOMContentLoaded', function() {
                var player = document.getElementById('<?php echo $uid; ?>');
                var audio = player.nextElementSibling;
                var button = player.querySelector('.audio-control');
                var progress = player.querySelector('.audio-progress');
                var originalButtonText = "<?php echo esc_js($atts['text']); ?>";
    
                button.addEventListener('click', function() {
                    if (audio.paused) {
                        audio.play();
                        button.textContent = 'Pause Audio';
                    } else {
                        audio.pause();
                        button.textContent = originalButtonText; // Use originalButtonText instead of hardcoding
                    }
                });
    
                audio.addEventListener('timeupdate', function() {
                    var duration = audio.duration;
                    var currentTime = audio.currentTime;
                    var progressWidth = (currentTime / duration) * 100 + '%';
                    progress.style.width = progressWidth;
                });
    
                audio.addEventListener('ended', function() {
                    button.textContent = originalButtonText;
                });
            });
        </script>
        <?php
        return ob_get_clean();
    }
    add_shortcode('audio_player', 'custom_audio_player_shortcode');
    

    Please ensure to copy the code from the forum and not an email notification so the symbols are not converted.
    If you are not using a child theme you could use the WP Code plugin then add a new snippet, in the top right corner use the PHP snippet as the code type:
    Enfold_Support_2680.jpeg
    then add the above code and save.
    You can adjust the css in the code above to suit your site.

    Best regards,
    Mike

    #1435271

    Hello Guenni007
    Thank you very much for your quick reply.

    I have re-downloaded the theme enfold
    and was then able to install it without any problems.

    But now I get the following message when I log in to edge:

    Warning: Undefined array key “path” in /home/httpd/vhosts/sample-page.li/httpdocs/wp-includes/l10n.php on line 1127 Warning: Undefined array key “path” in /home/httpd/vhosts/sample-page.li/httpdocs/wp-includes/l10n.php on line 1144 Warning: Undefined array key “path” in /home/httpd/vhosts/sample-page.li/httpdocs/wp-includes/l10n.php on line 1162 Warning: Undefined array key “path” in /home/httpd/vhosts/sample-page.li/httpdocs/wp-includes/l10n.php on line 1127 Warning: Undefined array key “path” in /home/httpd/vhosts/sample-page.li/httpdocs/wp-includes/l10n.php on line 1144 Warning: Undefined array key “path” in /home/httpd/vhosts/sample-page.li/httpdocs/wp-includes/l10n.php on line 1162

    what am I doing wrong?
    Thank you
    kind regards
    Frank

    • This reply was modified 2 years, 1 month ago by Rikard.
    #1435215
    signumsrl
    Participant

    I created a website in WordPress 6.4.3 with ENFOLD 5.6.10 template. The site is hosted on ARUBA version PHP 8.3. Since the hosting provider allows me to upgrade the MySql database from the current version 5.7 to 8.0, I would like to know if this could generate problems with the ENFOLD theme. I look forward to feedback. Thank you

    #1435190

    In reply to: PHP-Version

    Hey Judith Rauschenbach,
    Our current version 5.6.10 supports PHP v7.4-v8+

    Best regards,
    Mike

    #1435153

    Toggling File Compression sadly didn’t solve the issue so I’ve been back to basics and reinstalled Enfold 2017. This has given me the issues I had with my other site which we fixed together. But now I cannot install Enfold-Child theme where I fixed earlier issues with some PHP code. Now each time I try (with several different downloaded Enfold-Child.zip files) I get the error message “Incompatible Archive.”

    Any ideas??

    #1435083

    Hey carmen,

    Thank you for the inquiry.

    This is possible but you have to modify the enfold/config-templatebuilder/avia-shortcodes/gallery_horizontal/gallery_horizontal.php file, look for this code around line 786:

    $img_tag = "<img class='av-horizontal-gallery-img' width='{$img[1]}' height='{$img[2]}' src='{$img[0]}' title='{$title}' alt='{$alt}' />";
    					$img_tag = Av_Responsive_Images()->prepare_single_image( $img_tag, $attachment->ID, $lazy_loading );
    
    					$output .= $img_tag;
    
    

    Replace it with:

    $img_tag = "<img class='av-horizontal-gallery-img' width='{$img[1]}' height='{$img[2]}' src='{$img[0]}' title='{$title}' alt='{$alt}' />";
                        $img_tag = Av_Responsive_Images()->prepare_single_image( $img_tag, $attachment->ID, $lazy_loading );
    
                        $image_caption = wp_get_attachment_caption( $attachment->ID );
    
                        $output .= '<div class="image-container">';
                        $output .= $img_tag;
                        $output .= '<div class="image-caption">';
                        $output .= '<h4>' . get_the_title( $attachment->ID ) . '</h4>'; // Include title
                        $output .= '<p>' . $image_caption . '</p>'; // Include caption
                        $output .= '</div>';
                        $output .= '</div>';
    

    Best regards,
    Ismael

    #1435078

    Hey!

    Regarding #4, there is a function called avia_filter_wpseo_sitemap_urlimages, which extracts mage IDs from image or slider elements in the ALB, and push them to the wpseo_sitemap_urlimages filter for registration in the Yoast sitemap. To register more ALB elements such as sliders, you can use the avf_add_elements_wpseo_sitemap filter in the functions.php file:

    Related thread: https://kriesi.at/support/topic/how-to-make-images-in-masonry-gallery-to-be-indexed-in-seo-yoast-sitemap/

    Thank you for your patience.

    Regards,
    Ismael

    #1434949

    In reply to: Footer not displaying

    This reply has been marked as private.
    #1434834

    Hi,

    every image ID needs to be added to the css right?

    Are you referring to @Guenni007’s modification? You can remove the .page-id-xxxxx selector from the css code if you want the changes to apply globally.

    #top .with-lightbox-caption .avia_image {
      overflow: visible !important;
    }
    
    #top .av-image-caption-overlay {
      bottom: -30px !important;
      font-size: 10px !important;
      height: auto !important;
      width: 100% !important; 
      text-align: justify !important;
    }
    
    #top .avia-image-overlay-wrap:hover .av-image-caption-overlay,
    #top .avia-image-overlay-wrap:hover .av-caption-image-overlay-bg {
      opacity: 1 !important;
    }

    You should also remove the is_page conditional function from the animated_enfold_lightbox callback.

    function animated_enfold_lightbox() {
    ?>
    <script type="text/javascript">
    (function($){
     // rest of the code
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'animated_enfold_lightbox', 999);
    

    Best regards,
    Ismael

    #1434797

    Hey Daniel,
    Try adding this code to the end of your child theme functions.php file in Appearance ▸ Editor:

    add_theme_support('avia-no-duplicate-post');

    Or you can add it as a PHP snippet in the WP Code plugin
    Enfold_Support_4770.jpeg

    Best regards,
    Mike

    #1434594

    Hi,
    Please note the PHP error on your dashboard:
    Enfold_Support_4727.jpeg
    also please update these server setting:
    PHP max input variables = 10000
    PHP time limit = 300

    Typically a basic SSL is free, see this post, or this GoDaddy documentation.
    I don’t think that you need SSL to install the demo, but many web browsers will not load your page without one and Google will not list your page, a SSL is needed for a modern website and most webhosts offer the free Lets Encrypt SSL

    Best regards,
    Mike

Viewing 30 results - 841 through 870 (of 16,890 total)