Viewing 30 results - 1 through 30 (of 11,179 total)
  • Author
    Search Results
  • #1494037

    Hey SurigliaStudio,
    When I test your site the “Taglie” button doesn’t create a mobile style flyout menu, I assume that you now have the plugin disabled, but I think that I understand. I have created a custom function that will create a mobile style overlay menu from a sticky button on the right using a image that you can choose:
    fUawEAX.md.png
    fUaOLwF.md.png
    and on mobile the overlay is about 95% of the screen.
    The function uses the Named Menus from your WordPress menus to show:
    fUaQF6B.md.png
    In Configuration there is a line to choose your menu image/icon and the default menu to show on all pages:
    fUcd32j.md.png
    and below you can add as many additional menus with an array of pages that they will show on:
    fUcFI4e.md.png
    The code also has all of the css built-in for styling if you want to adjust.
    Add this code to your child theme functions.php file, 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:
    fUcTO4R.jpg
    then add the above code and save.

    /**
     * Add Sticky Button with Fly-out Menu
     * Add this to your Enfold child theme's functions.php
     */
    
    function custom_sticky_menu_button() {
        // Configuration - Change these values as needed
        $button_image = '/wp-content/uploads/2026/01/menu.png'; // Update path to your PNG
        $menu_slug = 'sticky menu'; // Default menu slug - change as needed
        
        // Optional: Set different menu based on page ID
        $current_page_id = get_the_ID();
        // Example: Use different menu for specific pages
         if (in_array($current_page_id, array(1028, 1080, 1031, 1034))) {
            $menu_slug = 'sticky menu two';
         }
    	if (in_array($current_page_id, array(1376, 1331, 1277, 1283))) {
            $menu_slug = 'sticky menu three';
         }
        
        // Get the menu
        $menu_items = wp_get_nav_menu_items($menu_slug);
        
        if (!$menu_items) {
            return; // Exit if menu doesn't exist
        }
        ?>
        
        <!-- Sticky Button -->
        <div id="sticky-menu-btn" class="sticky-menu-button">
            " alt="Menu">
        </div>
        
        <!-- Fly-out Menu Overlay -->
        <div id="flyout-menu-overlay" class="flyout-menu-overlay">
            <div class="flyout-menu-close">×</div>
            <nav class="flyout-menu-content">
                <?php
                wp_nav_menu(array(
                    'menu' => $menu_slug,
                    'container' => false,
                    'menu_class' => 'flyout-nav-menu',
                    'fallback_cb' => false
                ));
                ?>
            </nav>
        </div>
        
        <style>
            /* Sticky Button Styles */
            .sticky-menu-button {
                position: fixed;
                right: 20px;
                top: 50%;
                transform: translateY(-50%);
                width: 50px;
                height: 50px;
                border-radius: 50%;
                cursor: pointer;
                z-index: 9998;
                transition: opacity 0.3s ease;
                box-shadow: 0 2px 10px rgba(0,0,0,0.3);
                overflow: hidden;
            }
            
            .sticky-menu-button img {
                width: 100%;
                height: 100%;
                object-fit: cover;
            }
            
            .sticky-menu-button.hidden {
                opacity: 0;
                pointer-events: none;
            }
            
            /* Fly-out Menu Overlay */
            .flyout-menu-overlay {
                position: fixed;
                top: 0;
                right: -100%;
                width: 25%;
                height: 100vh;
                background: #fff;
                z-index: 9999;
                transition: right 0.4s ease;
                box-shadow: -2px 0 10px rgba(0,0,0,0.2);
                overflow-y: auto;
            }
            
            .flyout-menu-overlay.active {
                right: 0;
            }
            
            /* Close Button */
            .flyout-menu-close {
                position: absolute;
                top: 20px;
                right: 20px;
                font-size: 36px;
                cursor: pointer;
                color: #333;
                width: 40px;
                height: 40px;
                display: flex;
                align-items: center;
                justify-content: center;
                line-height: 1;
                transition: color 0.3s ease;
            }
            
            .flyout-menu-close:hover {
                color: #000;
            }
            
            /* Menu Content */
            .flyout-menu-content {
                padding: 80px 30px 30px;
            }
            
            .flyout-nav-menu {
                list-style: none;
                margin: 0;
                padding: 0;
            }
            
            .flyout-nav-menu li {
                margin: 0 0 15px 0;
            }
            
            .flyout-nav-menu a {
                display: block;
                padding: 12px 0;
                color: #333;
                text-decoration: none;
                font-size: 16px;
                transition: color 0.3s ease;
                border-bottom: 1px solid #eee;
            }
            
            .flyout-nav-menu a:hover {
                color: #000;
            }
            
            /* Sub-menu styles */
            .flyout-nav-menu .sub-menu {
                list-style: none;
                margin: 10px 0 0 20px;
                padding: 0;
            }
            
            .flyout-nav-menu .sub-menu a {
                font-size: 14px;
                padding: 8px 0;
            }
            
            /* Mobile Styles */
            @media (max-width: 768px) {
                .flyout-menu-overlay {
                    width: 95%;
                }
            }
        </style>
        
        <script>
            (function() {
                var btn = document.getElementById('sticky-menu-btn');
                var overlay = document.getElementById('flyout-menu-overlay');
                var closeBtn = document.querySelector('.flyout-menu-close');
                
                // Open menu
                btn.addEventListener('click', function() {
                    overlay.classList.add('active');
                    btn.classList.add('hidden');
                    document.body.style.overflow = 'hidden'; // Prevent body scroll
                });
                
                // Close menu
                closeBtn.addEventListener('click', function() {
                    overlay.classList.remove('active');
                    btn.classList.remove('hidden');
                    document.body.style.overflow = ''; // Restore body scroll
                });
                
                // Close on overlay click outside menu
                overlay.addEventListener('click', function(e) {
                    if (e.target === overlay) {
                        overlay.classList.remove('active');
                        btn.classList.remove('hidden');
                        document.body.style.overflow = '';
                    }
                });
            })();
        </script>
        
        <?php
    }
    add_action('wp_footer', 'custom_sticky_menu_button');
    

    Adjust the image, menus, and page IDs to suit.

    Best regards,
    Mike

    #1493971

    Topic: Pop Up Maker

    in forum Enfold
    condonp
    Participant

    Dear Sirs,

    I am using Gravity forms and thay recommend popup maker plugin. I have therefore created a pop up with the form embedded using avia layout builder and using the button in the content elements tab. I have set up a popup called Brochure Website with the gravity form embedded with a css class of popmake-5288 but cant seem to get this to work. I have also added some php from another enfold forum see below but if even if I add this on a text block the popup short code to be selected but and when I select brochure website it wont save the trigger from here?

    Please note I have added this also

    Can you help

    Code now in functions php

    function avf_alb_supported_post_types_mod( array $supported_post_types )
    {
    $supported_post_types[] = “popup”;
    return $supported_post_types;
    }
    add_filter(‘avf_alb_supported_post_types’,’avf_alb_supported_post_types_mod’, 10, 1);

    function my_custom_exec_sc_only( $exec_sc_only, $obj_sc, $atts, $content, $shortcodename, $fake )
    {
    /**
    * Return if true – Enfold already requested an execution because of preview in backend
    * Otherwise this is likley to be false.
    */

    if( true === $exec_sc_only )
    {
    return $exec_sc_only;
    }

    return true;

    /**
    * Make your checks here – make sure to return boolean true if you want to force execution
    *
    * Following is an example to allow it for all ajax calls.
    */

    if( defined( ‘DOING_AJAX’ ) && DOING_AJAX )
    {
    return true;
    }

    return $exec_sc_only;
    }

    add_filter( ‘avf_alb_exec_sc_only’, ‘my_custom_exec_sc_only’, 10, 6 );

    #1493966

    Hey Ismael, thanks for your reply.
    What I mean is that in the Enfold version of the login screen there is a tiny stuff unser the field that is doind the revail password thing:
    https://www.awesomescreenshot.com/video/48386775?key=6b73c617bba3728fd0fbc925e8be1fe5
    It’s not recognizable at all.
    It should look like more as the default theme feature.
    The little strange button ist’s shown only in Enfold. Any other theme will have that eye on the fild as I was showing in my previous post.

    Thanks!

    #1493953

    Dear Sirs,

    I am using Gravity forms and thay recommend popup maker plugin. I have therefore created a pop up with the form embedded using avia layout builder and using the button in the content elements tab. I have set up a popup called Brochure Website with the gravity form embedded with a css class of popmake-5288 but cant seem to get this to work. I have also added some php from another enfold forum see below but if even if I add this on a text block the popup short code to be selected but and when I select brochure website it wont save the trigger from here?

    Can you help

    Code now in functions php

    function avf_alb_supported_post_types_mod( array $supported_post_types )
    {
    $supported_post_types[] = “popup”;
    return $supported_post_types;
    }
    add_filter(‘avf_alb_supported_post_types’,’avf_alb_supported_post_types_mod’, 10, 1);

    function my_custom_exec_sc_only( $exec_sc_only, $obj_sc, $atts, $content, $shortcodename, $fake )
    {
    /**
    * Return if true – Enfold already requested an execution because of preview in backend
    * Otherwise this is likley to be false.
    */

    if( true === $exec_sc_only )
    {
    return $exec_sc_only;
    }

    return true;

    /**
    * Make your checks here – make sure to return boolean true if you want to force execution
    *
    * Following is an example to allow it for all ajax calls.
    */

    if( defined( ‘DOING_AJAX’ ) && DOING_AJAX )
    {
    return true;
    }

    return $exec_sc_only;
    }

    add_filter( ‘avf_alb_exec_sc_only’, ‘my_custom_exec_sc_only’, 10, 6 );

    #1493793

    Hi,
    Try removing this part of the css above from the end:

    #top .header_color .av-hamburger-inner,
      #top .header_color .av-hamburger-inner::before,
      #top .header_color .av-hamburger-inner::after {
        background-color: var(--enfold-header-color-button-font);
      }

    and add this css:

    @media only screen and (max-width: 767px) {
        .responsive:not(.html_header_transparency) #top #main {
            padding-top: 80px !important;
        }
    }

    Best regards,
    Mike

    #1493774

    Can you post a link to the page in question?
    It will then be easier to advise you on which method to use to place the widget (which hook to use) and which CSS is required.
    (follow Rikards link above)

    /* ==== Header widget area
    Logo left, Menu right
    Logo right, Menu Left
    Logo center, Menu above
    ==== */
    add_action( 'ava_after_main_menu', 'enfold_customization_header_widget_area' );
    	function enfold_customization_header_widget_area() {
    	dynamic_sidebar( 'header' );
    }
    
    /* ==== Header widget area ============
    Logo left, menu below
    ==================================== */
    add_action( 'ava_main_header', 'enfold_customization_header_widget_area' );
    	function enfold_customization_header_widget_area() {
    	dynamic_sidebar( 'header' );
    }
    

    after that create your new widget-area on :

    _______________________

    if you like to have the widget-area always nearby the logo – it might be better to use a filter to place the widget area:
    See here a different solution with a widget area inside logo container ;)
    https://basis.webers-testseite.de/
    tell me – if this is what you like to have – and if your header setting is in this way.

    See snippets and basic css for that on: https://webers-testseite.de/fiorettipau/

    i inserted to that widget-area a html widget – (copy&pasted html code from an enfold button-row)
    Of course, you have to adapt the CSS to your header configuration. And you may also need to set a responsive behaviour.

    f.e. if you got a shrinking header – you had to decide f.e. if you set the widgettitle to display none on header-scrolled.

    #1493761

    Hello Ismael,

    Off-course I shall share a view screenshots of this problem, becuase I understand you have no clu what is going on.
    Screenshot 1 is how it suppose to look like in normal conditions, you will see the blue ALB button:
    ALB-problem-1

    Screenshot 2 is when you have activated the button and you see all options you can choose from:
    ALB-problem-2

    Screenshot 3 is how the pages look like whit the problem: no ALB button is there:
    ALB-problem-3

    Screenshot 4 is the Listings that I have made in the Enfold Child > Layout Editor > Advanced Options > Enable your custom post types for ALB:
    (my site is in Dutch btw)
    and I have used 2 seperate words for the accommodation that are not working (Safari is working) when I turn then from place there is no effect, Safari is still working and accommodation is not:
    ALB-problem-4

    Screenshot 5 are the 2 Listings
    ALB-problem-5

    Screenshoit 6 is the Listing settings to Display
    ALB-problem-6

    Screenshoit 7 is the Listing settings to Query
    ALB-problem-7

    #1493752

    Hey Antonio,

    Thank you for the inquiry.

    You can add this css code to switch the header to transparent in the mobile view.

    @media only screen and (max-width: 767px) {
    
      /* Add your Mobile Styles here */
      .responsive #top #wrap_all #header {
        position: fixed;
        background: transparent;
      }
    
      .responsive #top .av_header_transparency.av_alternate_logo_active .logo a>img,
      .responsive #top .av_header_transparency.av_alternate_logo_active .logo a>svg {
        display: none;
      }
    
      .responsive #top .av_header_transparency .logo .subtext.avia-svg-logo-sub,
      .responsive #top .av_header_transparency .logo img.alternate {
        display: block;
      }
    
      #top #header.header_color.av_header_transparency .av-main-nav>li>a:hover .av-hamburger-inner,
      #top #header.header_color.av_header_transparency .av-main-nav>li>a:focus .av-hamburger-inner,
      #top #header.header_color.av_header_transparency .av-main-nav>li>a:hover .av-hamburger-inner::before,
      #top #header.header_color.av_header_transparency .av-main-nav>li>a:focus .av-hamburger-inner::before,
      #top #header.header_color.av_header_transparency .av-main-nav>li>a:hover .av-hamburger-inner::after,
      #top #header.header_color.av_header_transparency .av-main-nav>li>a:focus .av-hamburger-inner::after {
        background: var(--enfold-header-color-button-font);
        opacity: 1;
      }
    
      #top .header_color .av-hamburger-inner,
      #top .header_color .av-hamburger-inner::before,
      #top .header_color .av-hamburger-inner::after {
        background-color: var(--enfold-header-color-button-font);
      }
    }

    (see screenshot in the private field)

    Best regards,
    Ismael

    #1493731

    HI

    I cleared the cache using hummingbird. The bottom two buttons still look unformatted.

    Screenshot: https://tinyurl.com/26542vg3

    Q: does the Enfold theme have its own caching button?

    Please advise.

    #1493697
    kurson
    Participant

    The Enfold Button Loses it’s formatting when modified.

    When I modify the text for any of these buttons, the button previews correctly but when I go line it loses its formatting an looks like a clear button ith green text.

    Screenshot: https://tinyurl.com/2yp6lkec

    Screenshot: https://tinyurl.com/24v5xh82

    #1493506

    Hey Shawn,

    You can open a new thread by clicking this link, or click this button on the Enfold sub forum: https://imgur.com/a/AnoSPNb

    Best regards,
    Rikard

    Hey woogie07,
    Typically if you use the default Enfold/Woo product page layout and choose the WooCommerce 3.0 product gallery in Shop Options > Product Gallery
    It should work. But currently it looks like your page is using a custom layout using Enfold elements.
    It might be possible to keep your layout if you use the dots in your slider instead of the next/prev button and some custom javascript, if you limit your slides to the same number as your variations options. Currently you have 33 slides but only 14 variations options. Perhaps a another plugin would help, but note that not all woo addon plugins work well with Enfold, so you would need to test.

    Best regards,
    Mike

    #1492690

    Hi Rikard.
    Here’s how is it for exemple on Firefox : https://ibb.co/205DCvTS
    ….And here’s how it should be : https://ibb.co/6JmFg6pV
    As you can see, the color of the blue bar with section title has desapeared, same for the button’s color and borders.
    And agin, it’s doing this only on this website. I have no problem so far with the other websites using Enfold.

    Can you help me please ?
    In advance, Thank you .

    #1492665

    Thanks again, Ismael! Interesting — the temp login isn’t expired, but here’s another one in the PC, also good for a week. I spoke with wp engine support and they troubleshot for about a half hour but couldn’t solve it. They showed me how to look in the inspector > Network > trigger the error > click on the first admin-ajax.php > Response and note how there’s just a “1” (https://snipboard.io/RJ7US6.jpg) as opposed to the html that should show there — they suggested I pass that info on to you in hopes it might provide a clue. I also added another environment in the same account, to test a clean install of Enfold there, and there doesn’t seem to be an issue with that install; no errors on buttons, etc. / functioning normally, if that offers any clue / potential solution. Lmk if you have any other questions.

    #1492267

    In reply to: Enfold Version 3.8

    Hey Angelika2017,
    A few years ago Theme Forest stopped using the API Key for updating, and now uses the Token. So you will need to manually update with the steps below. Also Enfold v3.8 is not PHP v8+ ready, which is the most likely reason you can not make changes. Updating should solve.
    We recommend creating a full site backup, including the database, please use your webhost tools for this and not a plugin, unless you are very conflict with the plugin. Another good approach would be to first create a staging site, most webhosts offer this as a single click option, if your webhost has the Softaculous script library that is available in cPanel & Plesk. If it lists your WordPress site you will see a button to create a staging site.
    While we don’t expect any issues updating your site, this is a practical approach for such an old site.
    If you don’t have a Theme Forest because a “developer” created this site for you using their own Theme Forest account, you may need to create your own account by purchasing your own license. Note that Theme Forest will not transfer licenses & we can not create licenses due to our contract with Theme Forest.

    To 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
    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,
    then you will see the Theme updated successfully message.
    After which you can go to your Theme Forest account and create a new Token for future automatic updates.

    Best regards,
    Mike

    Hello,

    There seems to be something wrong with my Enfold installation. When I try the following command,
    $ wp plugin update --all

    I get the following errors:

    PHP Warning:  Undefined array key "HTTP_X_FORWARDED_PROTO" in phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1277) : eval()'d code on line 87
    PHP Warning:  Attempt to read property "options" on null in /var/www/html/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 66
    Warning: Attempt to read property "options" on null in /var/www/html/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 66
    PHP Warning:  Trying to access array offset on value of type null in /var/www/html/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 74
    Warning: Trying to access array offset on value of type null in /var/www/html/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 74
    PHP Warning:  Attempt to read property "options" on null in /var/www/html/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 66
    Warning: Attempt to read property "options" on null in /var/www/html/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 66
    PHP Warning:  Trying to access array offset on value of type null in /var/www/html/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 74
    Warning: Trying to access array offset on value of type null in /var/www/html/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 74
    PHP Warning:  Attempt to read property "options" on null in /var/www/html/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 66
    Warning: Attempt to read property "options" on null in /var/www/html/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 66
    PHP Warning:  Trying to access array offset on value of type null in /var/www/html/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 74
    Warning: Trying to access array offset on value of type null in /var/www/html/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 74
    PHP Warning:  Attempt to read property "options" on null in /var/www/html/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 66
    Warning: Attempt to read property "options" on null in /var/www/html/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 66
    PHP Warning:  Trying to access array offset on value of type null in /var/www/html/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 74
    Warning: Trying to access array offset on value of type null in /var/www/html/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 74
    PHP Warning:  Attempt to read property "options" on null in /var/www/html/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 66
    Warning: Attempt to read property "options" on null in /var/www/html/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 66
    PHP Warning:  Trying to access array offset on value of type null in /var/www/html/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 74
    Warning: Trying to access array offset on value of type null in /var/www/html/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 74
    PHP Warning:  Attempt to read property "options" on null in /var/www/html/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 66
    Warning: Attempt to read property "options" on null in /var/www/html/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 66
    PHP Warning:  Trying to access array offset on value of type null in /var/www/html/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 74
    Warning: Trying to access array offset on value of type null in /var/www/html/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 74
    PHP Warning:  Attempt to read property "options" on null in /var/www/html/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 66
    Warning: Attempt to read property "options" on null in /var/www/html/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 66
    PHP Warning:  Trying to access array offset on value of type null in /var/www/html/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 74
    Warning: Trying to access array offset on value of type null in /var/www/html/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 74
    PHP Warning:  Attempt to read property "options" on null in /var/www/html/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 66
    Warning: Attempt to read property "options" on null in /var/www/html/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 66
    PHP Warning:  Trying to access array offset on value of type null in /var/www/html/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 74
    Warning: Trying to access array offset on value of type null in /var/www/html/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 74
    PHP Warning:  Attempt to read property "options" on null in /var/www/html/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 66
    Warning: Attempt to read property "options" on null in /var/www/html/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 66
    PHP Warning:  Trying to access array offset on value of type null in /var/www/html/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 74
    Warning: Trying to access array offset on value of type null in /var/www/html/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 74
    PHP Warning:  Attempt to read property "options" on null in /var/www/html/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 66
    Warning: Attempt to read property "options" on null in /var/www/html/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 66
    PHP Warning:  Trying to access array offset on value of type null in /var/www/html/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 74
    Warning: Trying to access array offset on value of type null in /var/www/html/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 74
    PHP Warning:  Attempt to read property "options" on null in /var/www/html/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 66
    Warning: Attempt to read property "options" on null in /var/www/html/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 66
    PHP Warning:  Trying to access array offset on value of type null in /var/www/html/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 74
    Warning: Trying to access array offset on value of type null in /var/www/html/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 74
    PHP Warning:  Attempt to read property "options" on null in /var/www/html/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 66
    Warning: Attempt to read property "options" on null in /var/www/html/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 66
    PHP Warning:  Trying to access array offset on value of type null in /var/www/html/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 74
    Warning: Trying to access array offset on value of type null in /var/www/html/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 74
    PHP Warning:  Attempt to read property "options" on null in /var/www/html/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 66
    Warning: Attempt to read property "options" on null in /var/www/html/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 66
    PHP Warning:  Trying to access array offset on value of type null in /var/www/html/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 74
    Warning: Trying to access array offset on value of type null in /var/www/html/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 74
    PHP Warning:  Attempt to read property "options" on null in /var/www/html/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 66
    Warning: Attempt to read property "options" on null in /var/www/html/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 66
    PHP Warning:  Trying to access array offset on value of type null in /var/www/html/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 74
    Warning: Trying to access array offset on value of type null in /var/www/html/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 74
    PHP Warning:  Attempt to read property "options" on null in /var/www/html/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 66
    Warning: Attempt to read property "options" on null in /var/www/html/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 66
    PHP Warning:  Trying to access array offset on value of type null in /var/www/html/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 74
    Warning: Trying to access array offset on value of type null in /var/www/html/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 74
    PHP Warning:  Attempt to read property "options" on null in /var/www/html/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 66
    Warning: Attempt to read property "options" on null in /var/www/html/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 66
    PHP Warning:  Trying to access array offset on value of type null in /var/www/html/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 74
    Warning: Trying to access array offset on value of type null in /var/www/html/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 74
    PHP Warning:  Attempt to read property "options" on null in /var/www/html/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 66
    Warning: Attempt to read property "options" on null in /var/www/html/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 66
    PHP Warning:  Trying to access array offset on value of type null in /var/www/html/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 74
    Warning: Trying to access array offset on value of type null in /var/www/html/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 74
    PHP Warning:  Attempt to read property "options" on null in /var/www/html/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 66
    Warning: Attempt to read property "options" on null in /var/www/html/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 66
    PHP Warning:  Trying to access array offset on value of type null in /var/www/html/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 74
    Warning: Trying to access array offset on value of type null in /var/www/html/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 74
    PHP Fatal error:  Uncaught Error: Attempt to modify property "config" on null in /var/www/html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/slideshow_layerslider/slideshow_layerslider.php:28
    Stack trace:
    #0 /var/www/html/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/shortcode-template.class.php(65): avia_sc_layerslider->shortcode_insert_button()
    #1 /var/www/html/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/template-builder.class.php(1306): aviaShortcodeTemplate->__construct()
    #2 /var/www/html/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/template-builder.class.php(428): AviaBuilder->createShortcode()
    #3 /var/www/html/wp-includes/class-wp-hook.php(341): AviaBuilder->init()
    #4 /var/www/html/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters()
    #5 /var/www/html/wp-includes/plugin.php(522): WP_Hook->do_action()
    #6 /var/www/html/wp-settings.php(742): do_action()
    #7 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1317): require('...')
    #8 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1235): WP_CLI\Runner->load_wordpress()
    #9 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/LaunchRunner.php(28): WP_CLI\Runner->start()
    #10 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/bootstrap.php(78): WP_CLI\Bootstrap\LaunchRunner->process()
    #11 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/wp-cli.php(27): WP_CLI\bootstrap()
    #12 phar:///usr/local/bin/wp/php/boot-phar.php(11): include('...')
    #13 /usr/local/bin/wp(4): include('...')
    #14 {main}
      thrown in /var/www/html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/slideshow_layerslider/slideshow_layerslider.php on line 28
    Fatal error: Uncaught Error: Attempt to modify property "config" on null in /var/www/html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/slideshow_layerslider/slideshow_layerslider.php:28
    Stack trace:
    #0 /var/www/html/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/shortcode-template.class.php(65): avia_sc_layerslider->shortcode_insert_button()
    #1 /var/www/html/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/template-builder.class.php(1306): aviaShortcodeTemplate->__construct()
    #2 /var/www/html/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/template-builder.class.php(428): AviaBuilder->createShortcode()
    #3 /var/www/html/wp-includes/class-wp-hook.php(341): AviaBuilder->init()
    #4 /var/www/html/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters()
    #5 /var/www/html/wp-includes/plugin.php(522): WP_Hook->do_action()
    #6 /var/www/html/wp-settings.php(742): do_action()
    #7 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1317): require('...')
    #8 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1235): WP_CLI\Runner->load_wordpress()
    #9 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/LaunchRunner.php(28): WP_CLI\Runner->start()
    #10 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/bootstrap.php(78): WP_CLI\Bootstrap\LaunchRunner->process()
    #11 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/wp-cli.php(27): WP_CLI\bootstrap()
    #12 phar:///usr/local/bin/wp/php/boot-phar.php(11): include('...')
    #13 /usr/local/bin/wp(4): include('...')
    #14 {main}
      thrown in /var/www/html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/slideshow_layerslider/slideshow_layerslider.php on line 28
    Error: There has been a critical error on this website.Learn more about troubleshooting WordPress. There has been a critical error on this website.

    Any help is appreciated!
    Thanks,
    Richard

    #1492122
    collinsfgc2025
    Participant

    Hi,

    When I last used Enfold, there was a “Preview” button that would show you the page after you’d made changes in the editor. Now, I can only find an arrow at the top that will open the page, but unless I save the changes, they don’t appear there. I need a way to preview changes before making them permanent with a Save. Suggestions?

    Also, next to the Copyright statement, I’d like to remove the text: powered by Enfold WordPress Theme. How can I do that?

    Thanks.

    Thanks for your input. And yes, I know the issue was caused by the Enfold theme, I had already tried debugging with fallback themes where the Hivepress listing search worked just fine. Unfortunately, we had to stick with the Enfold theme as the whole website was already fully built with it and its ALB visual editor, making it impossible to switch themes just for Hivepress compatibility.

    However, yesterday I took a full day to investigate the Enfold theme files, and I am happy to report that I have found the cause, and thus could fix the problem. Enfold developers might want to read on to understand and fix this potentially problematic code, as it might cause incompatibility issues with not just Hivepress but also other WordPress extensions that use their own search logic.

    The file causing the Hivepress search problem is found in the Enfold theme file structure, namely

    /themes/enfold/includes/helper-template-logic.php

    In this file exists a function called “avia_search_query_filter”, starting around line 37. Its purpose is to “make sure that empty searches are sent to the search page as well”. Empty searches would mean standard text searches without a keyword (search term).

    Unfortunately, this function does not check for custom post_types, it just addresses all searches. The URL https://wiras.dora.group/?post_type=hp_listing&s= should definitely display the search results for the custom “Listing” post type, which is Hivepresses’ own custom post_type (since the parameter is in the URL after clicking Search), and not be treated as a standard text search.

    The problem is that most Hivepress searches would be considered “empty” searches as they don’t have a keyword parameter, but are searches by checkbox, select menue or radio button values (these are generated by the listings “custom fields”). Thus, the above mentioned function of the Enfold theme hijacks those searches and instead of handing them over to Hivepress, redirects them to the themes’ own “Nothing found” search result page.

    All I had to do now is to comment out the whole function in the file “helper-template-logic.php”, starting from line 41 until line 66:

    41 if(!function_exists(‘avia_search_query_filter’))
    42 {
    43 function avia_search_query_filter($query)
    […]
    64 add_filter(‘pre_get_posts’, ‘avia_search_query_filter’);
    65 }

    For now this works for us, as we don’t use a standard text search on the site anyway. We just have to be careful when updating the theme.

    You might consider finetuning your function to check for “custom post types” and exclude them from the search redirecting, as it seems your current approach is a bit too general and has the potential to hijack other plugins custom search patterns.

    Best regards,
    Sebastian

    #1491535

    In reply to: Extra blank space

    Hi,
    To open a new thread plase login and use this link. It is the large blue button.
    To remove the copyright please go to Enfold Theme Options ▸ Footer ▸ Copyright ▸ and add [nolink] See this documentation 

    Best regards,
    Mike

    #1491455

    Hi again,

    I managed to fix it. For those with the same problem, here’s a code snippet to add to the functions.php file that will flush both WP Rocket’s cache and object cache automatically, right after pressing Enfold’s “Save all changes” button.

    // Clear WP Rocket cache and Object Cache when Enfold Theme Options are saved
    add_action( 'avia_ajax_after_save_options_page', function( $new_options ) {
    	
    	// Object Cache Pro: flush object cache
        if ( function_exists( 'wp_cache_flush' ) ) {
            wp_cache_flush();
        }
    	
    	// WP Rocket: full cache purge
        if ( function_exists( 'rocket_clean_domain' ) ) {
            rocket_clean_domain();
        }
    
    }, 20 );


    @Ismael
    , I suggest you forward this to your team, as there is clearly something wrong here:
    – The checkbox “Delete Old CSS And JS Files” is confusing. One expects to not have the CSS deleted if it’s unchecked.
    – If there’s object cache in place, even when all caches are flushed after saving Enfold’s settings, the new CSS is not generated. Object cache needs to be cleared too.

    By the way, the ver=ver-1763353330 parameter is not something of our website. Even Enfold’s demo has it: https://kriesi.at/themes/enfold-2017/

    Thank you.

    #1491451

    Hi Ismael,

    The fact that files are physically deleted is a problem. Honestly, it’s a bit frustrating, because if you guys don’t see any problem, we are stuck with a theme that will cause display issues when you least expect it.

    Since you’d like to see style issues, here’s the steps you need to follow. It can also be reproduce on the staging site:

    1) Activate WP Rocket (the cache plugin we use)

    2) Flush WP Rocket’s cache.

    3) Visit the homepage from an Incognito window. Everything looks good. Notice the backgrounds and the file: https://i.imgur.com/Za2PKtu.png

    4) Go to Theme Options > Performance and scroll down. You will see the option that says “Delete Old CSS And JS Files” is unchecked: https://i.imgur.com/saPibEH.png

    5) Toggle the option on and then off again so the button to save the changes becomes available: https://i.imgur.com/UKA29Ny.png

    6) Save the changes.

    7) At this point, the physical CSS files are deleted.

    8) Close the previous Incognito window and open a new one.

    9) Visit the homepage again. Styles are missing: https://i.imgur.com/oqqtgWN.png

    The reason is clear. Enfold is deleting the files the cached page still references to. I think you need to solve this in any way:
    – Either flush the cache of the most popular cache plugins automatically,
    – or make the checkbox “Delete Old CSS And JS Files” do what it’s supposed to do (if anyway they’re deleted, why does this checkbox exist?),
    – or provide a solution (a filter or something) so that we can flush the cache programmatically when the “Save the changes” button is pressed.

    Thank you,

    #1491392

    Hi Ismael,

    Again, it’s not about losing the styling or not. It’s about the theme’s functionality. Please follow these steps, and feel free to try them yourself. This time I am adding screenshots:

    1) Go to the custom CSS folder. You can see that the CSS file exists: https://i.imgur.com/YLUSIKJ.png

    2) Go to Theme Options > Performance and scroll down. You will see the option that says “Delete Old CSS And JS Files” is unchecked: https://i.imgur.com/saPibEH.png

    3) Toggle the option on and then off again so the button to save the changes becomes available: https://i.imgur.com/UKA29Ny.png

    4) Save the changes. The CSS files should not be deleted, correct? Now check the folder again: https://i.imgur.com/NTTBKLb.png

    5) The link now redirects to a 404: https://app.site.com/wp-content/uploads/dynamic_avia/avia_posts_css/post-25947.css

    6) On a live site, the CSS does not get regenerated because caching systems serve a cached page and prevent the request from reaching Enfold so it can regenerate the CSS. This is problematic because the CSS should not have been deleted in the first place.


    @earthchilde
    : Am I missing something here?

    #1491371

    Hi Ismael,

    I think we are still not on the same page. Let me try to explain it again.

    The problem is that Enfold deletes the old CSS files when saving the theme options. That always happens. It doesn’t matter whether you have made changes to pages or not. It doesn’t matter whether the “Delete Old CSS And JS Files” option is disabled. It’s simple: you press the “Save all changes” button and the CSS files are deleted. Here’s a step by step to reproduce the problem:

    1. Open the homepage from an Incognito.
    2. See the /wp-content/uploads/dynamic_avia/avia_posts_css/post-1614.css file created.
    3. Open the theme options.
    4. Go to the Performance section.
    5. See that “Delete Old CSS And JS Files” is disabled.
    6. Press the “Save all changes” button.
    7. The /wp-content/uploads/dynamic_avia/avia_posts_css/post-1614.css file gets deleted. This should not happen. We explicitly chose these files not to be deleted.

    This is not a problem if there is no cache in place. But almost everyone has a cache plugin, a CDN, or server cache. This means that when the files get deleted, the pages in question still serve the deleted files, and the only solution is to clear the cache manually so that Enfold can regenerate the CSS.

    But the bottom line is that Enfold has a bug where it deletes the CSS files even when we choose not to.

    I hope that clarifies it.

    Thank you.

    #1491278

    Hi Ismael,

    Sorry, what I meant is that all the files in the avia_posts_css folder get deleted when pressing the “Save all changes” button on the Enfold settings page. This button: https://i.imgur.com/2frX3XH.png

    And that happens even when the “Delete Old CSS And JS Files” is disabled and when there is no cache in place. You can see it by yourself in the staging site link I sent you before.

    Thanks!

    TasmaniaBV
    Participant

    Hi,

    We have a very old version (3.0.6) of the Enfold theme and we need to upgrade our PHP version from 5.6.40 to the neweset version PHP 8.4.

    However when we tried we also needed to update the theme which we couldn’t find in our themeforest account so now we have bought the newest version.

    I am trying to fix the issues with our IT partner and he tried updating it while running a localhost version on his laptop but he got a lot of errors.

    Also as soon as we try to update through FTP we get a never ending stream of error messages for example:

    Fatal error: Access level to av_email_spam::shortcode_insert_button() must be public (as in class aviaShortcodeTemplate) in ******\htdocs\*******\wp-content\themes\enfold\config-templatebuilder\avia-shortcodes\email_spam.php on line 16

    To be smart i thought to just exclude it from the php file just to have it move on to the next 50 similar error messages.

    Please let me know how to update the theme. As I found on your forums it was suggested you first needed to update to a version 4.5. or something and that would allow auto updates. However we now only have version 3.0.6. and the newest 7.1.3.

    Kind regards

    #1491052

    Hey allespalettibystefan,

    It’s unfortunately unlikely that we will find the time to make the Enfold layout builder compatible with the plugin you are using. If the plugin is compatible with the default WordPress editor, then I would suggest that you use those. Note that you can still add Enfold elements using Magic Wand button in the classic editor.

    Best regards,
    Rikard

    #1490874

    Perhaps the developers should set this setting to this value (“Block and Hide reset all options button”) by default after Enfold Activation. Too many people have accidentally pressed this button despite a warning pop-up.

    mehrasadi23
    Participant

    Hi,

    Hope you’re doing fine. I’ve recently bought Enfold and I’m using the Travel Demo. There is a blue bar above the main header/main menu that I can’t remove. I even found went to Enfold –> Advanced Styling and I deleted something called “small bar above the main menu”. Now the blue bar is kind of gone but that area is still there with the buttons (call, Registeration, Customer Login). So I thought it’s best to ask you before playing around with it anymore. I found a solution you have provided with adding a CSS code to Enfold but I was wondering if it’s possible to get rid of it without adding any CSS code.

    Thanks

    #1490627
    Chris Cameron
    Guest

    My website terrystavern.com is running Enfold 4.2.4. Can the old 4.2.4 version be updated to the latest version 7.1.3 using the theme update button on my cPanel, or will programming be required to preserve the design? I want to know before purchasing because a web designer used your theme to develop this site and I may choose to just replace the theme with all new if I can’t just by your $59 regular license and simply hit the update button in the Enfold Theme admin area. I don’t have the time to devote to programming and would opt to start with a fresh website if it’s not possible to just hit the update button after purchasing your license. Please let me know. Thanks.

    #1490209
    rtwcs_web
    Participant

    Over the last few days when attempting to edit pages using Advanced Layout Builder page edit, it just throws up a blank page with a button for the Default Editor that just provides a small non-resizable box showing the HTML source.

    After consulting the hosting provider DreamHost they revealed a console message:

    “wp.editPost.PluginBlockSettingsMenuItem is deprecated since version 6.6.
    Please use wp.editor.PluginBlockSettingsMenuItem instead.”

    The suggestion was that there is some incompatibility between our version of Enfold 7.1.3 and WordPress 6.8.3

Viewing 30 results - 1 through 30 (of 11,179 total)