Viewing 30 results - 2,131 through 2,160 (of 16,894 total)
  • Author
    Search Results
  • #1355572

    Hey ibrahimsyed132755,

    Are you overriding header.php or footer.php on a child theme? If so, then please try to replace those files with the parent theme files, then add your customisations back in after that.

    Best regards,
    Rikard

    #1355413

    Hi,
    Thanks for sharing Guenni007, I see this working on your site, but on my site, it was opening the overlay but not the image, but I didn’t get any error messages.
    But thanks to you I was able to use some of your code to adjust mine and get it working to use the hotspot tooltip as the lightbox title.

    function popup_tooltips_with_links() { 
    ?>
    <script type="text/javascript">
    window.addEventListener('DOMContentLoaded', function() {
    (function($){
       $('#top.page-id-1386 .av-image-hotspot_inner').each(function () {
       	var toolTip = $(this).closest('.av-image-hotspot').attr('data-avia-tooltip');
            var cleanTitle =  $(toolTip).text();
       $(this).attr('title', cleanTitle );
    $(this).magnificPopup({
        type: 'image',
        image: {
            titleSrc: 'title' 
        }
    });
    });
    })(jQuery);
    });
    </script>
    <?php }
    add_action('wp_footer', 'popup_tooltips_with_links');

    In the above code you’ll see that I added window.addEventListener('DOMContentLoaded', function() { }); this is because on my test site I’m loading the scripts in the header before jQuery, I included it here should someone in the future be loading jQuery in the footer.
    I also added a page ID so it will only work on my test page.
    I also wanted to remove the tags from the titles so I added another variable var cleanTitle = $(toolTip).text();

    Best regards,
    Mike

    #1355385
    Adtime
    Participant

    Hi guys,

    we wanted to put a website online today, but after changing the url in the database (Better Search & Replace), the following error occurs:

    Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 268435464 bytes) in /html/wordpress/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-element-templates.php on line 3531

    Increasing the memory doesn’t make sense, Enfold goes into an infinite loop (while(true)) in said line because it can’t find the correct content templates anymore.

    The changes of the Url’s in the database look so far correctly / as with other sites also.

    An update to Enfold 5 was also tried. Downgrades also.

    Deactivating the plugins does not help. All other 1st level stuff do not work either.

    I can provide a test environment.

    The page is very large (+wpml) and putting it online is urgent.

    Please help.

    <!–
    Debugging Info for Theme support:

    Theme: Enfold
    Version: 4.9.2.2
    Installed: enfold
    AviaFramework Version: 5.0
    AviaBuilder Version: 4.8
    aviaElementManager Version: 1.0.1
    – – – – – – – – – – –
    ChildTheme: Enfold Child
    ChildTheme Version: 1.0
    ChildTheme Installed: enfold

    ML:256-PU:120-PLA:17
    WP:6.0
    Compress: CSS:all theme files – JS:all theme files
    Updates: enabled – token has changed and not verified
    PLAu:16
    –>

    janv23
    Participant

    Getting error when opening website in MS Edge. No issues in FireFox and Google Chrome. PHP 7.4

    [15-Jun-2022 10:55:45 UTC] PHP Fatal error: Uncaught Error: Call to undefined function ctype_digit() in /my-website/wp-includes/class-wp-recovery-mode-cookie-service.php:93
    Stack trace:
    #0 /my-website/wp-includes/class-wp-recovery-mode.php(270): WP_Recovery_Mode_Cookie_Service->validate_cookie()
    #1 /my-website/wp-includes/class-wp-recovery-mode.php(110): WP_Recovery_Mode->handle_cookie()
    #2 /my-website/wp-settings.php(420): WP_Recovery_Mode->initialize()
    #3 /my-website/wp-config.php(92): require_once(‘/hermes/bosnacw…’)
    #4 /my-website/wp-load.php(50): require_once(‘/hermes/bosnacw…’)
    #5 /my-website/wp-blog-header.php(13): require_once(‘/hermes/bosnacw…’)
    #6 /hermes/bosnacweb04/bosnacweb04cc/b1154 in /my-website/wp-includes/class-wp-recovery-mode-cookie-service.php on line 93
    [15-Jun-2022 10:55:45 UTC] PHP Notice: Function is_embed was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.) in /my-website/wp-includes/functions.php on line 5831
    [15-Jun-2022 10:55:45 UTC] PHP Notice: Function is_search was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.) in /my-website/wp-includes/functions.php on line 5831
    [15-Jun-2022 10:56:04 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; MySiteAppPlugin has a deprecated constructor in /my-website/wp-content/plugins/app-your-wordpress-uppsite/uppsite.php on line 106
    [15-Jun-2022 10:56:04 UTC] PHP Notice: Undefined index: sw_source in /my-website/wp-content/plugins/sitewit/sitewit.php on line 36
    [15-Jun-2022 10:56:05 UTC] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /my-website/wp-content/plugins/app-your-wordpress-uppsite/uppsite.php on line 383

    • This topic was modified 3 years, 10 months ago by janv23.
    makeck
    Participant

    The fronted looks ok: https://herbst-elektro.de/, but this error message was send:

    Wenn du Hilfe bei diesem Problem suchst, wirst du möglicherweise nach einigen der folgenden Informationen gefragt:
    WordPress-Version 5.9.3
    Aktives Theme: Enfold Child (Version 1.0) Aktuelles Plugin: (Version ) PHP-Version 7.3.33

    Fehler-Details
    ==============
    Ein Fehler vom Typ E_COMPILE_ERROR wurde in der Zeile 224 der Datei /kunden/499307_71272/webseiten/wordpress/wp-content/themes/enfold/framework/php/inc-autoconfig.php verursacht. Fehlermeldung: require(): Failed opening required ‘/kunden/499307_71272/webseiten/wordpress/wp-content/themes/enfold/framework/php/widgets/class-widget-loader.php’ (include_path=’.:/usr/share/pear:/usr/share/php’)

    #1355277

    Hi,
    Thanks for the feedback, your approach seems fine, another way would be to add the page ID to the title attribute lines like this:

    function custom_hotspot_title_script() { ?>
      <script>
    (function($){
    $('#top.page-id-1 .av-image-hotspot-1 a').attr('title','hotspot-1');
    $('#top.page-id-1 .av-image-hotspot-2 a').attr('title','hotspot-2');
    $('#top.page-id-1 .av-image-hotspot-3 a').attr('title','hotspot-3');
    $('#top.page-id-1 .av-image-hotspot-4 a').attr('title','hotspot-4');
    $('#top.page-id-1 .av-image-hotspot-5 a').attr('title','hotspot-5');
    $('#top.page-id-1 .av-image-hotspot-6 a').attr('title','hotspot-6');
    $('#top.page-id-1 .av-image-hotspot-7 a').attr('title','hotspot-7');
    $('#top.page-id-1 .av-image-hotspot-8 a').attr('title','hotspot-8');
    
    $('#top.page-id-2 .av-image-hotspot-1 a').attr('title','hotspot-1');
    $('#top.page-id-2 .av-image-hotspot-2 a').attr('title','hotspot-2');
    $('#top.page-id-2 .av-image-hotspot-3 a').attr('title','hotspot-3');
    $('#top.page-id-2 .av-image-hotspot-4 a').attr('title','hotspot-4');
    $('#top.page-id-2 .av-image-hotspot-5 a').attr('title','hotspot-5');
    $('#top.page-id-2 .av-image-hotspot-6 a').attr('title','hotspot-6');
    $('#top.page-id-2 .av-image-hotspot-7 a').attr('title','hotspot-7');
    $('#top.page-id-2 .av-image-hotspot-8 a').attr('title','hotspot-8');
    $('#top.page-id-2 .av-image-hotspot-9 a').attr('title','hotspot-9');
    $('#top.page-id-2 .av-image-hotspot-10 a').attr('title','hotspot-10');
    $('#top.page-id-2 .av-image-hotspot-11 a').attr('title','hotspot-11');
    $('#top.page-id-2 .av-image-hotspot-12 a').attr('title','hotspot-12');
    $('#top.page-id-2 .av-image-hotspot-13 a').attr('title','hotspot-13');
    $('#top.page-id-2 .av-image-hotspot-14 a').attr('title','hotspot-14');
    $('#top.page-id-2 .av-image-hotspot-15 a').attr('title','hotspot-15');
    $('#top.page-id-2 .av-image-hotspot-16 a').attr('title','hotspot-16');
    $('#top.page-id-2 .av-image-hotspot-17 a').attr('title','hotspot-17');
    
    $('#top.page-id-3 .av-image-hotspot-1 a').attr('title','hotspot-1');
    $('#top.page-id-3 .av-image-hotspot-2 a').attr('title','hotspot-2');
    $('#top.page-id-3 .av-image-hotspot-3 a').attr('title','hotspot-3');
    $('#top.page-id-3 .av-image-hotspot-4 a').attr('title','hotspot-4');
    $('#top.page-id-3 .av-image-hotspot-5 a').attr('title','hotspot-5');
    $('#top.page-id-3 .av-image-hotspot-6 a').attr('title','hotspot-6');
    $('#top.page-id-3 .av-image-hotspot-7 a').attr('title','hotspot-7');
    $('#top.page-id-3 .av-image-hotspot-8 a').attr('title','hotspot-8');
    
    $('.av-image-hotspot a').magnificPopup({ 
        type: 'image',
        image: {
            titleSrc: 'title' 
        }
    });
    })(jQuery);
    </script>
      <?php
    }
    add_action('wp_footer', 'custom_hotspot_title_script');

    but I can’t say that one way is better than the other, I guess it’s just preference.

    Best regards,
    Mike

    #1355276

    Hi,
    Thanks for the feedback, your server doesn’t have the PHP ZipArchive Extension activated,
    2022-06-14_006.jpg
    you should be able to active this in the cPanel under PHP Selector it probably says Zip like in this screenshot
    2022-06-14_007.jpg
    I see that you are using PHP v8.1.5, on my server PHP v8+ didn’t have the same PHP setting active by default and I had to manually compare them to PHP v7.4, your server may have the other extensions activated as in my screenshot, but if you still have trouble try switching to PHP v7.4 and then try importing again, if it then works you can always switch back to PHP v8.1.5, if you like.
    I disabled all of your plugins to ensure there was no conflict in the demo import, please try like this.

    Best regards,
    Mike

    #1355259

    Hi Mike

    Excellent! It works like a charm.

    I have 3 floor plans on 3 different pages. So, the hotspot element is used three times. That’s why I completed your code with if elseif statements and is_page(PAGE ID) conditionals:

    function custom_hotspot_title_script() {
    if(is_page(PAGE ID 1)) {
    ?>
      <script>
    (function($){
    $('.av-image-hotspot-1 a').attr('title','hotspot-1');
    $('.av-image-hotspot-2 a').attr('title','hotspot-2');
    $('.av-image-hotspot-3 a').attr('title','hotspot-3');
    $('.av-image-hotspot-4 a').attr('title','hotspot-4');
    $('.av-image-hotspot-5 a').attr('title','hotspot-5');
    $('.av-image-hotspot-6 a').attr('title','hotspot-6');
    $('.av-image-hotspot-7 a').attr('title','hotspot-7');
    $('.av-image-hotspot-8 a').attr('title','hotspot-8');
    $('.av-image-hotspot a').magnificPopup({ 
        type: 'image',
        image: {
            titleSrc: 'title' 
        }
    });
    })(jQuery);
    </script>
      <?php
    }
    elseif (is_page(PAGE ID 2)) {
    ?>
      <script>
    (function($){
    $('.av-image-hotspot-1 a').attr('title','hotspot-1');
    $('.av-image-hotspot-2 a').attr('title','hotspot-2');
    $('.av-image-hotspot-3 a').attr('title','hotspot-3');
    $('.av-image-hotspot-4 a').attr('title','hotspot-4');
    $('.av-image-hotspot-5 a').attr('title','hotspot-5');
    $('.av-image-hotspot-6 a').attr('title','hotspot-6');
    $('.av-image-hotspot-7 a').attr('title','hotspot-7');
    $('.av-image-hotspot-8 a').attr('title','hotspot-8');
    $('.av-image-hotspot-9 a').attr('title','hotspot-9');
    $('.av-image-hotspot-10 a').attr('title','hotspot-10');
    $('.av-image-hotspot-11 a').attr('title','hotspot-11');
    $('.av-image-hotspot-12 a').attr('title','hotspot-12');
    $('.av-image-hotspot-13 a').attr('title','hotspot-13');
    $('.av-image-hotspot-14 a').attr('title','hotspot-14');
    $('.av-image-hotspot-15 a').attr('title','hotspot-15');
    $('.av-image-hotspot-16 a').attr('title','hotspot-16');
    $('.av-image-hotspot-17 a').attr('title','hotspot-17');
    $('.av-image-hotspot a').magnificPopup({ 
        type: 'image',
        image: {
            titleSrc: 'title' 
        }
    });
    })(jQuery);
    </script>
      <?php
    }
    elseif (is_page(PAGE ID 3)) {
    ?>
      <script>
    (function($){
    $('.av-image-hotspot-1 a').attr('title','hotspot-1');
    $('.av-image-hotspot-2 a').attr('title','hotspot-2');
    $('.av-image-hotspot-3 a').attr('title','hotspot-3');
    $('.av-image-hotspot-4 a').attr('title','hotspot-4');
    $('.av-image-hotspot-5 a').attr('title','hotspot-5');
    $('.av-image-hotspot-6 a').attr('title','hotspot-6');
    $('.av-image-hotspot-7 a').attr('title','hotspot-7');
    $('.av-image-hotspot-8 a').attr('title','hotspot-8');
    $('.av-image-hotspot a').magnificPopup({ 
        type: 'image',
        image: {
            titleSrc: 'title' 
        }
    });
    })(jQuery);
    </script>
      <?php
    }
    }
    add_action('wp_footer', 'custom_hotspot_title_script');

    The code seems to work well but I’m not sure if it is state of the art. Maybe you can provide a shorter version that does the same job?

    Kind regards
    Ueli

    • This reply was modified 3 years, 10 months ago by Ueli.
    #1355204

    This is the old story – often discussed here on board. On uploading images to the media library – the images are uncompressed ( jpgs do have that indeed – a compression ratio ) and then the new file-sizes generated by Enfold are calculated on that uncompressed source. Because Enfold code does not compress these generated files – the file-size is for the bigger images (1500px x 630px etc. ) often higher than the uploaded optimized jpgs.

    Now what can we do against this. – We can change that behavior on Enfold by a child-theme functions.php snippet:

    add_filter("avf_jpeg_quality", "avf_set_quality_mod", 9999, 1);
    add_filter("avf_wp_editor_set_quality", "avf_set_quality_mod", 9999, 1);
    function avf_set_quality_mod($quality) { $quality = 55; return $quality;}

    Unfortunately, this snippet does not affect existing images in the media library. Here you would have to recalculate the thumbnails all over again. There are some plug-ins for this. I use the one provided by shortpixel. : Link

    svgs – and i guess pngs will be skipped.

    After recalculation you can remove the plugin. The snippet above will then compress each uploaded new image.

    PS: Sorry – i did not follow Yigits link – so it only differs in the amount of compression. That is up to you what you need. If you are a photographer with f.e. fine color – gradients ( like skin tones ) or sharp contrasts you had to choose a less compression level.

    see here an older post of mine with the plugin illustration: https://kriesi.at/support/topic/media-upload-and-enfolds-thumbnail-sizes/#post-1271808
    in addition it gives you a code to hamper generating of all enfold image_sizes. But read comments on the code to understand that it is not advisable to suppress all image_sizes.

    #1355114

    Hi,
    Thank you for the feedback, I examined closer on my demo site and found that by entering the image URL directly the WordPress media library meta fields are not called like they are when a gallery element is, so I don’t see a way to get the title from the link.
    But the following script will allow you to add specific titles to each hotspot and show it in the lightbox.
    Try adding this code to the end of your child theme functions.php file in Appearance ▸ Editor:

    function custom_hotspot_title_script() { ?>
      <script>
    (function($){
    $('.av-image-hotspot-1 a').attr('title','hotspot-1');
    $('.av-image-hotspot-2 a').attr('title','hotspot-2');
    $('.av-image-hotspot-3 a').attr('title','hotspot-3');
    $('.av-image-hotspot-4 a').attr('title','hotspot-4');
    $('.av-image-hotspot-5 a').attr('title','hotspot-5');
    $('.av-image-hotspot-6 a').attr('title','hotspot-6');
    $('.av-image-hotspot-7 a').attr('title','hotspot-7');
    $('.av-image-hotspot-8 a').attr('title','hotspot-8');
    $('.av-image-hotspot a').magnificPopup({ 
        type: 'image',
        image: {
            titleSrc: 'title' 
        }
    });
    })(jQuery);
    </script>
      <?php
    }
    add_action('wp_footer', 'custom_hotspot_title_script');
    

    and adjust the titles to suit, for example for hotspot 1, change $('.av-image-hotspot-1 a').attr('title','hotspot-1'); to $('.av-image-hotspot-1 a').attr('title','custom title for hotspot 1');
    I assume that this is your only hotspot element on your site, if not them we can make this script work on this one page only by adding page IDs to it.

    Best regards,
    Mike

    #1355049

    I added the code to my fuctions.php and it’s working fine!

    Thank you again 007 :)

    Alwin

    #1355027

    Thank you Guenni007,

    – Do I have to place your code in my Child themes functions.php file?

    – I don’t have different languages on my page, so I can skip that part of the code?

    The text needs to be translated in German; “Mehr lesen”. So would it have to be like this:

    function my_text_strings( $translated_text, $text, $domain ){
    switch ( $translated_text ){
        case 'Read more'    :  $translated_text = __( 'Mehr lesen', $domain ); break;
    
      }
      return $translated_text;
    }
    add_filter('gettext', 'my_text_strings', 20, 3);
    

    Thanks a lot again :)

    Best Wishes,
    Alwin

    Hey Eleina,
    Thanks for your question, for this example I created long team member descriptions and used css to make them hidden (the borders are only for reference):
    2022-06-12_003.jpg
    this is the css for the lightbox popup and to hide the team member descriptions:

    .white-popup {
        position: relative;
        background: #FFF;
        padding: 20px;
        width: auto;
        max-width: 500px;
        margin: 20px auto;
    }
    .white-popup .team-social {
        border: 7px solid rgba(0, 0, 0, 0.1);
        position: absolute;
        font-size: 19px;
        background: #fff;
        background: rgba(255, 255, 255, 0.7);
        opacity: 0;
        visibility: hidden;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        text-align: center;
        border-radius: 3px;
    }
    .avia-team-member .team-member-description {
    	visibility:hidden;
    }

    Then I added this code to the end of my child theme functions.php file in Appearance ▸ Editor:

    function clone_team_member_to_lightbox_popup() { ?>
      <script>
    window.addEventListener('DOMContentLoaded', function() {
    (function($){
       $('.avia-team-member').each(function () {
            var copyTeam = $(this).clone().html();
    $(this).magnificPopup({
        items: {
            src: $('<div class="white-popup">'+copyTeam+'</div>'),
        },
        type: 'inline'
    });
    });
    })(jQuery);
    });
      </script>
      <?php
    }
    add_action('wp_footer', 'clone_team_member_to_lightbox_popup');

    Then on click the team member element opens in a lightbox with the team member description showing.
    2022-06-12_004.jpg
    *recommended css thanks to Guenni007 to have the team member image to the left and content to the right instead of below

    .mfp-content {
      display: inline-flex !important;
    }
    
    .white-popup {
      position: relative;
      background: #FFF;
      padding: 20px;
      width: auto;
      max-width: 800px;
      margin: 20px auto;
    }
    
    .white-popup .team-img-container {
      max-width: 300px;
      float: left;
      margin: 0 20px 10px 0
    }
    
    .white-popup .team-member-name,
    .white-popup .team-member-job-title,
    .white-popup .team-member-description  {
      width: 100%;
    }

    2022-08-17_001.jpg

    Best regards,
    Mike

    • This reply was modified 3 years, 8 months ago by Mike.

    Hi,


    @guenni007
    : I was brave and put my modified class-avia-masonry.php into the enfold-child/shortcodes. The self-destruction mechanism wasn’t triggered and thanks to Enfold’s warp drive, the modifications work well😉.
    Thanks for your help.

    @Günter: Thanks for your additional explanation.

    Kind regards
    Ueli

    #1354959

    Hi Tim,

    Please try to update enfold\config-woocommerce\config.php with the content of

    https://github.com/KriesiMedia/enfold-library/blob/master/temp_fixes/Enfold_5_0/config-woocommerce/config.php

    This should now show responsive images or the “large” image (if theme option Responsive Images For Lightbox is disabled). You can change the default lightbox image size with filter avf_avia_builder_helper_lightbox_size.


    @guenni007

    If you set ratio to > 1 @2x is added.

    If theme option Responsive Images For Lightbox is disabled I get “Image could not be loaded” (because I do not have such a file uploaded), with option enabled I get the correct image responsive image (without @2x).

    Best regards,
    Günter

    #1354852
    sryde
    Participant

    Hello, I have a simple website created using Enfold as the theme. I am using PHP 7.2, but I need to upgrade that to PHP 8.1. However, if I try upgrading to PHP 7.4 or 8.1, the site throws a critical error. This happens still even after I disable all plug-ins. If I switch to a different theme, then PHP 7.4 and 8.1 work.
    It is a simple site – basically a 1 page site with a few blog posts — nothing complex at all. Why would Enfold prevent me from being able to upgrade to PHP 8.1? It’s very important that I do. Please help.

    Hi Guenni007,

    thank you very much for your hint.
    Please let me know where to use/replace this line because I can’t find the old function line “$(window).load(function() {” in the script:

    add_action(‘wp_footer’, ‘ava_custom_scripts’, 999);
    function ava_custom_scripts()
    {
    ?>
    <script>
    (function($){
    // automatically open first portfolio grid item
    $(document).ready(function() {
    setTimeout( function() {
    var grid = $(‘.grid-links-ajax’);

    if( grid ) {
    grid.find(‘a:first’).trigger(‘click’);
    }
    }, 100);
    });
    })(jQuery);
    </script>
    <?php
    }

    Thanks a lot in advance.

    Best regards,
    fkm

    #1354747

    In reply to: Child Upgrade Question

    Hi 44doors,

    Thanks for providing us with a staging site and access to it.
    I could not find the issue because the staging site uses PHP 7.4.
    I also tested Enfold 5.0 on my with PHP 8.0 and 8.1 but I could not replicate the same issue.
    Checking functions-enfold.php on line 293, does not seem to contain the type of code that should produce the issue: https://stackoverflow.com/questions/61432488/php-error-unparenthesized-a-b-c-d-e-is-deprecated-use-either-a
    Can you switch the staging site’s PHP version to PHP 8? since I could not replicate it on my end.

    Best regards,
    Nikko

    #1354727

    Hello Mike

    Thank you for your answer. I will hopelessly contact OVH for further information about their shared hosting config.

    I tried several times, some tries were partially successful. In the end, it worked :
    – switched the environment to PHP8, fpm enabled.
    – deleted the site (in a multisite configuration) and recreated it.
    – enabled enfold+enfold child immediatly, manual demo upload previously enabled in function.php
    – manually uploaded demo files with FTP client
    – installed the demo.

    It may have been a lucky try, but demo has been configured in a couple of seconds.

    I keep in mind your option of a local install.

    Version de PHP 8.0.12 (Supporte les valeurs 64 bits)
    PHP SAPI fpm-fcgi
    Valeur maximale des variables PHP 16000
    Limite d’exécution PHP 165
    Limite de mémoire PHP 512M
    Temps d’entrée max -1
    Taille maximale de téléversement de fichier 128M
    Taille maximale d’envoi de PHP 130M
    Version de cURL 7.64.0 OpenSSL/1.1.1n

    Best regards
    Fabien

    #1354643
    johnmac1967
    Participant

    Hi, I’ve uploaded WordPress to V6 and Enfold to V5 and I can’t access the Media Library. The website is still showing and is editable but I can’t place images onto a page as the Media Library will not show up.

    I have increased memory on the php.ini file to 512m and have tried both PHP 7.4 and 8 with no difference.

    Any help is very welcome.

    Thanks,
    John

    Hi,

    @Steve
    thanks for the login, I copied your page to a test server but the buttons on the Fullwidth Easy Slider are working correctly, I saw that you had a custom avia.js in your child theme so I tried enabling your parent theme and disabling some of your plugins but it didn’t help on your site.
    I also see that we are using the same PHP version: 7.4.29 so I’m not sure what could be causing this but I couldn’t reproduce.

    @thinkjarvis thanks for the link to your site, I created a page with the Fullwidth Easy Slider and the Fullscreen Slider and tested buttons with page links, post links, manually links but I couldn’t reproduce your error.

    Best regards,
    Mike

    #1354527
    InSilentio
    Participant

    Hi,
    (before please note: I work on localhost)

    We have 4 languages.
    All set up sucessfully 4 weeks ago by using @guenni007|s advice from here:

    The flags always link correct to the specific version of the page – except ON the homepages.
    The links on the homepages go to:
    domain.de/en/
    domain.de/fr/

    But they should link to:
    domain.de/en/english-homepage
    domain.de/fr/version-francaise
    and so on
    But they do not show the english or french version of the homepage, they show the blogpage (which we dont have): That means an error.

    It worked at least 4 weeks ago but now it doesnt so we suspect the last Update.

    So whats the actual code for the functions.php?
    (and can you please provide it for at least TWO languages since i am not good in PHP and always fail when i need to edit a single function into an array.

    kind regards
    elvira

    #1354475

    Hi scitation,

    Quick CSS is only allows CSS codes but not PHP codes, so it’s not an option.
    You’ll need to use a child theme to make the modification that Guenni007 is suggesting, if you aren’t using one then you can download and read the instructions here: https://kriesi.at/documentation/enfold/child-theme/


    @Guenni007
    thanks for helping out :)

    Best regards,
    Nikko

    #1354472

    Hi,

    Thank you for the info.

    We adjusted the code in the functions.php file but it doesn’t seem to be taking effect. Is there some kind of server or hosting cache for the site?

    Please include the FTP login details in the private field so that we can edit the files properly. This is the adjusted code in the functions.php file.

    
    function ava_search_filter_get_posts($query) {
        $terms = is_page( 110 ) ? 13 : 12;
    
        if ( ! $query->is_search ) return $query;
    
        $tax_query = $query->get( 'tax_query' ) ? : array();
    
        $tax_query[] = array(
            'taxonomy' => 'portfolio_entries',
            'terms'    => $terms,
        );
    
        $query->set( 'tax_query', $tax_query );
    }
    add_action( 'pre_get_posts', 'ava_search_filter_get_posts' );
    

    Best regards,
    Ismael

    #1354448
    digi_informatique
    Participant

    Hello

    I’ve tried to install “Construction” demo on my multiste wordpress. I recieved a cURL error 28, so I tried manual import as mentioned : https://kriesi.at/documentation/enfold/import-demos/#how-to-manually-import-a-theme-demo but it still doesn’t work.

    I use a personnalised child theme (to avoid breaking another enfold child theme with landing page demo installed on it, used for a sub site of my activity)

    I already had the same problem with de landing page demo, but resolved it by using https. It does’nt work here anymore with construction demo
    server info :
    PHP 8.0.12 cgi-fcgi
    cURL 7.64.0 OpenSSL/1.1.1d (too old version ?)
    Max input time -1
    max_execution_time 165
    Thank you for your help
    Regards
    Fabien

    • This topic was modified 3 years, 10 months ago by digi_informatique.
    • This topic was modified 3 years, 10 months ago by digi_informatique. Reason: specify issue in title
    #1354443
    mlustig
    Participant

    I am getting a fatal error from your Theme and its framework plug-in:

    When seeking help with this issue, you may be asked for some of the following information:
    WordPress version 6.0
    Active theme: Enfold (version 4.8.9)
    Current plugin: Edge Core (version 1.1.1)
    PHP version 8.0.17

    Please advise

    #1354383

    Thank you Guenni007,

    I would prefer to add it in the Quick CSS section than mess around with the functions.php file… Would that be an option?

    Many thanks!

    Hi,

    In addition to @Guenni007:

    If you only modify class-avia-masonry.php you can copy the original file to “$template_url.’/shortcodes/'” and your copy will be loaded before the original file preventing loading this.

    There is no need for a directory structure.

    Only in case you need control which modified files in your child theme must be loaded before other files you can create a directory structure but must add this structure e.g.

    
    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_1/', $template_url.'/shortcodes_2/' );
    
      return $paths;
    }
    

    and then file inside shortcodes_1 are loaded before files in shortcodes_2.

    Best regards,
    Günter

    #1354132

    now i know what is your request. ( it would be better to have an english screenshot on that ) hard to read for a german user your image
    the list of those colors to choose is in class-popup-templates.php

    at lines 1473ff there is an array: colored:

    $colored = array(
    	__( 'Theme Color', 'avia_framework' )			=> $theme_col_key,
    	__( 'Theme Color Highlight', 'avia_framework' )	=> 'theme-color-highlight',
    	__( 'Theme Color Subtle', 'avia_framework' )	=> 'theme-color-subtle',
    	__( 'White', 'avia_framework' )		=> 'white',
    	__( 'Blue', 'avia_framework' )		=> 'blue',
    	__( 'Red',  'avia_framework' )		=> 'red',
    	__( 'Green', 'avia_framework' )		=> 'green',
    	__( 'Orange', 'avia_framework' )	=> 'orange',
    	__( 'Aqua', 'avia_framework' )		=> 'aqua',
    	__( 'Teal', 'avia_framework' )		=> 'teal',
    	__( 'Purple', 'avia_framework' )	=> 'purple',
    	__( 'Pink', 'avia_framework' )		=> 'pink',
    	__( 'Silver', 'avia_framework' )	=> 'silver',
    	__( 'Grey', 'avia_framework' )		=> 'grey',
    	__( 'Black', 'avia_framework' )		=> 'black',
    );

    but these are only for named colors
    but i do not know if there is a child-theme method to add to that dropdown-list some custom colors.
    maybe the filter : avf_alb_popup_templates_named_colors could be used for that

    #1354102

    Hi,

    Okay, that’s fixed but there’s still an issue with the menu button.

    When you click it on the mobile you have to click it 3 times before the menu opens. When clicking it in the browser (re-sizing the browser width below the 768 pixels) the menu doesn’t work at all no matter the amount of times you click it.

    I removed the custom code from the functions.php file in case it was causing it but it’s still happening so something else is causing the menu not to open.

    Thanks.

Viewing 30 results - 2,131 through 2,160 (of 16,894 total)