Viewing 30 results - 961 through 990 (of 16,891 total)
  • Author
    Search Results
  • #1428340

    Hi,
    Thank you for your patience, I have examined the test page on your site removing & adding the slider and then checked the page shortcode carefully with the Avia Layout Builder Debugger and at one point I thought this might be related to the wp:paragraph tags that I found in some text elements:
    Enfold_Support_4165.jpeg
    but removing them didn’t help, so I copied the page to my test site to see the error would follow but it didn’t, I linked to the test page in the Private Content area so you could also check. This make me think that it was related to your footer widgets somehow, so I copied your to my site and I still couldn’t reproduce the error.
    I then disabled the header on your test page and reuploaded the theme and disabled your plugins, but this didn’t help.
    I also disabled your File Compression and cleared your Old CSS And JS Files.
    So I’m not sure what the issue is from, but it doesn’t seem to be a error in the theme, since I can’t reproduce the error.
    Your Site Health report says that your PHP module, imagick, is not installed, I don’t see how that could cause an error like this but it may be worth tring.
    You could also try a different PHP version, I’m using v8.0.30, and you are using v8.1.26, perhaps try v8.2 or v7.4

    Best regards,
    Mike

    #1428330

    In reply to: Standard Image Size

    Hi,
    Thank you for your patience and the video, I think I understand what you were hoping to do, but I couldn’t find a way to change this. But I did come up with a solution that may work for you. In your video I noticed that your example post was created with the ALB (Advanced Layout Builder) so I assume all of them are. So I created a couple of test posts, not pages, on my test site and added a couple of images with the Image element and one with the Text element, although I believe you are only using the Image elements.
    I set all of the images to medium size.
    Enfold_Support_4159.jpeg
    Then I used this function in my WPCode plugin as a PHP snippet, it will also work in your child theme functions.php:

    function adjust_image_attributes_for_single_posts($content) {
        if (is_singular() && in_the_loop() && is_main_query()) {
            $content = preg_replace_callback(
                '/<img(.*?)>/i',
                function ($matches) {
                    $new_img_tag = preg_replace('/width=".*?"/i', 'width="auto"', $matches[0]);
                    $new_img_tag = preg_replace('/height=".*?"/i', 'height="auto"', $new_img_tag);
                    $new_img_tag = preg_replace('/sizes=".*?"/i', 'sizes="(max-width: 1030px) 100vw, 1030px"', $new_img_tag);
                    $new_img_tag = preg_replace('/class=".*?size-medium.*?"/i', 'class="size-large"', $new_img_tag);
                    return $new_img_tag;
                },
                $content
            );
        }
        return $content;
    }
    add_filter('the_content', 'adjust_image_attributes_for_single_posts', 99);
    

    It replaces the image class size-medium with size-large, which is not important but I thought it may help with some related css, and it changes the image width & height attribute to auto and changes the size attribute to 1030px so the large image is used from the image srcset.
    This worked for me in ALB posts, I also tested in a Classic Editor post and it worked for the images in the post without changing the featured image, which is good because that is a different size and you would not want to change it.
    The only thing that I noticed was that on the Classic Editor post the images didn’t seem to change in size even though the source code changed, and this was because to container width of the post was narrow, when I added so css to make the container full width the images showed correctly.

    #top .fullsize .template-blog .post .entry-content-wrapper {
        max-width: 100%;
    }
    #top .fullsize .template-blog .post .entry-content-wrapper > * {
        max-width: 100%;
    }

    I don’t think this will matter for you, but I’m adding it for future readers that have this issue.
    So give this a try and see if it helps you.

    Best regards,
    Mike

    #1428304

    Hi,
    I looked in your media library and examined your fontello-687a9f97.zip but it only had these icons:
    Enfold_Support_4149.jpeg
    the reason it won’t install is because your server doesn’t have the PHP ZipArchive Extension enabled:
    Enfold_Support_4151.jpeg
    please ask your webhost to enable this on your server.

    Best regards,
    Mike

    #1428154

    Hello, I have added the code but nothing seems to be happening as far as I can see

    This is how the code looks like in enfold-child/includes/loop-author.php
    Screenshot-2023-12-14-at-19-37-19

    #1428101

    Hey woogie07,

    That design should be possible yes, but you will likely need to add custom styling for both the footer and header. Mostly likely more for the header. You will likely also have to add widget areas to the header, or override header.php in a child theme and add the customisations in yourself.

    Best regards,
    Rikard

    #1428037

    Hi,
    Thank you for the link to your site, I re-saved your permalinks and now the links are working, I don’t know what caused this but I see a wanning on your dashboard that your PHP is very old an you should update it.
    Enfold_Support_4099.jpeg
    WordPress require at least PHP v7.4, but most servers use v8 now.

    Best regards,
    Mike

    dlott
    Participant

    I’m running version: 5.6.9 of Enfold on WordPress 6.4.2. After upgrading to PHP 8.0, styling breaks on the “Share This” social media icons and the “You might also like” related posts sections.

    Compare the bottom of these 2 pages:
    PHP 8: https://beta.golfcoursehome.com/jw-collection-november-17-2023/
    PHP 5.5: https://www.golfcoursehome.com/jw-collection-november-17-2023/

    Suggestions?

    #1427951

    Thanks Nikko. I am already using a child theme, so added the includes folder, copied the loop-index,php file, cut the code and pasted it on line 378 and cleared all caches.

    Author name no longer showing up at bottom of blog posts, but not showing at top either! Any ideas why?

    Thanks,
    Matt

    #1427941

    Hi Matt,

    You would need to use a child theme to achieve it.
    If you aren’t using a child theme yet, you can get it here: https://kriesi.at/documentation/enfold/child-theme/

    Once you have installed the child theme, create includes folder inside it, then copy loop-index.php from Enfold (parent theme) and paste it inside includes.
    Open loop-index.php and find this code (line 488-509):

    /**
     * Allow to change theme options setting for certain posts
     *
     * @since 4.8.8
     * @param boolean $show_author_meta
     * @param string $context
     * @return boolean
     */
    if( true === apply_filters( 'avf_show_author_meta', 'blog-meta-author' == avia_get_option( 'blog-meta-author' ), 'loop-index' ) )
    {
        $meta_author  = '<span class="blog-author minor-meta">' . __( 'by', 'avia_framework' ) . ' ';
        $meta_author .=		'<span class="entry-author-link" ' . avia_markup_helper( array( 'context' => 'author_name', 'echo' => false ) ) . '>';
        $meta_author .=			'<span class="author">';
        $meta_author .=				'<span class="fn">';
        $meta_author .=					get_the_author_posts_link();
        $meta_author .=				'</span>';
        $meta_author .=			'</span>';
        $meta_author .=		'</span>';
        $meta_author .= '</span>';
    
        $meta_info['author'] = $meta_author;
    }

    Cut the code and paste it on line 378 (put the code below this code):

    $close_header = '';

    Hope it helps.

    Best regards,
    Nikko

    #1427932

    Hi nebuddlho,

    Yes, it’s possible but you would need to use a child theme.
    If you aren’t using a child theme yet, you can get it here: https://kriesi.at/documentation/enfold/child-theme/

    Once you have installed the child theme, create includes folder inside it, then copy loop-author.php from Enfold (parent theme) and paste it inside includes.
    Then find this code in line 72:

    $content_output  =  '<div class="entry-content" ' . avia_markup_helper( array( 'context' => 'entry_content', 'echo' => false ) ) . '>';

    above it, add this code:

    if ( has_post_thumbnail($the_id) ) {
    	echo '<div class="author-featured-image">';
    	echo get_the_post_thumbnail( $the_id, 'large' ); 
    	echo '</div>';
    }

    Hope it helps.

    Best regards,
    Nikko

    • This reply was modified 2 years, 3 months ago by Nikko.
    #1427896
    s_mann
    Participant

    Hello there,

    Unfortunately after the latest theme-update I get the following error message and a blank screen:

    Fatal error: Cannot redeclare wp_make_content_images_responsive() (previously declared in /home/.sites/423/site7353545/web/wp-includes/deprecated.php:3997) in /home/.sites/423/site7353545/web/wp-includes/media.php on line 1350 Fatal error: Uncaught Error: Call to a member function set() on null in /home/.sites/423/site7353545/web/wp-includes/l10n.php:806 Stack trace: #0 /home/.sites/423/site7353545/web/wp-includes/l10n.php(900): load_textdomain(‘default’, ‘/home/.sites/42…’, ‘de_DE’) #1 /home/.sites/423/site7353545/web/wp-includes/class-wp-fatal-error-handler.php(47): load_default_textdomain() #2 [internal function]: WP_Fatal_Error_Handler->handle() #3 {main} thrown in /home/.sites/423/site7353545/web/wp-includes/l10n.php on line 806

    Can you help me there?

    Best regards,
    R

    #1427851

    Hi,
    Thank you for the link to your site, please note the PHP error message in your dashboard, your PHP version is out of date, this should be updated on your server, if you don’t know how to do this plase ask your webhost to help. The WordPress PHP minimum is v7.4 but v8 is also a good choice.
    Enfold_Support_4071.jpeg

    Best regards,
    Mike

    #1427826

    Hey kevinraposo7,
    I tested this on my demo site and the options.php showed the change and the default Attachment Display Settings for images was also set to large, for simple posts in the classic & block editors and in Advanced Layout Builder pages using the image element.
    I noticed that for some of my images that were smaller than 1030px the default setting was then “Full”.
    I tested the code snippet in my child theme functions.php and in the WP Code plugin in a PHP snippet type.
    So I’m not sure why this might not be working for you, perhaps you have a plugin or other code snippet conflict?
    Perhaps you are testing on a post and image that was already saved? Try creating a new post and select a new image from the media library or upload a new image, both of these worked for me.

    Best regards,
    Mike

    @Guenni007
    The code you put and the description is wwaaayyy over my head. Are you saying for SEO etc. I’d be better to use your code someplace (ie in a php file etc, or custom CSS)?
    Thanks!
    Jon

    #1427669

    Hi,
    For email, phone, map, try this in your widget:

    <ul class="contact2">
        <li class="mail"><span class="in2"><a href="mailto: (Email address hidden if logged out) ">[av_font_icon icon='ue805' font='entypo-fontello' size='20px'][/av_font_icon] (Email address hidden if logged out) </a></span></li>
        <li class="phone"><span class="in2"><a href="tel://1-555-555-5555">[av_font_icon icon='ue854' font='entypo-fontello' size='20px'][/av_font_icon]1-555-555-5555</a></span></li>   
        <li class="map"><span class="in2"><a href="https://maps.google.com">[av_font_icon icon='ue842' font='entypo-fontello' size='20px'][/av_font_icon]maps.google.com</a></span></li>
    </ul>

    the expected results:
    Enfold_Support_4050.jpeg
    If you are not using a child theme I recommend the WPcode plugin this plugin supports PHP code snippets, JavaScript code snippets, & CSS code snippets.
    When you add the custom social bookmarks widget code to the WP Code plugin ensure that the “type is set to PHP:
    Enfold_Support_4053.jpeg
    Enfold_Support_4055.jpeg
    Enfold_Support_4057.jpeg
    also add the css:

    #top .socialbookmarks-widget .social_bookmarks {
        float: left;
        margin: 15px 0 0 ;
        position: relative;
    }
    
    #top .socialbookmarks-widget .social_bookmarks li {
        float: left;
        clear: right !important;
    }

    the expected results:
    Enfold_Support_4061.jpeg
    Please note that these icons are from your social profiles settings:
    Enfold_Support_4063.jpeg

    Best regards,
    Mike

    #1427656

    Hi,
    First you should update your sites, both are built with Enfold v4.1.2 with WordPress v6.1.4
    v4.1.2 in not compatible with WordPress v6+ nor PHP v8+ so you need to update to v5.6.9
    Envato (Theme Forest) changed how the updates were delivered a while back so your version will not be able to update automatically, please follow these steps to manually update:
    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
    WordPress_Appearance_Themes_Add-Themes_Add-New.jpg
    after you choose the zip file and click install, you will see a This theme is already installed message because you are updating, you can continue
    Installing_theme_from_uploaded_file_This_theme_is_already_installed.jpg
    then you will see the Theme updated successfully message.
    Theme_updated_successfully.jpg

    Best regards,
    Mike

    #1427650

    Hi,
    In my research I find that this is added by WordPress, and to remove it try adding this code to the end of your child theme functions.php file in Appearance ▸ Editor:

    function varnish_safe_http_headers() {
        header( 'X-UA-Compatible: IE=edge,chrome=1' );
        session_cache_limiter('');
        header("Cache-Control: public, s-maxage=120");
      if( !session_id() )
      {
        session_start();
      }
    }
    add_action( 'send_headers', 'varnish_safe_http_headers' );

    Best regards,
    Mike

    Hey Andrew Frahm,
    Thanks for your question v4.2.5 in not compatible with WordPress v6+ or PHP v8+
    You will need to update, we are now up to v5.6.9 and works with PHP v8+
    Envato (Theme Forest) changed how the updates were delivered a while back so your version will not be able to update automatically, please follow these steps to manually update:
    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
    WordPress_Appearance_Themes_Add-Themes_Add-New.jpg
    after you choose the zip file and click install, you will see a This theme is already installed message because you are updating, you can continue
    Installing_theme_from_uploaded_file_This_theme_is_already_installed.jpg
    then you will see the Theme updated successfully message.
    Theme_updated_successfully.jpg

    Best regards,
    Mike

    #1427597

    Hello, I have to revisit this issue. To remind you, the DocCheck plugin restricts access to certain pages. I am currently logged out on every page load.

    [21-May-2023 08:10:13 UTC] PHP Warning: Cannot modify header information - headers already sent in /home/mysitex/public_html/wp-content/themes/enfold/includes/helper-privacy.php on line 406

    As the line above suggests, this is related to Enfold cookie handling. If I disable cookie consent messages in Enfold then I can browse pages without having to login on every page load. When I enable cookie consent messages, the login status is not remembered and I have to login on every page page load. It does not make a difference if I accept of reject cookies.

    My cookie consent setting is “User must accept and must opt in, only essential cookies selected”

    This line:

    [21-May-2023 08:10:07 UTC] PHP Warning: session_start(): Session cannot be started after headers have already been sent in /home/mysitex/public_html/wp-content/plugins/doccheck-login/includes/class-dcl-base.php on line 304

    Relates to this code:

    session_start( [
    			'cookie_lifetime' => 86400,
    			'read_and_close'  => true,    // READ ACCESS FAST
    		] );

    Any ideas how I can keep using cookie consent but avoid the headers related warning messages so DocCheck stays logged in?

    Thank you very much

    #1427418

    In reply to: Unable to send form

    This reply has been marked as private.
    #1427405

    Topic: insert javascript

    in forum Enfold
    schweg33
    Participant

    Hello everyone
    I found this support request from you here:

    I have inserted the part in the function.php.
    The script below I have inserted into the Customizer.css.
    Now I don’t understand where to put the
    <script type=”text/javascript”>
    have to insert?
    Can you help me with this?
    then I would like the popup to only appear on one page
    Page number: 11748
    Thank you very much
    kind regards
    Franz

    #1427372
    Munford
    Participant

    hi
    I found some code here: https://kriesi.at/support/topic/ search-as-part-of-fly-over-menu/#post-1372412
    that allows me to add a search icon to the top of the mobile menu:

    /*add search to top of mobile menu*/
    function add_ajax_search_icon_to_burger_menu(){
      ?>
      <script>
    (function($){
    $('#avia-menu').one('click', function(){
        $('#menu-item-search').clone().wrapInner('<li class="burger_search"/>').children(0).unwrap().prependTo('#av-burger-menu-ul');
        $('#top #wrap_all #av-burger-menu-ul > li').css({'-webkit-transform':'none'});
    });
    $('#avia-menu').click(function() {
    	setTimeout(function(){
    	if ($('#av-burger-menu-ul').is(":visible")) {
    	$('#menu-item-search').css({'visibility':'hidden'});
    	}else{
    	$('#menu-item-search').css({'visibility':'visible'});		
    	}
    	},500);
    });
    })(jQuery);
    </script>
      <?php
      }
      add_action('wp_footer', 'add_ajax_search_icon_to_burger_menu');

    Is there a way to move it to the bottom instead?
    thanks
    Nancy

    #1427330
    Munford
    Participant

    FIX: regenerated thumbnails in woocommerce > status > tools
    and then added this code to functions.php (via https://kriesi.at/support/topic/different-image-sizes-on-category-overview-page/#post-1403765)

    add_filter( 'avf_wc_before_shop_loop_item_title_img_size', 'avf_wc_before_shop_loop_item_title_img_size_mod', 10, 1 );
    function avf_wc_before_shop_loop_item_title_img_size_mod( $thumbnail_size ) {
        return 'woocommerce_thumbnail';
    }

    hi
    I had to replace some images for my products but now the thumbnails on the overview page are smaller than the others
    I don’t see where to control this or change it.
    Not sure why this is happening since the new files are the same size as the old ones.
    Can you help me with this? need a fix asap.
    thanks!

    • This topic was modified 2 years, 4 months ago by Munford.
    • This topic was modified 2 years, 4 months ago by Munford.
    #1427289

    In reply to: Issue loading theme

    Hi,

    Thank you for the update.

    WP-CLI response: ‘[error]FailedToExecuteWpCliCommand: exit status 1[/error] Your server is running PHP version 5.6.40 but WordPress 6.4.1 requires at least 7.0.0.’

    Are you using WP CLI to install the theme? Have you tried manually installing and activating it in the dashboard? Even though PHP 8.1.26 is installed, it’s possible that the default PHP version on your server is still 5.6.40, and it is still being used to execute WP CLI. You may need to contact your hosting provider to confirm this.

    Best regards,
    Ismael

    #1427265

    In reply to: Issue loading theme

    Hi

    The error issue is saying that the server needs to be running minumum php 7.0. for WordPress 6.4.1
    The server is actually running v8.1.26, so not sure why.

    Anything else I can check?

    Thanks

    #1427254

    In reply to: Issue loading theme

    Hey woogie07,

    Enfold is compatible with the latest version of WordPress and the PHP version you are running. Could you try to explain the problem you are having a bit further please?

    Best regards,
    Rikard

    #1427195

    Hi,

    Thank you for the info.

    Please provide the login details in the private field and make sure that the Appearance > Theme File Editor is accessible.

    The Appearance > Theme File Editor is not accessible, so we’re not able to edit the functions.php file. Please enable the editor back so that we can test the modification further. The documentation below should help.

    // https://developer.wordpress.org/apis/wp-config-php/#disable-the-plugin-and-theme-file-editor

    You should set DISALLOW_FILE_EDIT to false.

    define( 'DISALLOW_FILE_EDIT', false );
    

    Best regards,
    Ismael

    #1427168
    SHR Design
    Participant

    Hi

    I added this PHP and CSS code. PHP Snippet 1.

    WooCommerce: Show “Sold Out” @ Shop Page

    Then set a product to 0. Stock Management is tracked.

    Under the category: TROMBOCYTTINKUBATORER – (KLIMASKAP)
    Right clicked the product Climax 100. Noticed the code

    HTML Class soldout has been added.
    CSS has been added.

    .soldout {
        padding: 3px 8px;
        text-align: center;
        background: #222!important;
        color: #000!important;
        font-weight: 700;
        position: absolute!important;
        top: 6px;
        right: 6px;
        font-size: 12px;
        opacity: 1!important;
        display: block!important;
    }

    Why is the black box sold out just seen for a moment before it goes away?
    What is going on?

    I have been down this road before in an earlier support thread in regards to a search in WooCommerce.

    #1427123

    Hi,
    A 500 error is a sever error, try checking your server logs and check your WordPress ▸ Tools ▸ Site Health ▸ Server for low settings like the PHP max input variables try comparing to these:
    Enfold_Support_3997.jpeg
    Are you using PHP v8.3? try rolling down to v8.2 or v8.1
    I checked my test site again and I also have over 200 pages but I don’t have any errors and we have not had any other reports. Try going to WordPress Menu → Rank Math SEO → Status & Tools → Import & Export and switch to Advanced Mode and try exporting your settings:
    Enfold_Support_3999.jpeg
    and I will try importing them into my test site, perhaps it is a setting that I didn’t set the same way you did. Are you using the free version or the paid version? I don’t have access to the paid version, so try exporting your settings and then downgrade to the free version and test again.

    Best regards,
    Mike

    #1427115

    Thank you Guenni007
    for your feedback
    everything is working fine

    with the color i don’t mean the color in the slider

    sondern die farbe in der meldung aus der function.php

    <div class=”av-more-info”><span style=”font-size: 14pt; color: ##0097d2;”>Dorfgeschichte Eschnen Nendeln</span></div>

    link: https://dorfgeschichte.li/interner-bereich/

Viewing 30 results - 961 through 990 (of 16,891 total)