Forum Replies Created
-
AuthorPosts
-
January 11, 2021 at 1:33 pm in reply to: Blog Layout Related Entries to Recent Entries Instead #1271587
Hi,
Thank you for the update.
It is working properly on our end. This is how the final or modified query should look.
$my_query = get_posts( array( 'post_type' => get_post_type($this_id), 'showposts'=>$postcount, 'ignore_sticky_posts'=>1, 'post__not_in' => array($this_id)) );Best regards,
IsmaelJanuary 11, 2021 at 1:28 pm in reply to: Center and enlarge search field on search results page #1271585Hi,
Thank you for the info.
We adjusted the snippet in the functions.php file and confirmed that the placeholder is being replaced with the specified value on mobile view or on screen width lesser than or equal to 989px. If you would like to adjust the placeholder value, just look for this line in the snippet.
$(".av_searchform_wrapper").find("#s").attr("placeholder", "Search");Screenshot: https://imgur.com/Jlog5sS
Best regards,
IsmaelJanuary 11, 2021 at 1:18 pm in reply to: Blog post image sizes suddenly all different sizes? #1271581Hi,
Could you also provide the FTP details? We would like to check if the thumbnails actually exists in the uploads folder. Right now, the grid or the Blog Posts element falls back to the original image instead of displaying the selected thumbnail.
We actually deactivated the Smush plugin. Did you configure it before?
Best regards,
IsmaelHi,
According to our developers, the next release will include the latest feature called “Custom Elements”, which is a more advance template system for the Advance Layout Builder, and it will surely contain fixes for open issues, compatibility patches for PHP 8.0 and WP 5.6, but there is no ETA yet.
Thank you for your continued support.
Best regards,
IsmaelHi,
Thank you for the update.
I try to manually remove them using the following your snippet in the functions.php
Adding the snippet in the functions.php file will only deregister the thumbnail sizes but it will not remove those that are already generated. To remove the existing thumbnails, you have to regenerate the images using the plugin (Regenerate Thumbnails) that we suggested above. This process might take a while depending on the number of images uploaded in the site, and since the site contains many, expect it to take some time.
IMPORTANT: Please do not forget to create a backup or a restore point before proceeding with the thumbnail regeneration.
Best regards,
IsmaelHi,
Thank you for the info.
We enabled the debug mode for the builder, so you could manually edit the shortodes in those pages and manually replace the iframe with the Youtube URL. When the debug mode is enabled, you will find a shortcode editor just below the actual builder. Just look for the iframe tag or the element where it was added, replace it with the actual Youtube URL, then update the page. This should make the pages editable again.
Best regards,
IsmaelHi,
Is there any solution to custom product pages template with ALB ?
When ALB is enabled, a blank template will be used instead and all elements from the default product template such as the price, product photo, etc will be removed or will not render at all. You have to manually add them again using the available elements in the ALB when necessary.
Thank you for your patience.
Best regards,
IsmaelHi,
Thank you for the update.
That view is from the post page in the archive.
1.) The comments area will only display in the actual post page. Are you expecting it to display in the archive page as well? (see private field)
2.) According to an article, this is a permission issue or it is possible that the Facebook app or page is not yet live and not yet public. To fix it, you may need to toggle the page’s visibility status. Have you tried that?
Best regards,
IsmaelHi,
Thank you for the info.
It seems to be working properly on our end — the paypal window pops up and we do not see any errors in the console after finalizing the product order. Please check the screenshot below.
Screenshot: https://imgur.com/Sbd6jiz
After setting the jQuery version to legacy mode, did you toggle the Performance > File Compression settings and purge the cache? You could also try it on incognito mode.
Best regards,
IsmaelHi,
@Pas70: Sorry about that. We forgot to add the snippet. Here is it.
add_action('wp_footer', 'ava_auto_resize'); function ava_auto_resize(){ ?> <script> (function($){ var int = window.setInterval(function(){ $(window).trigger('debouncedresize resize'); }, 1000); $(window).load(function () { setTimeout(function() { clearInterval(int); }, 3000); }); })(jQuery); </script> <?php }
@ancrerouge: Thank you for your patience.Best regards,
IsmaelHi,
Unfortunately, we cannot help you with custom code or features that are not actually included in the theme. You may need to contact the previous developer or ask another with the customization. This is as stated on our support policy.
Thank you for your understanding.
Best regards,
IsmaelHi,
Glad to know that it is working. :)
You could use the following plugin to adjust the default size of the thumbnails. The name of the thumbnail size used for the related entries is “square”.
// https://wordpress.org/plugins/simple-image-sizes/
The size can be changed in the Settings > Media panel and you have to regenerate or upload the images again afterwards.
Best regards,
IsmaelHi,
Sorry for the delay. You should be able to generate the error logs using the snippets provided in the following documentation.
//https://wordpress.org/support/article/debugging-in-wordpress/#wp_debug_log
// https://wordpress.org/support/article/debugging-in-wordpress/#example-wp-config-php-for-debuggingJust make sure that that the WP_DEBUG and WP_DEBUG_LOG are set to true.
What are the actual specs of the server?
Best regards,
IsmaelHi,
Thank you for the update.
Do you actually check the generated thumbnails instead of the full size or the original version of the image? Please note that the jpeg_quality will only affect the generated thumbnails, but not the original source of those thumbnails.
This filter works properly on our end.
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 = 100; return $quality; }Please check the screenshot below.
quality: https://imgur.com/zcVAIdU
file size: https://imgur.com/PDFZp1BYou could clearly see the quality and file size difference when the default_jpeg_quality is set to 10 version 100. Selected size is Fullscreen Sections/Sliders.
Best regards,
IsmaelHi,
When checking in safari, when you console.log anything in the setTimeout function or within the ifelse statement, do you see the result? Older IE browsers, version 10 or older, usually return the same errors or display the same problems as Safari browsers, but we could not reproduce the same issue. The mute/unmute works fine on IE11 and on IE10/IE9 emulation.
We will forward the issue to our channel.
Best regards,
IsmaelHi,
Let us know when you have found a solution. Again, you could use the css code above to adjust the size of the background image. Please also note that it is possible to set the width and height of the background image in percentage based on the size of the parent element.
// https://www.w3schools.com/cssref/css3_pr_background-size.asp
Best regards,
IsmaelHi,
That is how the WP search works by default. It will return all pages or posts containing the searched keyword. You may need to install a third party extension or plugin to adjust the default search query.
// https://wordpress.org/plugins/relevanssi/
// https://wordpress.org/plugins/wp-extended-search/Please check the following documentation to get started with Contact Form 7 plugin.
// https://contactform7.com/docs/
You have to create a contact form, configure it and add it to the page using the corresponding shortcode. If you want to add it in the Advance Layout Builder, use a code or text block for the contact form shortcode.
Best regards,
IsmaelJanuary 11, 2021 at 4:41 am in reply to: Woocommerce category image disappears after filtering #1271463Hi,
@kisrael: We are not sure or we do not remember if the existing code for the banner has been modified to change this behavior. Where can we see the issue? Please note that the latest version is 4.7.6.4, so you may need to update the theme first.Best regards,
IsmaelJanuary 11, 2021 at 4:37 am in reply to: Enfold 'Latest News' Widget: prevent duplicate listings on same page? #1271461Hi,
This is possible, but this will require modifications that are beyond the scope of support. We will have to make the ID of the post items in the Blog Posts element available globally and use the post__not_in parameter in the avia_newsbox query. To do that you will have to modify the avia_newsbox class in the enfold\framework\php\class-framework-widgets.php around line 920 and edit the Blog Posts shortcode or element.
// https://developer.wordpress.org/reference/classes/wp_query/#post-page-parameters
Best regards,
IsmaelHi,
Thank you for the update.
You could hide the main container’s top border with this css code.
#top #main { padding-top: 88px !important; }Or use this one to actually remove the border.
#top #main > .container_wrap { border-top: 0; }Best regards,
IsmaelHi,
Thank you for the inquiry.
What do you mean by “email of orders”? The contact forms seems to be sending the messages properly. Are they not going through? You may need to define the from address manually so that it is properly recognized by your mail server. The snippet or filter is provided in the link that @Yigit provided above.
function avf_change_cf_from() { return " (Email address hidden if logged out) "; } add_filter('avf_form_from', 'avf_change_cf_from', 10);Make sure that the email address is one of the domain email addresses.
Best regards,
IsmaelHi,
Thank you for the update.
Looks like the product gallery is not working correctly because of a script error in the merged file. Please try to disable the Performance > File Compression settings temporarily, then install the following plugin and set the jQuery script to the old or legacy version instead of the latest one.
// https://wordpress.org/plugins/enable-jquery-migrate-helper/
Best regards,
IsmaelHey c2strategy,
Thank you for the inquiry.
We could display the description column back on mobile view with css, but it will be rendered above the next columns.
.responsive .pricing-table.avia-desc-col { display: block !important; }A better solution is to display a different set of table on mobile view. You could toggle the elements’ visibility in the Advanced > Responsive > Element Visibility settings.
Best regards,
IsmaelHi,
Thank you for the info.
We noticed that there is a minor syntax error in the above code, so we removed it. Sorry about that. Please try the snippet again or post the login details in the private field so that we could test the script properly.
Best regards,
IsmaelHi,
Yes, we understand. And as we explained it looks like it’s not working correctly because there is an extra space below the header, which looks like an actual part of the header but is actually a space created because the main container has a top padding. The header is only 44px in height and the code above should adjust the top padding of the main container so that it is not twice as tall as the header.
Best regards,
IsmaelHi,
Thank you for the update.
I’ve tried your custom css, but the problem still exists.
The css code above is supposed to take care of the big-preview container CLS. Do you still see a CLS issue on that container after adding the css code?
What happens when you remove the cp-module or the subscription form inside the entry-content container? There are also a lot of video and image elements in the entry-content container which are lazy loaded, and it is possible that this is affecting the CLS score. Have you tried disabling the lazy load option?
Best regards,
IsmaelHi,
Thank you for info.
Glad to know that you have found the issue. The code above initializes the theme’s implementation of the YT.Player API, which is probably conflicting with the AblePlayer’s youtube player implementation. By commenting it out, any element using the Youtube player such as the video and slider elements will not work properly.
Best regards,
IsmaelHey Tomasssu,
Thank you for the inquiry.
The theme register its own thumbnails and whenever you upload a product image, these thumbnails are automatically generated as well which is probably why the images takes up that much space in the server. If you don’t need those thumbnails, you can manually remove them using the following snippet in the functions.php file.
// Disable loads of Enfold & WP image sizes upon upload add_action('init', 'remove_enfold_image_sizes'); function remove_enfold_image_sizes() { // do NOT remove widget size, is used in backend portfolio items! // remove_image_size('widget'); remove_image_size('square'); remove_image_size('featured'); remove_image_size('featured_large'); remove_image_size('portfolio'); remove_image_size('portfolio_small'); remove_image_size('gallery'); remove_image_size('magazine'); remove_image_size('masonry'); remove_image_size('entry_without_sidebar'); remove_image_size('entry_with_sidebar'); remove_image_size('shop_thumbnail'); remove_image_size('shop_catalog'); remove_image_size('shop_single'); remove_image_size('shop_gallery_thumbnail'); }After adding the snippet, use the following plugin to regenerate the images, which should also remove the unregistered thumbnails.
// https://wordpress.org/plugins/regenerate-thumbnails/
IMPORTANT: Please do not forget to create a backup or a restore point before doing the above steps.
Related thread: https://kriesi.at/support/topic/media-upload-and-enfolds-thumbnail-sizes/#post-1270140
Best regards,
IsmaelHi,
Thank you for the info.
Why do you add the whole iframe tag in the video field? It works fine when we remove the iframe tag from the Content > Select Slide Content > Choose Video field and use the actual Youtube URL instead. (see private field)
Best regards,
IsmaelJanuary 8, 2021 at 3:47 pm in reply to: Blog post image sizes suddenly all different sizes? #1271093Hi,
Thank you for the update.
We tried to select the preview image manually but for some reason, the original image is still displayed in the grid instead of the selected thumbnail. Did you happen to remove some images or do a clean up in the uploads folder? When you enable the Smush plugin, did you disable certain thumbnails?
Best regards,
Ismael -
AuthorPosts
