Forum Replies Created
-
AuthorPosts
-
Hi,
Thank you for the update.
The latest version of the theme is 5.1.2. If this version is not displaying in the dashboard, you may need to update the theme manually via FTP just this once. Please check the documentation below for more info about FTP update.
// https://kriesi.at/documentation/enfold/theme-update/#update-via-ftp
Best regards,
IsmaelHi,
Glad to know that you’ve found the offending plugin. You may need to contact the plugin developers and ask them for more info about the issue. Please feel free to open another thread if you have more questions about the theme.
Have a nice day.
Best regards,
IsmaelSeptember 16, 2022 at 11:02 am in reply to: Really Poor Score On Mobile – Google Speed Test #1365232Hey navindesigns,
Thank you for the inquiry.
Have you done any basic optimization to the site such as image compression, database cleanup and cache configuration? The following guides in page speed optimization should help.
// https://kriesi.at/archives/scoring-100-100-in-google-pagespeed-insights-gtmetrix-pagespeed-and-yslow
// https://gtmetrix.com/wordpress-optimization-guide.htmlBest regards,
IsmaelHey lindaw_selco,
Thank you for the inquiry.
This is possible but you have to modify the enfold/includes/helper-social-media.php file and edit this code around line 210.
$html .= "<a {$blank} {$aria_label} href='" . esc_url( $icon['social_icon_link'] ) . "' " . av_icon_string( $icon['social_icon'], false ) . " title='{$display_name}'>";Just remove the {$blank} attrribute.
$html .= "<a {$aria_label} href='" . esc_url( $icon['social_icon_link'] ) . "' " . av_icon_string( $icon['social_icon'], false ) . " title='{$display_name}'>";Best regards,
IsmaelHi,
Thank you for the update.
You can remove the default copyright link by adding the [nolink] flag in the Enfold > Footer > Copyright field.
Best regards,
IsmaelHi,
Thank you for the update.
For the AJAX search, you have to directly modify the enfold/functions-enfold.php file, look for the avia_ajax_search function and this comment around line 410.
//now we got everything we need to preapre the outputAbove this line, add this block.
$sorted = array('portfolio' => $sorted['portfolio']) + $sorted; $sorted = array('post' => $sorted['post']) + $sorted; $sorted = array('product' => $sorted['product']) + $sorted;Best regards,
IsmaelHey swotes,
Thank you for the inquiry.
That is the default order of the post navigation but it can be reversed if necessary. Please add this filter in the functions.php file.
add_filter( 'avf_post_nav_entries', 'avf_post_nav_entries_mod_reverse', 10, 3); function avf_post_nav_entries_mod_reverse($entries, $settings, $queried_entries) { $entries['prev'] = get_next_post($settings['same_category'], $settings['excluded_terms'], $settings['taxonomy']); $entries['next'] = get_previous_post($settings['same_category'], $settings['excluded_terms'], $settings['taxonomy']); return $entries; }Best regards,
IsmaelHi,
Thank you for the update.
Did you add the filter?
add_filter('wc_order_statuses', function($statuses) { $statuses['wc-custom-status'] = _x( 'Custom', 'Custom status', 'woocommerce' ); return $statuses; }, 10, 1);After adding the filter, try to edit any of the existing orders and set its status to “Custom status”.
Best regards,
IsmaelHi,
Thank you for the info.
But if I reinstate the ‘shop_catalog image size, it starts picking it up again and not the woocommerce_thumbnail one.
Did you implement the changes in the enfold/config-woocommerce/config.php after reinstating the shop_catalog image size?
$woocommerce_thumbnail_image_width = get_option( 'woocommerce_thumbnail_image_width' ); $default_size = $woocommerce_thumbnail_image_width == 300 ? 'shop_catalog' : 'woocommerce_thumbnail'; $size = apply_filters( 'avf_wc_before_shop_loop_item_title_img_size', $default_size );The theme by default will prioritize the custom shop_catalog (450x450px) thumbnail if the changes above are not implemented. You can also use the filter.
add_filter( 'avf_wc_before_shop_loop_item_title_img_size', 'temp_thumbnail_size_fix', 10, 1 ); function temp_thumbnail_size_fix( $thumbnail_size ) { return 'woocommerce_thumbnail'; }Best regards,
IsmaelHey jeel147,
Thank you for the inquiry.
We checked the site but we couldn’t see any layout issues with the header. Would you mind providing a screenshot of the issue? You can use imgur, savvyify or dropbox for the screenshot.
To apply a consistent height to the header on tablet view, you can use this css code.
@media only screen and (min-width: 768px) and (max-width: 989px) { .responsive.html_mobile_menu_tablet #top #header_main>.container .main_menu .av-main-nav>li>a, .responsive.html_mobile_menu_tablet #top #wrap_all .av-logo-container { height: 90px; line-height: 90px; } }You may need to toggle or temporarily disable the Enfold > Performance > File Compression settings after adding the css.
Best regards,
IsmaelHey jeel147,
Thank you for the inquiry.
Have you tried applying a top margin to the image to move it lower in the cell? You can also apply a unique class name to the image (ex “klassiek-image”), then use this css code to align it to the bottom of the cell.
.klassiek-image { position: absolute; bottom: 0; }Best regards,
IsmaelHi,
Thank you for the update.
You can use the following css code to apply a minimum height to the slides and resize the slide images including the fallback images.
@media only screen and (max-width: 767px) { /* Add your Mobile Styles here */ .avia-slideshow-inner .avia-slideshow li, .avia-slideshow-inner .avia-slideshow li .avia-slide-wrap { min-height: 200px; } .avia-slideshow li img { object-fit: cover; width: 100%; height: 200px; } }Please toggle or temporarily disable the Enfold > Performance > File Compression settings after adding the css.
Best regards,
IsmaelHey MidasPL,
Thank you for the inquiry.
Transparent header is disabled by default when the logo is below the menu. You will actually see the following notice in the Layout > Header visibilty and transparency settings when this option is enabled.
Only available if the logo is not below the menuBest regards,
IsmaelSeptember 16, 2022 at 8:40 am in reply to: Masonry Gallery "Display Load More Button" is no longer working #1365212Hi,
Glad to know that this has been sorted out. Please feel free to open another thread if you have more questions about the theme.
Have a nice day.
Best regards,
IsmaelHi,
Thank you for the update.
One question: is there a limit on page size?
You might be referring to the post_max_size, which is a PHP directive and defaults to 8M. This is a very generous limitation because page sizes in WordPress averages around 60-100 Kb, depending on the content of the page. The page where the issue occurs is only 73 Kb in size.
// https://www.php.net/manual/en/ini.core.php#ini.post-max-size
We just noticed that the WP_MEMORY_LIMIT is set to 40M, default. You may want to ask your hosting provider to increase it to at least 128M.
Best regards,
IsmaelHey mary301187,
Thank you for the inquiry.
You can use the wc_order_statuses filter from the wc_get_order_statuses function (below) to adjust the available statuses but we are not sure how will the changes affect the order process.
/** * Get all order statuses. * * @since 2.2 * @used-by WC_Order::set_status * @return array */ function wc_get_order_statuses() { $order_statuses = array( 'wc-pending' => _x( 'Pending payment', 'Order status', 'woocommerce' ), 'wc-processing' => _x( 'Processing', 'Order status', 'woocommerce' ), 'wc-on-hold' => _x( 'On hold', 'Order status', 'woocommerce' ), 'wc-completed' => _x( 'Completed', 'Order status', 'woocommerce' ), 'wc-cancelled' => _x( 'Cancelled', 'Order status', 'woocommerce' ), 'wc-refunded' => _x( 'Refunded', 'Order status', 'woocommerce' ), 'wc-failed' => _x( 'Failed', 'Order status', 'woocommerce' ), ); return apply_filters( 'wc_order_statuses', $order_statuses ); }Example:
add_filter('wc_order_statuses', function($statuses) { $statuses['wc-custom-status'] = _x( 'Custom', 'Custom status', 'woocommerce' ), return $statuses; }, 10, 1);Best regards,
IsmaelHey Stefan,
Thank you for the inquiry.
You can adjust the space between columns by editing the first column element in the row. Look for the Row Settings > Row Layout > Space Between Columns settings. Where can we check the issue? Please provide the site URL in the private field.
Best regards,
IsmaelHey dsyoon99,
Thank you for the inquiry.
Looks like the page was built using the Advance Layout Builder (ALB) but has been switched to the block editor. Please keep the Advance Layout Builder (ALB) active when editing the page and avoid switching to the default editor.
Best regards,
IsmaelHey ivopivo,
Thank you for the inquiry.
The Logo option is located in the Enfold > Theme Options panel. The Upload button should open the media library where you can add a new image and insert it as logo. You can also disable the maintenance mode in the same panel.
Best regards,
IsmaelHey Omar Skapti,
Thank you for the inquiry.
The theme sets the product thumbnail to shop_catalog (450x450px) by default, and this overrides the value set in the Woocommerce > Product Images > Product Thumbnail Width field.
To change this behavior and to revert back to the default product thumbnail, you have to add this filter in the functions.php file.
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'; }Best regards,
IsmaelHey itadminprint,
Thank you for the inquiry.
You may need to select the default Woocommerce 3.0 product gallery in the Enfold > Shop Options > Product gallery settings and make sure that the default editor for the products is active, not the Advance Layout Builder (ALB). Let us know if this works.
Best regards,
IsmaelHi,
Thank you for the update.
When we click the GOLF HOMES FOR SALE > Fort Myers link, it just redirects to another page as expected. What should happen when the link is clicked?
Would you mind providing a short clip or a screenshot of the issue? You can use imgur, savvyify or dropbox. Thanks!
Best regards,
IsmaelSeptember 15, 2022 at 9:45 am in reply to: Masonry Sorting by date using The Events Calendar categories #1365085Hey bcgallaher,
Thank you for the inquiry.
The masonry element does not support sorting entries by their starting date by default. You can see the available sorting option in the element’s Content > Sorting > Order by settings. You may need to add the filter below to change the masonry query a bit and sort the events by their starting date.
/* query events by starting date */ function avia_masonry_entries_query_mod( $query, $params ) { if(! is_page( [23, 8] ) ) { return $query; } $include = array(); $events = tribe_get_events( [ 'posts_per_page' => $query["posts_per_page"], 'start_date' => 'now', ] ); foreach($events as $event) { $include[] = $event->ID; } unset($query['tax_query']); $query['post__in'] = $include; return $query; } add_filter('avia_masonry_entries_query', 'avia_masonry_entries_query_mod', 10, 2);Make sure to include the ID of the page containing the masonry with events in the is_page conditional function above.
Best regards,
IsmaelHey JaimBateman,
Thank you for the inquiry.
Have you tried implementing the changes that we suggested in the previous thread?
// https://kriesi.at/support/topic/bug-in-enfold-for-woocommerce-prduct-images/#post-1363586
The enfold/config-woocommerce/config.php file has to be modified directly. This will set the thumbnail to the default woocommerce_thumbnail if the woocommerce_thumbnail_image_width option has been adjusted.
Best regards,
IsmaelHi,
We cannot reproduce #4. For the iconbox title, try to adjust the style of the H4 heading tag in the Enfold > Advanced Styling panel or use this css code.
h4 { font-size: 30px; line-height: 1.1em; margin-bottom: 4px; }To adjust the font size on mobile view or on smaller screens, add this css media query.
@media only screen and (max-width: 767px) { /* Add your Mobile Styles here */ h4 { font-size: 20px; line-height: 1.1em; margin-bottom: 4px; } }Please make sure to toggle or temporarily disable the Enfold > Performance > File Compression settings after adding the changes.
Best regards,
IsmaelHi,
We tried to access the site today but encountered a critical error. Please update us once the site is up and running again. For the meantime, try to switch the installation to debug mode and enable the error logs.
// https://wordpress.org/support/article/debugging-in-wordpress/#example-wp-config-php-for-debugging
Thank you for your patience.
Best regards,
IsmaelHey profumopuntoit,
Thank you for the inquiry.
The following code using the posts_orderby filter should work but only for the default search results page. It is not going to affect the AJAX search. You can add it in the functions.php file.
function avf_order_search_by_posttype($orderby){ if (!is_admin() && is_search()) : global $wpdb; $orderby = " CASE WHEN {$wpdb->prefix}posts.post_type = 'product' THEN '1' WHEN {$wpdb->prefix}posts.post_type = 'portfolio' THEN '2' WHEN {$wpdb->prefix}posts.post_type = 'post' THEN '3' ELSE {$wpdb->prefix}posts.post_type END ASC, {$wpdb->prefix}posts.post_title ASC"; endif; return $orderby; } add_filter('posts_orderby', 'avf_order_search_by_posttype');Please make sure to purge the cache before testing.
Best regards,
IsmaelHi,
Thank you for the info.
We saved the content of the home page as template and copied it to a private page. The layer slider is displaying correctly in the page. Please check the link in the private field.
Would you mind providing a screenshot of the issue? You can use imgur, savvyify or dropbox for the screenshot. Thanks.
Best regards,
IsmaelHi,
Thank you for the inquiry.
Have you tried applying margins to the iframe to adjust its horizontal position?
.flex_cell.av-with-video .flex_cell_inner .avia-video .avia-iframe-wrap iframe { position: absolute; top: 50%; left: 50%; width: 100%; height: 100%; transform: translate(-50%, -50%); margin-left: -50%; }Applying a -50% left margin to the iframe should pull it to the left.
Best regards,
IsmaelHey Samuel,
Thank you for the inquiry.
You can use this css code to apply round corners to the testimonial boxes.
.avia-testimonial-wrapper .avia-testimonial-row .avia-testimonial { border-radius: 5px; }You may need to toggle or temporarily disable the Enfold > Performance > File Compression settings after adding the css.
Best regards,
Ismael -
AuthorPosts
