Forum Replies Created

Viewing 30 posts - 13,861 through 13,890 (of 66,608 total)
  • Author
    Posts
  • in reply to: Excerpt in Masonry shows shortcode #1302372

    Hey zwachm,

    Thank you for the inquiry.

    Looks like the content of the Advance Layout Builder (ALB) is displaying as excerpt. Try to use this filter in the functions.php file to prevent the excerpt from displaying when the post is using the ALB.

    add_filter('avf_masonry_loop_entry_content', function($content, $entry) {
          $is_alb =  Avia_Builder()->get_alb_builder_status( $entry->ID ) == 'active';
          if($is_alb) $content = "";
          return $content;
    }, 10, 2);
    

    Best regards,
    Ismael

    Hi,

    Thank you for the inquiry

    We moved the code on pastebin.com. We are having difficulty reading the file because the symbols were converted. Would you mind posting another pastebin of the modified file where the characters are not converted?

    Best regards,
    Ismael

    in reply to: Problem enfold template single product. #1302366

    Hi,

    Thank you for the info.

    The variation image switch should work properly when the Enfold > Shop Options > Product gallery is set to the default Woocommerce 3.0 gallery. The default theme gallery is currently used in the site, which is why the switch is not working.

    Best regards,
    Ismael

    in reply to: Blog Excerpt Characters #1302365

    Hi,

    Thank you for the update.

    Which blog style or layout are you currently using? The filter above should work for the grid layout. If you are using a different layout, try this filter instead.

    function mytheme_custom_excerpt_length( $length ) {
        return 20;
    }
    add_filter( 'excerpt_length', 'mytheme_custom_excerpt_length', 999 )
    

    You can also try this plugin.

    // https://wordpress.org/plugins/advanced-excerpt/

    Best regards,
    Ismael

    Hey Hafeez Ullah,

    Thank you for the inquiry.

    Those container are not generated by the theme, or do not exist in any of the theme template files. Did you create a custom template file? We can remove the container with a simple script if you like.

    Something like this.

    
    var summary = document.querySelector(".page-summary");
    summary.remove();
    

    You can use the wp_footer hook to append it to the page or to the document, or use the wp_add_inline_script function.

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

    Best regards,
    Ismael

    Hi,

    Glad it is fixed. If you have more inquiries, please feel free to open another thread. We will close this one for now.

    Have a nice day.

    Best regards,
    Ismael

    in reply to: social profiles in fullwidth sub menu #1302359

    Hey schweg33,

    Thank you for the inquiry.

    Are the icons actual images? How did you add them? Looks like the icons are only visible on the first slide. If they are actual images, then you have to use the filter property to adjust their color.

    .saturate { filter: saturate(3); }
    .grayscale { filter: grayscale(100%); }
    .contrast { filter: contrast(160%); }
    .brightness { filter: brightness(0.25); }
    .blur { filter: blur(3px); }
    .invert { filter: invert(100%); }
    .sepia { filter: sepia(100%); }
    .huerotate { filter: hue-rotate(180deg); }
    .rss.opacity { filter: opacity(50%); }
    

    You can use font icons instead of actual images.

    // https://fontawesome.com/
    // https://fontello.com/

    Best regards,
    Ismael

    in reply to: How to remove product description from Product List #1302323

    Hi,

    Thank you for the update.

    It might be coming from a plugin or from a custom script. Did you check the products? Try to look for those containers in the text editor, and try to disable the plugins temporarily and see if it changes anything in the catalogue element.

    Best regards,
    Ismael

    in reply to: Portefolio items are with odd behaviour #1302316

    Hey!

    Don’t you agree with that?

    We are actually offering work arounds, or at least providing suggestions to fix the issue temporarily, while we are trying to figure out what is actually causing the issue. I thought that was how the previous responses are coming.

    The issue seems to only occur when the posts are created with the advance layout builder, so manually adding an excerpt and showing that text instead of the actual builder content should fix the issue temporarily.

    We will forward the issue to our channel.

    Cheers!
    Ismael

    in reply to: Woocommerce: Double cart content and totals #1302309

    Hi,

    Thank you for the info.

    We tried to login using the account above but it seems to be invalid. Please check the info carefully or provide another login account. For the meantime, please try to disable the plugins temporarily, see if it changes anything in the cart or checkout view.

    Best regards,
    Ismael

    in reply to: Enfold & CLS issue on main Div #1302302

    Hi,

    Thank you for the update.

    Based on our initial test, as you can see in the screenshot above, the site scored poorly on mobile, so we just thought that you should focus on optimizing the site first instead of focusing on the CLS score. We did not mean that you should ignore CLS completely. We did not check or test it on gtmetrix though. And yes, unfortunately, we are not yet sure what is causing the layout shifts in the front page aside from the image animations on every section. We will keep the thread open.

    Best regards,
    Ismael

    in reply to: Background Video fullscreen #1302300

    Hi,

    Yeah, that is odd. I cannot figure out why the video resizes that way, but we may be able to remove the gray border by using this css code. Please note that this will decrease the height of the color section a bit.

    @media only screen and (max-width: 1024px) {
        .avia-builder-el-0.av-minimum-height-100 .container {
            height: calc(100vh - 170px) !important;
        }
    }
    

    You may want to apply a unique section ID or class name to the color section and use that instead of the generic selector above.

    Best regards,
    Ismael

    in reply to: Webfont installieren #1302293

    Hi,

    Thank you for following up.

    For more info about adding a new font in the theme, please check the following documentation.

    // https://kriesi.at/documentation/enfold/typography/#how-to-add-google-fonts-using-css

    And in order to properly upload a custom font, please check this section.

    // https://kriesi.at/documentation/enfold/typography/#how-to-upload-custom-fonts

    You can also use the avf_google_heading_font filter to include a new item in the font selection. Usage examples can be found in the following threads.

    // https://kriesi.at/support/topic/google-fonts-not-appearing-in-safari/
    // https://kriesi.at/support/topic/unable-to-upload-google-font-into-enfold/#post-1138540
    // https://kriesi.at/support/topic/font-weight-issues/#post-1298391

    Best regards,
    Ismael

    Hi,

    Thank you for following up. :)

    Try to replace the window.location.href with the window.open function. Please look for this line..

    window.location.href = external_link;
    

    .. and replace it with:

    window.open( external_link, '_blank' );
    

    For more options, please check this link.

    // https://developer.mozilla.org/en-US/docs/Web/API/Window/open

    Best regards,
    Ismael

    in reply to: CPT UI + ACF with your theme #1302289

    Hi,

    The following folder structure is actually not valid…

    publication_post/loop-index.php
    

    .. unless you have modified the the single-publication_post.php file, and change this code.

     get_template_part( 'includes/loop', 'index' );
    

    This tells WP to get a template inside the includes folder with the name loop-index.

    But using a conditional function as we suggested above should be enough in this case.

    Best regards,
    Ismael

    in reply to: FAQ Accordion keeps randomly jumping on page #1302286

    Hi,


    @volmering
    : Would you mind providing a link to the page with the accordion element? We check the toggles and accordion demo on Chrome but we are not able to reproduce the issue.

    // https://kriesi.at/themes/enfold/shortcodes/toggles-accordions/#toggle-id-3

    Best regards,
    Ismael

    in reply to: Enfold latest portfolio widget publish time #1302285

    Hi,

    Thank you for following up.

    We added the orderby parameter in the new query.

     
    				$this->avia_new_query = array(	"orderby" => "modified", "posts_per_page"=>$count, 
    					'date_query' => array(
    						'column' => 'post_modified',
    					),'tax_query' => array(
    						array( 'taxonomy' => $this->avia_term,
    							'field' => 'id',
    							'terms' => explode(',', $cat),
    							'operator' => 'IN')
    					));
    

    We tested and confirmed that it is working by editing the REMOVALISTS RED HILL SOUTH portfolio item. We also deactivated the cache plugin and the file compression settings temporarily. Please enable them back after checking the widget.

    Best regards,
    Ismael

    in reply to: Accordion title change when active #1302284

    Hi,


    @volmering
    : Where can we see the issue? Please post the site or page URL in the private field.

    Best regards,
    Ismael

    Hi,

    Thank you for that info. Please feel free to open another thread if you need anything else.

    Have a nice day.

    Best regards,
    Ismael

    Hi,


    @sldeutsch
    : Did you add this hook in the functions.php file?

    add_action( 'init', array( $this, 'force_settings'), 10, 0 );
    

    Make sure to purge the cache after adding the code. If it is still not working, please open another thread and post the details in the private field.

    Best regards,
    Ismael

    in reply to: Menu Items – Add more room? #1302279

    Hi,

    Sorry for the delay. You can replace the css code with this one to make sure that only the first level of the menu list is affected.

    #top #header .av-main-nav > li:nth-child(4) {
        margin-right: calc(100% - 500px);
    }
    

    We just added the greater-than symbol before the li:nth-child(4).

    Best regards,
    Ismael

    in reply to: Breadcrumb issue #1302277

    Hi,

    Alright. You can also add the filter that they provided in the link to remove the breadcrumb entry from the schema.

    /********* DO NOT COPY THE PARTS ABOVE THIS LINE *********/
    
    /* Remove Yoast breadcrumb from static blog page
     * Credit: Yoast team
     * Last Tested: May 12, 2021 using Yoast SEO 16.2 on WordPress 5.7.1
     */
    
    add_filter( 'wpseo_schema_webpage', 'remove_breadcrumb_schema_ref', 10, 1);
    function remove_breadcrumb_schema_ref( $piece ){
    	if ( !is_front_page() && is_home() ) {
    		unset( $piece['breadcrumb'] );
    		return $piece;
    	}
    	else return $piece;
    }
    
    add_filter( 'wpseo_schema_graph_pieces', 'remove_breadcrumbs_from_schema', 11, 2 );
    function remove_breadcrumbs_from_schema( $pieces, $context ) {
    	if ( !is_front_page() && is_home() ) {
    		return \array_filter( $pieces, function( $piece ) {
    			return ! $piece instanceof \Yoast\WP\SEO\Generators\Schema\Breadcrumb;
    		} );
    	}
    	else return $pieces;
    }
    

    Please feel free to open another thread if this continues to be an issue. We will close this one for now.

    Have a nice day.

    Best regards,
    Ismael

    in reply to: Links to Tab Sections do not work when on active page #1301988

    Hi,

    We are getting an error around this line.

    tab = $('.av-section-tab-title[href='+ hash +']');
    

    This is the error.

    Uncaught Error: Syntax error, unrecognized expression: .av-section-tab-title[href=]
    

    Try to replace the line with:

    tab = $('.av-section-tab-title[href="'+ hash +'"]');
    

    Best regards,
    Ismael

    in reply to: Volle Breite Untermenü | submenu #1301984

    Hi,


    @andreas_anselm
    : This is not possible out of the box and requires modification that is beyond the scope of support. You can try the solution that another user provided in the following link but we cannot guarantee that it will work.

    // https://kriesi.at/support/topic/make-fullwidth-submenu-element-stick-to-top-on-mobile-tablets/#post-1294584

    For more inquiries, please feel free to open another thread.

    Best regards,
    Ismael

    Hi,

    Thank you for the update.

    Can we access the dashboard? Please try to temporarily disable the Performance > File Compression settings and purge the cache. The scripts are compressed, so it is possible that the changes that we made to the file are not yet included.

    Best regards,
    Ismael

    in reply to: Display tags in the footer of a blog article #1301980

    Hi,

    Thank you for the update.

    Have you tried using the get_the_tags function as suggested above? If you want to place it below the article, you may need to modify the single.php or the includes > loop-index.php template. This code inside the loop-index.php file outputs the post content.

     if ( ! in_array( $blog_style, array( 'bloglist-simple', 'bloglist-compact', 'bloglist-excerpt' ) ) ) 
    			{
                    echo $content_output;
                }
    

    To show the tags, you can use this code.

    $post_tags = get_the_tags();
    if ( ! empty( $post_tags ) ) {
        echo '<ul class="av-post-tags">';
        foreach( $post_tags as $post_tag ) {
            echo '<li><a href="' . get_tag_link( $post_tag ) . '">' . $post_tag->name . '</a></li>';
        }
        echo '</ul>';
    }
    

    Best regards,
    Ismael

    in reply to: CPT UI + ACF with your theme #1301906

    Hi,

    You can check for the current post type or you can wrap the code inside a conditional tag. Example.

    if(get_post_type() == "publication_post") {
        $publi_revue = get_field( "publi_revue" );
        echo '<div class="av-publi-revue">' . $publi_revue . '</div>';
    }

    If you want to create a dedicated template file for the post type, please check the documentation

    // https://developer.wordpress.org/themes/template-files-section/custom-post-type-template-files/

    TL;DR You will have to create a file called single-publication_post.php.

    Best regards,
    Ismael

    in reply to: Enfold & CLS issue on main Div #1301903

    Hey Josh,

    Thank you for the inquiry.

    Layout shifts are usually caused by scripts that dynamically adds content or other elements in the page, and animations that causes existing containers to move. Removing those scripts or decreasing their occurrence should improve the CLS score.

    We ran a test using page speed insights tool and it returned very low scores on a lot of criteria, but found a lot of opportunities for optimization. CLS at this moment, should be the least of your concern.

    Screenshot: https://imgur.com/m4CCvjN

    For more info about site or WordPress optimization, please check the following articles.

    // https://gtmetrix.com/wordpress-optimization-guide.html
    // https://kriesi.at/archives/scoring-100-100-in-google-pagespeed-insights-gtmetrix-pagespeed-and-yslow

    Best regards,
    Ismael

    Hi,

    We tried to import the file that you mentioned above but the process fails. Unfortunately, we will not be able to tell what is actually wrong with the import file. You may understand if you check the content of actual text or import file below. (see private field)

    Do you have an actual site backup or a restore point? Please do not rely on the import file and make sure to always create a full site and database backup. You may need to manually reconfigure some of the options that are missing in the current installation, or if possible, restore the site to a previous point.

    You can also get a copy of the theme options directly from the database. Look for the avia_options_enfold_child or avia_options_enfold entry inside the _options table.

    Best regards,
    Ismael

    in reply to: Enfold theme & Memberpress #1301889

    Hi,

    We checked the page below (see private field) and surprisingly, the more tag seems to be working as expected — the content after the more tag is hidden. Not really sure what changed in the builder, but more tag is not supposed to function here correctly. We checked the site on incognito mode to make sure that we are not logged in.

    Screenshot: https://imgur.com/z5kMbFu

    Best regards,
    Ismael

Viewing 30 posts - 13,861 through 13,890 (of 66,608 total)