Forum Replies Created
-
AuthorPosts
-
Hey langs24,
Thank you for the inquiry.
The icons are not displaying correctly because the site where it is loaded from or retrieved is different from the actual domain. Are you doing any redirection, or did you set WordPress to load from a different domain?
You may need to set a CORS policy to allow fonts or resource from a different domain.
// https://kriesi.at/documentation/enfold/icon/#icons-are-showing-as-rectangular-boxes-
Best regards,
IsmaelHey Marc,
Thank you for the inquiry.
We can use the avia_masonry_entries_query filter to adjust the query for the masonry element and increase the number of items or entries without having to adjust the element option or edit the files directly.
Example:
/** alter masonry query **/ function avia_masonry_entries_query_mod( $query ) { $query["posts_per_page"] = 200; return $query; } add_filter("avia_masonry_entries_query", "avia_masonry_entries_query_mod");Please note that the filter above will affect every masonry element in the site, so adding conditional functions or logic to limit it to certain pages or a specific masonry element may be necessary.
Best regards,
IsmaelHi,
Thank you for the info.
The tab section works well with static content or content with definite height. It has issues with element that dynamically changes on user interaction such as the masonry element and iframes loading content from external sources. To fix the issue with the pagination or the load more button, you may need to add this script in the functions.php file.
function ava_custom_script_tab_resize(){ ?> <script type="text/javascript"> (function() { $('.av-masonry-load-more').on('click', function() { setTimeout( function() { $(window).trigger('av-content-el-height-changed'); }, 1000); }); })(); </script> <?php } add_action('wp_footer', 'ava_custom_script_tab_resize');And for the iframe issue, this might be needed.
function ava_enqueue_custom_script_resize() { if ( wp_script_is( 'avia-default', 'registered' ) ) { wp_add_inline_script( 'avia-default', "(function($){ var int = window.setInterval(function(){ console.log('tick'); $(window).trigger('resize'); $(window).trigger('av-content-el-height-changed'); }, 2000); $(window).on('load', function() { setTimeout( function() { clearInterval(int); }, 1000 ); }); })(jQuery);" ); } } add_action( 'wp_enqueue_scripts', 'ava_enqueue_custom_script_resize', 9999);Best regards,
IsmaelHi,
Thank you for the inquiry.
You can use this css code to adjust the width of the checkout form and the order details.
@media only screen and (min-width: 768px) { .woocommerce-checkout { display: flex; justify-content: space-between; } .woocommerce-checkout #customer_details { overflow: visible; flex: 1 1 60%; margin-right: 4%; } .woocommerce-checkout #order_review_heading { position: absolute; left: 64%; } .woocommerce-checkout #order_review { flex: 1 3 34%; top: 54px; position: inherit; } }Best regards,
IsmaelHi,
Thank you for the info.
Would you mind posting the login details in the private field so that we could check the site properly? Please make sure that the Appearance > Editor panel is accessible.
Best regards,
IsmaelJune 29, 2021 at 8:46 am in reply to: Cookie Handling – Popup Window – (info only, paragraph text needs clearing) #1307880Hey Annemarie,
Thank you for the inquiry.
that you could clean up the next time you’re working on the cookie window content
What do you mean? Would you mind posting a screenshot of the issue so that we can understand it better? We checked the lines that you mentioned above but we did not find any unusual or missing markup.
Best regards,
IsmaelHi,
@EFESQU: Updating the theme to the latest version (4.8.3) should help. If not, try to revert jQuery to an older version by using the following plugin.
// https://wordpress.org/plugins/enable-jquery-migrate-helper/
Best regards,
IsmaelHey franziskaivens,
Thank you for the inquiry.
The menu is now set to an icon on both mobile and desktop view. Did you change the menu settings to prevent the menu from overlapping with the logo?
Best regards,
IsmaelHey rmieniawski,
Thank you for the inquiry.
The size of the featured image on post with sidebar is set to 845x321px by default. You can adjust it directly in the functions.php file (line 195).
$avia_config['imgSize']['entry_with_sidebar'] = array('width'=>845, 'height'=>321);Or by using the following plugin.
// https://wordpress.org/plugins/simple-image-sizes/
Best regards,
IsmaelHey jelle,
Thank you for the inquiry.
You should be able to add the title and description of the images directly in the Media > Library panel. Have you tried that? The lightbox relies on the title attribute, so placing the description of the image in the title attribute field should work.’
// https://codex.wordpress.org/Inserting_Media_into_Posts_and_Pages#Step_4_.E2.80.93_Attachment_Details
Best regards,
IsmaelHey creativeopole,
Thank you for the inquiry.
The layout that you see in the screenshot is actually the default template from the Woocommerce plugin . It is not from the theme. It can be adjusted by overriding the hooks or by editing the plugin’s template files directly. Please check the following documentation and article for more info.
// https://docs.woocommerce.com/document/template-structure/
// https://wpdevdesign.com/how-to-override-woocommerce-templates-using-a-custom-functionality-plugin/Best regards,
IsmaelHey nickname-superstar,
Thank you for the update.
Do you see the same errors in the logs? According to the log, the error is with the layer slider and the KM_UpdatesV3 class. Did you remove the layer slider from the Enfold > Layout Builder > Layerslider Options settings?
Best regards,
IsmaelJune 28, 2021 at 2:07 pm in reply to: Privacy & Cookies – Display Cookie Consent Messages for EU & California only #1307747Hey InnovGrp,
Thank you for the inquiry.
This should be possible but adding this kind of feature is beyond the scope of support. You can look at this library or extension to get the country of the client based on the IP address.
// https://www.php.net/manual/en/book.geoip.php
You can then edit the handler_wp_footer_cookie_consent_bar function in the enfold/includes/helper-privacy.php and set the conditions accordingly.
Best regards,
IsmaelHi,
The login token above is not working. Are you sure that it is still valid? Would you mind posting the admin account that you are using so that we can access the dashboard?
Examples of the solution that we described above can be found here.
// https://kriesi.at/support/topic/element-layout-in-mobile/#post-1193991
// https://kriesi.at/support/topic/flex-columns-on-2-51-51-51-5/#post-1299173
// https://kriesi.at/support/topic/sidebar-on-smartphone/#post-1262386Best regards,
IsmaelHey Mohamad,
Thank you for the inquiry.
Does it work correctly when you remove the loading=”lazy” attribute from the iframe element?
<iframe loading="lazy" src="https://w.soundcloud.com/player/?url=https%3A//api.soundcloud.com/playlists/2541798&color=%23ebce45&auto_play=false&hide_related=false&show_comments=true&show_user=true&show_reposts=false&show_teaser=true" width="100%" height="450" frameborder="no" scrolling="yes"></iframe>It is possible that the height of the tab section is not calculated properly because the iframe only loads when the tab title is clicked.
Best regards,
IsmaelHi,
We already modified the script directly in the parent theme. If you want to place it in the child theme, you have to unregister the original file and register it back with the new path in the child theme.
Example:
// https://kriesi.at/support/topic/tabs-select-on-hover/#post-1307497
// https://kriesi.at/support/topic/how-to-disable-google-maps-zoom-double-click-right-or-left/#post-1303702Best regards,
IsmaelJune 28, 2021 at 9:19 am in reply to: Yoast not adding page number to home pagination title #1307689Hi,
@Konstantin: We replied in the following thread. Please continue there.
// https://kriesi.at/support/topic/unique-title-and-description-on-pagination-pages/
Best regards,
IsmaelHi,
No problem. Please feel free to open another thread if you need anything else.
Have a nice day.
Best regards,
IsmaelHi,
Thank you for the update.
Try to add this code in the functions.php file to display the stock after the price.
add_action("woocommerce_single_product_summary", function() { global $product; echo wc_get_stock_html( $product ); // WPCS: XSS ok. }, 15);You may need to remove or hide the default “in stock” element using css.
Best regards,
IsmaelHi,
Thank you for the update.
That is possible but it is not recommended because a lot of the files are related and updating only one file could lead to errors or unexpected behavior. Please update the theme and create a child theme in future.
Best regards,
IsmaelHi,
Thank you for the info.
Try to replace the snippet or filter with the following code.
function avia_blog_post_query_mod($query, $params) { foreach($query['post_type'] as $key => $value) { if( $value == 'acf-field-group' ) { unset($query['post_type'][$key]); } } return $query; } add_filter('avia_masonry_entries_query', 'avia_blog_post_query_mod', 10, 2); add_filter('avia_blog_post_query', 'avia_blog_post_query_mod', 10, 2);Best regards,
IsmaelHi,
Are you referring to the main blog page? Did you set the blog page in the Enfold > Theme Options panel? The theme should automatically append the current page number to the title when the page is paginated.
Screenshot: https://postimg.cc/TLxNH33N/48a89310
Please provide a direct link to the page with the pagination so that we could check it.
Best regards,
IsmaelJune 28, 2021 at 8:15 am in reply to: Blogposts not indexed by search engines (but pages, portfolio and products are) #1307675Hi,
The posts are actually included in the sitemap. Did you try to resubmit the sitemap to the search engine? (see private field)
You may need to manually specify each sitemap in the robot.txt file instead of declaring the index file. Example:
Sitemap: https://e-commercemanagers.com/post-sitemap1.xml Sitemap: https://e-commercemanagers.com/post-sitemap2.xmlPlease note that this process could take a while, so you may have to wait if you have just recently added your sitemap.
Best regards,
IsmaelJune 28, 2021 at 8:04 am in reply to: Sub Menu Element – remove bullets and add own icon (mobile with toggle switch) #1307673Hi,
Thank you for the info.
To remove the borders and arrows, you can use this css code.
.responsive #top .av-menu-mobile-active .av-subnav-menu li { border: none; } .responsive #top .av-subnav-menu .avia-bullet { display: none; }However, in order to change the icon, you may need to modify the enfold/config-templatebuilder/avia-shortcodes/menu/menu.php file and add the svg element around line 624.
$mobile_button = $mobile == 'active' ? "<a href='#' class='mobile_menu_toggle' " . av_icon_string( 'mobile_menu' ) . "><span class='av-current-placeholder'>" . __( 'Menu', 'avia_framework' ) . '</span></a>' : ''; if( ! empty( $mobile_button ) && ! empty( $mobile_submenu ) && $mobile_submenu != 'disabled' ) { $submenu_hidden = 'av-submenu-hidden'; }You can change it via css but you have to register the genericons package or font files.
// https://wpsites.net/web-design/installing-genericons/
Best regards,
IsmaelHi,
Thank you for the info.
This is possible, but you have to use the get_adjacent_post function to get the next and previous posts, queried by date. Or enable the Enfold > Blog Layout > Single Post Navigation option, which is already using the get_adjacent_post function out of the box.
// https://developer.wordpress.org/reference/functions/get_adjacent_post/
// https://core.trac.wordpress.org/browser/tags/3.1.1/wp-includes/link-template.php#L1088The related posts section are already queried by date but it fetches all related posts from the top irregardless of the current post.
Best regards,
IsmaelJune 28, 2021 at 7:35 am in reply to: Menu item is not displayed on the home page + different video size in microsoft #1307668Hi,
We took a screenshot of the site again today, and as you can see, the menu item is displaying properly. The menu items in the footer and the socket are both displaying properly as well. We were not logged in when we checked the page.
Screenshot: https://imgur.com/yNAJoHd
Which browser are you using? We checked the site on Chrome.
Best regards,
IsmaelHi,
No problem. Please let us know when you find anything and feel free to open another thread if you have more questions. We will close this one for now.
Thank you for your patience. Have a nice day.
Best regards,
IsmaelHi,
Thank you for the update.
We just realized that the same code already exist in the file, so we removed the modification and edited the existing one. You can find it around line 817. The categories are now displaying above the post title.
Best regards,
IsmaelHi,
Where did you post the temporary login? We did not receive any replies from you after our last response above or when we asked you for the login token. Please note that you have to post the login token URL here in the forum. Did you send it to an email?
Best regards,
Ismael -
AuthorPosts
