Viewing 30 results - 2,641 through 2,670 (of 16,898 total)
  • Author
    Search Results
  • #1327479

    Hi eisme,

    I see that you are running an old PHP version on your site, could you try updating to 7.4 or higher to see if that helps please? If not, then please share server error logs with us.

    Best regards,
    Rikard

    • This reply was modified 4 years, 5 months ago by Rikard.
    #1327290

    Hi,
    thanks but there is no if(isset($avia_config[‘use_child_theme_functions_only’])) return; in the functions.php file.

    Se all the code below:
    <?php

    /**
    * Add your own functions here. You can also copy some of the theme functions into this file.
    * WordPress will use those functions instead of the original functions then.
    *
    * Remove the comments before or around the sample functions and code to use theme.
    * @link http://kriesi.at/documentation/enfold/using-a-child-theme/
    */

    /**
    * Add filter to add or replace Enfold ALB shortcodes with new folder contents
    *
    * Note that the shortcodes must be in the same format as those in
    * enfold/config-templatebuilder/avia-shortcodes
    *
    * @link http://kriesi.at/documentation/enfold/add-new-or-replace-advanced-layout-builder-elements-from-child-theme/
    */

    add_filter(‘avia_load_shortcodes’, ‘avia_include_shortcode_template’, 15, 1);
    function avia_include_shortcode_template($paths)
    {
    $template_url = get_stylesheet_directory();
    array_unshift($paths, $template_url.’/shortcodes/’);

    return $paths;
    }

    /**
    * Turn on Custom CSS Class field for all Avia Layout Builder elements
    * @link http://kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/
    */
    //add_theme_support(‘avia_template_builder_custom_css’);

    /**
    * Remove the Import dummy data button from theme options
    * @link http://kriesi.at/documentation/enfold/remove-the-import-dummy-data-button/
    */
    //add_theme_support(‘avia_disable_dummy_import’);

    /**
    * Enable Avia Layout Builder Debug
    * @link http://kriesi.at/documentation/enfold/enable-advanced-layout-builder-debug/
    */
    add_action(‘avia_builder_mode’, “builder_set_debug”);
    function builder_set_debug() {
    return “debug”;
    }

    add_filter( ‘avf_google_heading_font’, ‘avia_add_heading_font’);
    function avia_add_heading_font($fonts)
    {
    $fonts[‘Prata’] = ‘Prata:400’;
    $fonts[‘Francois One’] = ‘Francois One:400’;
    $fonts[‘Open Sans’] = ‘Open Sans:300,400,600,700’;
    $fonts[‘Alegreya’] = ‘Alegreya:400,700’;
    return $fonts;
    }

    add_filter( ‘avf_google_content_font’, ‘avia_add_content_font’);
    function avia_add_content_font($fonts)
    {
    $fonts[‘Prata’] = ‘Prata:400’;
    $fonts[‘Francois One’] = ‘Francois One:400’;
    $fonts[‘Open Sans’] = ‘Open Sans:300,400,600,700’;
    $fonts[‘Alegreya’] = ‘Alegreya:400,700’;
    return $fonts;
    }

    add_filter(“kriesi_backlink”,”new_nolink”);
    function new_nolink(){
    $kriesi_at_backlink = “”;
    return $kriesi_at_backlink;
    }

    add_filter( ‘avf_modify_thumb_size’, ‘enfold_customization_modify_thumb_size’, 10, 1 );
    function enfold_customization_modify_thumb_size( $size ) {
    $size[‘masonry’] = array(‘width’=>1500, ‘height’=>250);
    $size[‘entry_without_sidebar’] = array(‘width’=>1210, ‘height’=>1210 , ‘crop’ => false);
    return $size;
    }

    function av_title_sc( ){
    $output = “<h1 class=’page-title’>”. get_the_title() .”</h1>”;
    return $output;
    }
    add_shortcode( ‘av_page_title’, ‘av_title_sc’ );

    function av_author_sc(){
    $current_user = wp_get_current_user();
    $output = “<h6 class=’ra-author’>AN ARTICLE BY ” . $current_user->user_firstname . “</h6>”;
    return $output;
    }
    add_shortcode(‘av_author’,’av_author_sc’);

    function av_excerpt( ){
    $excerpt = get_the_excerpt( $post );
    $output = “<span class=’related-excerpt’>”.$excerpt.”</span>”;
    return $output;
    }
    add_shortcode( ‘av_post_exc’, ‘av_excerpt’ );

    function avia_post_created(){
    $output = “<span class=’post-date’>”. get_the_date( $format, $post_id ) .”</span>”;
    return $output;
    }
    add_shortcode( ‘avia_created’, ‘avia_post_created’ );

    add_action( ‘after_setup_theme’, ‘ava_enfold_builder_layout_mod’ );
    function ava_enfold_builder_layout_mod(){
    add_filter(‘avf_builder_elements’, ‘avf_enfold_builder_layout_settings_mod’);
    }

    function avf_enfold_builder_layout_settings_mod($elements)
    {
    $counter = 0;
    foreach($elements as $element)
    {

    // Layout > Header visibility and transparency
    if($element[‘id’] == ‘header_transparency’) {
    /**
    *
    * Available Options
    * No transparency =
    * Transparent Header = ‘header_transparent’
    * Transparent Header with border = ‘header_transparent header_with_border’
    * Transparent & Glassy Header = ‘header_transparent header_glassy ‘
    * Header is invisible and appears once the users scrolls down = ‘header_transparent header_scrolldown ‘
    * Hide Header on this page = ‘header_transparent header_hidden ‘
    * MOD: Set the Layout > Header visibility and transparency settings to “Hide both”Header is invisible and appears once the users scrolls down”
    *
    **/
    $elements[$counter][‘std’] = ‘header_transparent’;
    }

    $counter++;
    }
    return $elements;
    }

    function av_single_fo(){
    ?>
    <script>
    var header = jQuery(“.single-post #main .avia-section .content”);
    jQuery(window).scroll(function() {
    var scroll = jQuery(window).scrollTop();

    if (scroll >= 250) {
    header.addClass(“single-header”);
    } else {
    header.removeClass(“single-header”);
    }
    });
    </script>
    <?php
    }
    add_action(‘wp_footer’, ‘av_single_fo’);

    add_filter( ‘style_loader_src’, ‘t5_remove_version’ );
    add_filter( ‘script_loader_src’, ‘t5_remove_version’ );

    function t5_remove_version( $url )
    {
    return remove_query_arg( ‘ver’, $url );
    }

    function raboff_custom_checkbox(){
    ?>
    <script>

    jQuery(window).load(function(){
    jQuery(‘h2.avia-caption-title’).after(‘<p class=”close-caption”> </p>’);
    jQuery( “.close-caption”).click(function() {
    var closeTheCap = jQuery(this).closest(“.slideshow_align_caption”);
    closeTheCap.hide(“slow”);
    });
    });

    jQuery(window).scroll(function(){
    var numberNotChecked = jQuery(‘fieldset.alacarte-form input:checkbox:not(“:checked”)’).length;
    console.log(numberNotChecked, “Hello, world!”);

    if (numberNotChecked >= 16) {
    jQuery(“.one-day”).addClass(“p-highlight”);
    }
    else {
    jQuery(“.one-day”).removeClass(“p-highlight”);
    }

    if (numberNotChecked <= 15 && numberNotChecked >= 8 ) {
    jQuery(“.two-day”).addClass(“p-highlight”);
    }
    else {
    jQuery(“.two-day”).removeClass(“p-highlight”);
    }

    if (numberNotChecked <= 7 ) {
    jQuery(“.three-day”).addClass(“p-highlight”);
    }
    else {
    jQuery(“.three-day”).removeClass(“p-highlight”);
    }

    });
    </script>
    <?php
    }
    add_action(‘wp_footer’, ‘raboff_custom_checkbox’);

    function avia_add_custom_social_icon($icons) {
    $icons[‘Turning Torso’] = ‘turning_torso’;
    return $icons;
    }
    add_filter(‘avf_social_icons_options’,’avia_add_custom_social_icon’, 10, 1);

    Jörg Liepe
    Guest

    Liebes Support-Team,
    seit der Umstellung auf Enfold 4.8.6.3 (aktuell: Enfold 4.8.7, PHP: 8.0.8 und WordPress: 5.8.1)
    haben wir Probleme mit Einstellungen für Hintergründe:
    • in Spalten werden keine Hintergrundbilder angezeigt
    • Hintergrundfarben in Farbsektionen und bei Masonry Galerie werden nicht angezeigt
    • Padding-Einstellungen bei Spalten werden ignoriert

    Woran kann das liegen?
    Ich bitte dringend um Unterstützung!

    Mit freundlichen Grüßen

    Jörg Liepe, Marketing

    #1327223

    Hi,
    I’m surprised that OVH can’t update your PHP to v7.4 when most sites are now using v8.0.12
    Your Google Maps was disabled in the theme settings so that caused the error with the footer, I corrected it, but you will need to add your Google Maps API.
    I changed the test page form to send to my test email address then I installed the WP Mail Log plugin to check if the form is sending an email, and my test email was logged, you can see in the admin panel
    2021-10-31_005.jpg
    I also tested your contact page form and it also logged. So at this point you could try setting up your WordPress email to use SMTP with the plugin WP Mail SMTP this would make your site use your own SMTP server instead of the PHP mail, there is a good chance this will work.

    Best regards,
    Mike

    #1327221

    Hi Mike,
    I’ve upgraded Enfold to 4.8.7 with a valide token, re-installed the latest WP release and it stil doesn’t work. I went then to upgrade PHP from 7.3.31 to 7.4, but OVH doesn’t support it, yet. But by the way, I’d be surprised that OVH websites running PHP 7.3 are down, no?

    (The footer of the contact page seems to be wrong…may be an indication??)

    Best regards
    JM

    #1327211

    Hi,
    Thank you for the login, I see that you are using Enfold v4.2, this is quite old and is a pre WordPress v5 release, please update to v4.8.7. Please note that Enfold v4.2 used the old Envato API for licensing which no longer works, so you will need to login to your Theme Forest account and download the latest version of Enfold and manually update by installing the zip file via the WordPress install new theme button, WordPress will ask you if you want to update and then update for you. Here is an example of the message you will see.
    2021-10-31_004.jpg
    I also note that your server is using PHP v7.3.31, WordPress recommends a minimum of v7.4 please ask your webhost to help you update this, please note that WordPress uses PHP for the mail system so please update this.
    After you do this your email should work, if not we will take another look.

    Best regards,
    Mike

    #1327167

    In reply to: Page Split

    Hi Günter,
    unfortunately, the new page_split.php does not have the desired effect:

    • The page links are not displayed.
    • The following page /page/2/ shows a 404 error.
    • The shortcodes in the layout builder no longer work.
    • The previous workarround with nextpage + avia_template_builder_nextpage no longer works either.

    Before: https://www.dropbox.com/s/lql5pfvu6t5y2vs/before.jpg?dl=0
    After: https://www.dropbox.com/s/vcq4jhosgf7knrl/after.jpg?dl=0
    (A Portfolio page)

    Best regards,
    Günter

    Rikard
    Keymaster

    If you are seeing extra padding in Grid Row cells after updating to 4.8.7, then please try replacing the content of this file: /enfold/config-templatebuilder/avia-shortcodes/grid_row/cell.php, with this: https://github.com/KriesiMedia/enfold-library/blob/master/temp_fixes/Enfold_4_8_7/shortcodes/cell.php.

    Make sure that you save the theme options after editing the file, so that the stylesheets will regenerate. If you are not seeing any differences, then make sure that the option to delete old CSS and JS files is active under Enfold->Performance. Also please try checking the results in an incognito or private browser window, in order to avoid local caching.

    If you need help replacing that file, then please open a new thread and include admin WordPress and FTP login details in private.

    Best regards,
    Rikard

    • This topic was modified 4 years, 5 months ago by Rikard.
    #1327164

    Hi,

    Sorry for the problem. Please try replacing the content of this file: /enfold/config-templatebuilder/avia-shortcodes/grid_row/cell.php, with this: https://github.com/KriesiMedia/enfold-library/blob/master/temp_fixes/Enfold_4_8_7/shortcodes/cell.php. If you need help doing so, then please include admin login/FTP details in private.

    Best regards,
    Rikard

    #1327163

    Hi,

    Sorry for the problem. Please try replacing the content of this file: /enfold/config-templatebuilder/avia-shortcodes/grid_row/cell.php, with this: https://github.com/KriesiMedia/enfold-library/blob/master/temp_fixes/Enfold_4_8_7/shortcodes/cell.php. If you need help doing so, then please include admin login/FTP details in private.

    Best regards,
    Rikard

    #1327156

    In reply to: Cant import any demo

    Hey Eldamhogy,
    Thank you for the link to your site, I can help you import the 2017 demo, but you can only import one demo at a time as the demos overwrite each other. Please include FTP access in the Private Content area and ask your webhost to enable PHP ZipArchive Extension, I see it’s disabled on your server. Please note that I will need to reset your site and your current settings will be lost.
    Please disable all of your plugins especially “Limit Login Attempts Reloaded”, thank you.

    Best regards,
    Mike

    #1327078

    Hi Günter. I did as you suggested: copied your php content to cell.php but the problem remains, it doesn’t solve. I cleaned the server and browser cache
    Schermata-2021-10-30-alle-17-18-39

    can it be solved? Thanks Günter for the support

    #1327074

    Hi,

    Sorry for the problems. Will be fixed in next update.

    Meanwhile please replace content of enfold\config-templatebuilder\avia-shortcodes\grid_row\cell.php with

    https://github.com/KriesiMedia/enfold-library/blob/master/temp_fixes/Enfold_4_8_7/shortcodes/cell.php

    Do not forget to make a copy of the original file for a fallback and clear server and browser cache and save theme options to force a rebuild of the post-css files.

    If you need help let us know and we can do it for you.

    Best regards,
    Günter

    #1327060

    In reply to: Page Split

    Hi,

    Sorry for the late reply – and thank you for reporting this.

    I could locate the problem and fix it for most permalink structures.
    It should work for yours. Will be part of the next update.

    Meanwhile please replace enfold\config-templatebuilder\avia-shortcodes\page_split.php

    with the content of:

    https://github.com/KriesiMedia/enfold-library/blob/master/temp_fixes/Enfold_4_8_7/shortcodes/page_split.php

    Do not forget to make a backup of the original file for a fallback and clear server and browser cache.

    If you need help let us know and we can do it for you.

    Best regards,
    Günter

    #1326961

    In reply to: magnific Popup issue ?

    Hi again,
    I think I’ve found the issue…
    Here is the relevant passage in postslider.php (I looked in 4.8.6.2), around line 1106 :

    				$date_query = array();
    				if( 'date_filter' == $params['date_filter'] )
    				{
    					$date_query = AviaHelper::add_date_query( $date_query, $params['date_filter_start'], $params['date_filter_end'], $params['date_filter_format'] );
    				}

    And here the same passage in postslider.php in 4.8.7, around line 1131 :

    				$date_query = AviaHelper::date_query( array(), $params );
    

    But apparently, jut replacing one with the other is not enough to make it work again.

    Could you help ?

    Thanks !

    #1326876

    Topic: magnific Popup issue ?

    in forum Enfold
    JaimBateman
    Participant

    Hi,
    I wonder if you guys changed anything with magnificPopup with 4.8.7. I use a piece of code, given by you, to have buttons or links open popups :

    function popup_inline() { ?>
    <script type="text/javascript">
    jQuery(window).load(function(){
        	jQuery('.pu-link a').addClass('open-popup-link');
    		jQuery('.open-popup-link').magnificPopup({
    	  type:'inline',
    	  midClick: true // Allow opening popup on middle mouse click. Always set it to true if you don't provide alternative source in href.
    	});
    });
    </script>
    <?php }
    
    add_action('wp_head', 'popup_inline');

    This worked flawlessly until I updated to 4.8.7 – but not everywhere, for some reason. I’ll give you, in private, links to the test site (on 4.8.7) which shows a critical error, and the same page on the production site (on 4.8.6.5), which works great. On the developper tools, there is this message :
    “Uncaught TypeError: jQuery(…).magnificPopup is not a function”
    The weird thing is that this piece of code is also used on the homepage, and doesn’t seem to be malfunctionning there… Do you have an idea what’s wrong here ?

    Thanks for your help !

    #1326800

    Hi Ismael,

    As usual thanks to you and the rest of the team for your attention and for all the hard work. Much appreciated! And thanks to all for taking a look at this.

    On a related note, when testing several options,I found that these two filter generate warnings, you may also want to look at that. Neither seems to work for the backend, by the way.

    // Google Maps solution after Enfold 4.5.x
    // -- this disables all googlemap scripts handles frontend: avia_google_maps_front_script 
    // -- and backend: avia-google-maps-api, avia_google_maps_api_script 
    add_filter( ‘avf_load_google_map_api_prohibited’, ‘__return_true’ );
    // This disables loading of Google ReCaptcha in the backend
    add_filter( ‘avf_skip_enqueue_scripts_backend_grecaptcha’, ‘__return_true’ );

    Warnings:

    Warning	Use of undefined constant ‘avf_load_google_map_api_prohibited’ - assumed '‘avf_load_google_map_api_prohibited’' (this will throw an Error in a future version of PHP)
    
    Warning	Use of undefined constant ‘avf_skip_enqueue_scripts_backend_grecaptcha’ - assumed '‘avf_skip_enqueue_scripts_backend_grecaptcha’' (this will throw an Error in a future version of PHP)

    Correction:
    My bad! That’s what I get as punishment for not wrapping it in a function… Embarassing…

    Have a good day!
    Rob

    P.S.
    This code from this post still seems to work however:
    https://kriesi.at/support/topic/proper-method-to-disable-google-maps-in-enfold/#post-1186977

    • This reply was modified 4 years, 6 months ago by rob2701. Reason: Added link to code in pastebin from a post from Nikko
    ceesenco
    Participant

    I’ve just updated to Enfodl 4.8.7 and the bug that I’ve reported earlier is back again: https://kriesi.at/support/topic/uncaught-valueerror-unknown-format-specifier-s-enfold-4-8-6-3-php-8/

    PHP Version: 8.0.11

    #1326735

    So i created a staging environment to show you the difference. I am going to supply the working example which is our live site and the staging site which has it broken. I will denote what is live and what is staging on the private section. The modifications is on line 52 of avia-snippet-hamburger-menu.js and it starts with /**** call second menu *****/ and it ends on line 63. I pasted the code also in the private section.

    to briefly explain what is what.

    the live site:
    i have the modification on the parent file because that is the only way this works. to see what the modification does click on the on hamburger menu and it will be the second menu in the navigation.

    on the staging site. I have the modified js file in the child theme folder. As you will notice it doesnt work. but if you go to the functions.php i have a function commented out (//Load child theme avia.js) if you remove the comment, the modification does work, but when you go to try to close the hamburger menu..it doesnt retract up. the function starts line 30 and ends on line 37

    #1326721

    Hi,

    Please try this in your functions.php file:

    function add_apple_touch_icons(){
      ?>
        <link rel="apple-touch-icon" href="URL of your image" />
        <link rel="apple-touch-icon" sizes="72x72" href="URL of your image" />
        <link rel="apple-touch-icon" sizes="114x114" href="URL of your image" />
        <link rel="apple-touch-icon" sizes="144x144" href="URL of your image" />
    	<?php
    }
    add_action( 'wp_head', 'add_apple_touch_icons' );

    And add the URLs of your icons in the href values.

    Best regards,
    Rikard

    #1326657

    Hi,

    Thank you for the clarification.

    Unfortunately, this is not possible because the default value of the overlay settings would be different for each element or for each page. It is only possible for settings in which the value would be the same for every element. For example, in the slider’s Styling > Slideshow Image Size settings, we could set the “Large” thumbnail as the default option.

    You can try this filter in the functions.php file to automatically apply the same slider image as the custom pattern value.

    add_filter("avf_slideshow_config", function($config) {
    	$counter = 0;
    	foreach ($config["content"] as $slider) {
    		$config["content"][$counter]['attr']['overlay_enable'] = 'aviaTBaviaTBoverlay_enable';
    		$config["content"][$counter]['attr']['overlay_opacity'] = '0.5';
    		$config["content"][$counter]['attr']['overlay_pattern'] = 'custom';
    		$config["content"][$counter]['attr']['overlay_custom_pattern'] = wp_get_attachment_image_url($slider['attr']["id"]);
    		$counter++;
    	}
    
    	return $config;
    }, 10, 1);
    

    Best regards,
    Ismael

    #1326588

    Hi,

    Thank you for the clarification.

    The scripts are required in the backend because the theme has to validate the API key, which is needed in order to use the map API. If you need to completely disable the scripts for some reason, you can use the wp_dequeue_script function.

    // https://developer.wordpress.org/reference/functions/wp_dequeue_script/

    You can find the script handles in the following code..

    wp_register_script( 'avia_google_maps_front_script' , AVIA_JS_URL . 'conditional_load/avia_google_maps_front.js', array( 'jquery' ), $vn, true );
    			wp_register_script( 'avia_google_maps_api_script' , AVIA_JS_URL . 'conditional_load/avia_google_maps_api.js', array( 'jquery' ), $vn, true );
    			wp_register_script( 'avia_google_maps_widget_admin_script' , AVIA_JS_URL . 'conditional_load/avia_google_maps_widget_admin.js', array( 'jquery', 'avia_google_maps_api_script' ,'media-upload' ,'media-views' ), $vn, true );
    

    ,.. within the enfold/framework/php/class-gmaps.php file (line 137).

    Best regards,
    Ismael

    #1326549

    Topic: error at the website

    in forum Enfold
    saludesencial
    Participant

    hello the website

    Warning: include(/wp/legadoysucesion.com/wp-content/uploads/avia_fonts/Flaticon/charmap.php): failed to open stream: No such file or directory in /wp/legadoysucesion.com/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-font-manager.php on line 477

    Warning: include(): Failed opening ‘/wp/legadoysucesion.com/wp-content/uploads/avia_fonts/Flaticon/charmap.php’ for inclusion (include_path=’.:/usr/share/pear:/usr/share/php’) in /wp/legadoysucesion.com/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-font-manager.php on line 477

    goodaa1
    Participant

    I’ve recently been having issues when trying to save pages in WP.

    It’s an intermittent issue and happens every 4 or 5 saves sending me to an error screen showing the content below:

    This site can’t be reached. The connection was reset. ERR_CONNECTION_RESET

    I have spoken to hosting support team over the last week however they have been unable to source the issue or find a resolve.

    All plugins are up to date, WP core is up to date as is Enfold theme.

    I have tested the issue on multiple machines and various networks however issue is persistent.

    I have also set up a staging site on a different server and having the same issue.

    PHP version: 7.3.30

    Any help/advice would be greatly appreciated.

    #1326471

    @Guenni

    I use the filter a lot see example:

    <?php
    
        /**
         * Add a new color set
         * @since 4.8.7
         *
         * All default Enfold color sets
         * Logo Area
         * Main Content
         * Alternate Content
         * Footer
         * Socket
         */
        function wv_color_sets($color_sets)
        {
    
            $color_sets['tertiary_color'] = 'tertiary';
    
            return $color_sets;
    
        }
        add_filter( 'avf_color_sets', 'wv_color_sets', 999, 1 );
    #1326459

    Hi Ismael,

    Thanks for the quick answer. I already had that second option set (load only used elements).

    So, let me rephrase the question: is the code I have now in my functions.php obsolete when using this option?
    And even more importantly, does it also disable the backend (admin area) loading of the Google Maps mess? :-)

    Regards,
    Rob

    P.S.
    The reason I’m asking again is that with the code mentioned above commented out, but the option “only load used elements” set, I still see this in QueryMonitor in the admin:

    Footer:
    https://maps.googleapis.com/maps/api/js?v=3.45
    wp-content/themes/enfold/framework/js/conditional_load/avia_google_maps_api.js
    wp-content/themes/enfold/framework/js/conditional_load/avia_google_recaptcha_front.js

    So it’s almost the same question for Google ReCaptcha, which I do not use at all. Why is it loading at all here?

    Added info 2021-10-26 14:52
    Even stranger, on an exact copy for DEV of that DEVsite, one has the maps script in the backend and the other doesn’t… ?
    Also found this:

    July 22nd 2020 – Version 4.7.6
    added: filter avf_skip_enqueue_scripts_backend_grecaptcha: supress loading of Google reCaptcha scripts in backend

    and this:

    https://kriesi.at/support/topic/proper-method-to-disable-google-maps-in-enfold/

    • This reply was modified 4 years, 6 months ago by rob2701.

    Hey domchocolate,

    Thank you for the inquiry.

    We have checked the lightbox on a browser device emulation and it seems to be working correctly. If you need to prevent the document from scrolling and make sure that the container appears at the center of the document, please try to replace the script with the following code.

    function av_open_inline_popup(){
    ?>
    <script type="text/javascript">
    (function($) {
    $(window).on('load', function(){
    	$('.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', 'av_open_inline_popup');
    

    Thread: https://kriesi.at/support/topic/lightbox-17/

    Best regards,
    Ismael

    #1326318

    In reply to: demo import

    Server Settings
    PHP Version: 7.3.23
    PHP Time Limit: No limit
    PHP Memory Limit: 256M
    PHP Post Max Size: 2048M
    PHP Max Upload Size: 2048M
    Suhosin: Not found
    PHP ZipArchive Extension: Enabled
    PHP DOMDocument Extension: Enabled
    PHP Multibyte String Extension: Enabled
    PHP Multibyte Regex Functions: Enabled
    WP Remote functions: OK

    Everything is ok on my server. This demo import changes photos, inserts not into these sections. I had to correct it manually.

    Second question:
    I don’t want to have footer with your ad. How can i edit: “Enfold WordPress Theme by Kriesi”? I know that in settingas I can disabled footer copyright, but i want have it. My own copyright text without your advertisment. How can I edit “Enfold WordPress Theme by Kriesi”? Thx.

    #1326234

    Hi Yigit
    Thank you for your reply, I am not completely sure that I understand though. The Code you provided under the link I think I added properly. Unfortunately the Issue still persists, although I also did the update of WordPress, the Theme and setting PHP Version with the Hoster to PHP 7.3. Now I still get multiple errors when I update existing pages, and I produces an empty page, even though in the backend I have content. Also the Avia Layout Editor is not loading, there is just a circle that shows its loading. When I create an entire new page, everything loads fine and the Avia layout editor is there. the issue is only there, when I try to edit existing pages. I really would appreciate any help as soon as possible, because it has been hindering us for a while now. Thank you very much for your help. Greetings Simon

    You can see the issue here: https://imgur.com/a/EbLt9Ux

    • This reply was modified 4 years, 6 months ago by Seimen_x.
    #1326108
    This reply has been marked as private.
Viewing 30 results - 2,641 through 2,670 (of 16,898 total)