Forum Replies Created
-
AuthorPosts
-
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,
IsmaelMay 26, 2021 at 7:23 am in reply to: 'Critical Error' Issue while trying to edit pages after adding child theme #1302368Hi,
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,
IsmaelHi,
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,
IsmaelHi,
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,
IsmaelMay 26, 2021 at 7:06 am in reply to: How can i remove specific [div class] from a Pagination pages ? #1302364Hey 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,
IsmaelMay 26, 2021 at 6:56 am in reply to: Icons Grid's links not working for mobile devices after update to 4.8.2 version #1302361Hi,
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,
IsmaelHey 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,
IsmaelHi,
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,
IsmaelHey!
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!
IsmaelHi,
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,
IsmaelHi,
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,
IsmaelHi,
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,
IsmaelHi,
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-1298391Best regards,
IsmaelMay 25, 2021 at 8:59 pm in reply to: Blog grid — title, excerpt and read more link with post type link #1302290Hi,
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,
IsmaelHi,
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,
IsmaelHi,
@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,
IsmaelHi,
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,
IsmaelHi,
@volmering: Where can we see the issue? Please post the site or page URL in the private field.Best regards,
IsmaelMay 25, 2021 at 8:05 pm in reply to: Advanced Layer Slider Transitions Not Working – Mod Assistance Please #1302282Hi,
Thank you for that info. Please feel free to open another thread if you need anything else.
Have a nice day.
Best regards,
IsmaelHi,
@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,
IsmaelHi,
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,
IsmaelHi,
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,
IsmaelMay 24, 2021 at 12:24 pm in reply to: Links to Tab Sections do not work when on active page #1301988Hi,
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,
IsmaelHi,
@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.For more inquiries, please feel free to open another thread.
Best regards,
IsmaelMay 24, 2021 at 12:09 pm in reply to: Icons Grid's links not working for mobile devices after update to 4.8.2 version #1301983Hi,
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,
IsmaelHi,
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,
IsmaelHi,
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,
IsmaelHey 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-yslowBest regards,
IsmaelMay 24, 2021 at 5:02 am in reply to: Missing font in frontpage after clicking enfold save button #1301901Hi,
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,
IsmaelHi,
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 -
AuthorPosts