Forum Replies Created
-
AuthorPosts
-
Hi,
There are an unclosed html tag in the Special Heading elements. We have found two invalid tags and fixed those but the whole content still disappears after updating the page. You may need to remove all elements with custom html tags and add them again.
This is an example of the invalid html tags.
< strong >AperativBest regards,
IsmaelFebruary 21, 2022 at 5:24 am in reply to: Avia Layout builder – post title is displayed above the gallery images #1341575Hi,
@kreativeseite: We updated the gallery.php file. Please make sure to purge the cache before testing the page.Best regards,
IsmaelHi,
Glad to know that you have found a solution for this problem. Please feel free to open another thread if you want to share the solution with the users or if you have more questions related to the theme.
Have a nice day.
Best regards,
IsmaelHi,
Can I somehow exclude the complete Custom Post Type
You can unset the custom post type in the query. By default, all post types are included in the query and we use the tax_query to control which posts to actually retrieve.
Example:
function avia_masonry_custom_tax_query($query) { // this unsets the post type with the slug "name_of_post_type" unset($query["post_type"]["name_of_post_type"]); $query['tax_query'][] = array( 'taxonomy' => 'kanal_zuordnung', 'field' => 'id', 'terms' => array('30', '31'), 'operator' => 'NOT IN', ); return $query; } add_filter('avia_masonry_entries_query', 'avia_masonry_custom_tax_query');Make sure to adjust the post type name in the filter.
Best regards,
IsmaelHi,
Thank you for the info.
The “kotikirkko” site is not loading properly on our end. Is it down? The issue seems to be resolved on the other site as shown in the screenshot below. (see private field)
Best regards,
IsmaelFebruary 21, 2022 at 5:00 am in reply to: Attempting to Update Enfold to Version 4.8.9.1 – WooCommerce Error #1341570Hi,
Sorry for the delay. We cannot access the server via SFTP. Please check the login account and make sure that all connection from any countries are allowed. You should also update the theme to the latest version in the staging site.
Best regards,
IsmaelFebruary 21, 2022 at 4:44 am in reply to: The Original Calendar Pro – Css Override for View? #1341569Hey nox309,
Thank you for the inquiry.
You can use this code in the functions.php file to remove the theme’s css and template modifications for the events plugin.
function avia_events_register_assets() { return false; } function avia_events_template_paths() { return false; }Best regards,
IsmaelHi,
We tried to adjust the value of the quantity field using the buttons and the field seems to be reflecting the correct value when we checked it on the browser console. Please check the screenshot in the private field. Unfortunately, we are not sure how the shop table retrieves the items in the table. Please keep in touch with the plugin developers for additional help and feel free to open another thread if you have more questions about the theme.
Best regards,
IsmaelHi,
Alright. Thank you for the info. Please let us know if the issue occurs again on a different page.
Best regards,
IsmaelHi,
Thank you for the update.
We updated the filter in the functions.php file a bit. Please use this code to add the index,follow robots meta tag to the rest of the pages.
add_action( 'wp_head', function() { global $post; if ( in_array($post->ID, array(1, 2, 3) ) || is_search() || is_paged() ) { echo '<meta name="robots" content="noindex, nofollow">'; } else { echo '<meta name="robots" content="index, follow">'; } }, 10 );Best regards,
IsmaelHi,
There is a copy of the class-avia-masonry.php file config-templatebuilder/avia-shortcode-helpers/ folder. Please remove the duplicate file, then add the modifications again in the original file.
Best regards,
IsmaelHi,
We selected the first option (No scaling) in the Styling > Gallery Settings > Image Size settings, then added this css code to display the actual height of the gallery images on mobile view.
@media only screen and (max-width: 767px) { /* Add your Mobile Styles here */ .responsive .av-horizontal-gallery-img { height: 100%; width: 100%; } }Best regards,
IsmaelHey smarta-brett,
Thank you for the inquiry.
The height of the slider container is a bit taller than it is supposed to be. Unfortunately, we are not yet sure why this is happening. Did you install an image compression or a lazy loading plugin?
Best regards,
IsmaelHi,
We had to edit the functions.php file and redefine the avia_apply_quant_btn function in the script above. The quantity buttons are now displaying in the shop table. Please make sure to purge the cache on your end.
Best regards,
IsmaelHi,
You can use a plugin like Post Types Order to manually sort the order of the posts but this plugin causes some issues with the theme such as the post navigation, so we do not usually recommend it. Please check the link below.
// https://wordpress.org/plugins/post-types-order/
Best regards,
IsmaelHi,
Yes, opening a thread on a general WordPress forum or directly forwarding this thread to the developers should help. Please note that web tools such as Lighthouse are not perfect so from time to time, results could contain false positives or they could point out errors that are not actually there. If you want to report this specific problem to the developers, please open an issue in this link.
// https://github.com/google/WebFundamentals/issues
Thank you for your patience.
Best regards,
IsmaelHi,
Thank you for the info.
The filter is already gone from the functions.php file, which is good. Did you check if the modification still exists in the config-templatebuilder/avia-shortcode-helpers/class-avia-masonry.php? This is the previous modification that we suggested.
// https://kriesi.at/support/topic/masonry-blog-meta-elements/#post-1338815
After doing the modification, make sure to add this css.
.av-masonry-outerimage-container ul { position: absolute; z-index: 999; color: white; }Best regards,
IsmaelHi,
Did you receive my login details and hosting login? Are you able to check?
We didn’t receive any login or hosting details, so we are not able to check. Please post the login details in the private field so that we can inspect the issue further.
Did you check the content of the _aviaLayoutBuilderCleanData? Please post the content of the entry using pastebin or provide a screenshot using imgur or dropbox.
Best regards,
IsmaelFebruary 18, 2022 at 6:05 am in reply to: Spinning wheel not showing on loading video in lightbox #1341280Hi,
Thank you for the update.
Did you toggle or temporarily disable the Enfold > Performance > File Compression settings after adding the css? The css modification that we recommended above should take priority because we defined the !important rule or property in the css rule. It should override the default background of the .mfp-iframe-scaler iframe element.
Best regards,
IsmaelHi,
Awesome! Glad to know that @Guenni’s recommendations above worked. Please do not hesitate to open another thread if you need anything else.
Have a nice day.
Best regards,
IsmaelHi,
Thank you for the info.
For some reason, we are getting a 403 forbidden error when we try to access the dashboard or the login page. Did you change the login URL? Please make sure that the dashboard is accessible from the following countries (see private field), or just disable the security plugin temporarily.
Best regards,
IsmaelHi,
Yes, that should be enough, and as @Guenni007 pointed out above the Amazon menu is not really that intuitive and the site would be better off with a simple menu.
Thank you for your patience.
Best regards,
IsmaelFebruary 18, 2022 at 5:54 am in reply to: Can't get rid of alert saying "Failed to initialize plugin: avia_builder_button" #1341272Hi,
No problem. Let us know in a different thread if you have more questions. We will close this one for now.
Have a nice day.
Best regards,
IsmaelHi,
Thank you for the info.
Did you purge the Litespeed cache and disabled the Enfold > Performance > File Compression settings after upgrading the theme? Doing this will ensure that latest scripts and stylesheets are loaded. If the issue persists, please enable the error logs and set the installation to debug mode so that we can check for errors.
// https://wordpress.org/support/article/debugging-in-wordpress/#example-wp-config-php-for-debugging
Best regards,
IsmaelHi,
Thank you for the update.
The Advance Layout Builder (ALB) is actually active when we edited the page but for some reason, it is still using the default template instead of the template-builder.php file. We had to access the ALB and update the page manually. We are not really sure why the ALB status was not active in that particular page. Is this happening on a lot of pages?
Best regards,
IsmaelFebruary 18, 2022 at 5:44 am in reply to: Correct way to use video element in avia builder using WebM and MP4 file #1341268Hi,
Thank you for the update.
So this implies that the expected fallback should be somehow implemented right ?
Yes, you are correct. But it looks like the option is not yet available and upon reviewing the code, the video doesn’t actually look for fallbacks or I just missed something. We will forward this issue to our channel.
For the meantime, please try to edit the enfold/framework/php/function-set-avia-frontend.php file and look for this code around line 898.
$html5_files = $video;We will add a filter by replacing the code with:
$html5_files = apply_filters( "avia_html5_video_files", $video );You can then use this code in the functions.php file to manually define fallbacks for a specific video.
add_filter("avia_html5_video_files", function($videos) { if ( ! strpos($videos["web"], "world-video.web") === false) { $videos["mp4"] = "https://site.com/wp-content/uploads/world-video.mp4"; $videos["ogv"] = "https://site.com/wp-content/uploads/world-video.ogv"; } return $videos; }, 10, 1);This checks if the name of the video is “world-video.webm”, then assign fallbacks for mp4 or ogv.
Best regards,
IsmaelFebruary 18, 2022 at 5:25 am in reply to: Fullwidth Easy Slider problem after update 4.8.9.1 #1341266Hi,
Thank you for the update.
I only use the slider that comes in enfold. “Fullwidth Easy Slider”.
You have to override the config-templatebuilder/avia-shortcodes/slideshow_fullsize/slideshow_fullsize.php file using this code https://pastebin.com/qgNqLvkR.
We tried to access the dashboard but we got locked out (423 error). Did you change the login URL? Please try to disable the security plugin or option temporarily so that we can check the site properly.
Best regards,
IsmaelHi,
Thank you for the info.
Did you set jQuery to load in your footer? The script is not working because according to the browser console “jQuery is not defined”, which means that either jQuery is actually not loaded or the script loads before the jQuery library. To fix the issue, we adjusted the priority of the wp_footer hook to 999 to make sure that the script loads after the library.
Best regards,
IsmaelHi,
No problem! Please feel free to open another thread if you need anything else.
Have a nice day.
Best regards,
Ismael -
AuthorPosts
