Forum Replies Created
-
AuthorPosts
-
November 20, 2020 at 4:05 pm in reply to: Enfold + WooCommerce Rental Products Compatibility Issue #1261811
Hi,
Thank you for the info.
The date picker was not displaying because of a script error, which was caused by an option in the theme that loads jQuery in the footer. We disabled that option temporarily and this allows the date picker to show in the product page but it is not yet working correctly — the date items or buttons are not visible. You might have to ask the plugin authors to inspect the element so that they could see what is going on with the date picker element.
Best regards,
IsmaelNovember 20, 2020 at 3:52 pm in reply to: portfolio pagination not working – portfolio entries #1261807Hi,
We still do not know why the pagination is not working correctly, but we found out that the paged and page parameter is always set to 0, so the next set of posts are never retrieved from the database. Unfortunately, we are not sure why this is the case. Does it work correctly when WPML is disabled, or when the portfolio category base is set back to the default “portfolio_entries” instead of “p_entries”? Would you mind if we deactivate the plugins temporarily?
The notice in the front page is nothing critical or is not something that should cause errors in the site. Please keep the WP_DEBUG_DISPLAY to false for now to prevent the notice from appearing in the page.
Best regards,
IsmaelHi,
Thank you for the update.
We do not recommend showing fixed elements on mobile view because the screen or space is quite limited, so sticky elements tend to be more of a distraction than help on these devices. Making it stick on scroll will require custom scripts or additional use of third party plugin such as the following.
// https://wordpress.org/plugins/sticky-menu-or-anything-on-scroll/
Best regards,
IsmaelHi,
The add to cart button also relies on the data-quantity attribute, but the value of this attribute does not change and does not respond to the quantity adjustment, so it is always set to 1. Please ask the script authors if they could adjust the script so that the value of the data-quantity attribute changes in response to the adjustment in the quantity input. The quantity field or input and the data-quantity attribute should have the same value.
// For AJAX add-to-cart actions add_to_cart_button.data(“quantity”, $(this).val());Thank you for your patience.
Best regards,
IsmaelHi,
Thank you for the update.
Looks like the theme overrides the default product image size for the widget. Please try to add this code in the functions.php file instead to disable the function that overrides the image size.
add_filter('avf_wc_widget_product_image_size_ignore', '__return_true', 10, 2 );Or this filter to use a different thumbnail instead of the default “widget”.
add_filter('avf_wc_widget_product_image_size', function( $thumbnail, $product, $size, $attr, $placeholder ) { $thumbnail = 'portfolio'; return $thumbnail; }, 10, 5);Best regards,
IsmaelHi,
Thank you for the update.
The css code above should have disabled the overlay completely or prevent it from displaying. Please post the login details in the private field so that we could check the issue properly. For the meantime, please check the css modification and make sure that there are no syntax errors such as missing curly braces or semi colons.
Best regards,
IsmaelNovember 19, 2020 at 8:23 am in reply to: Extended Layer Slider dont show „next-preview“ functions #1261474Hi,
Glad to know that it is working. To limit the post navigation to certain pages, we could use the is_page or any conditional function necessary. Please check the documentation for more info about the function.
// https://developer.wordpress.org/reference/functions/is_page/
Best regards,
IsmaelNovember 19, 2020 at 8:19 am in reply to: Using Wholesale Order Plugin – Add to Cart Not Displaying Properly #1261473Hi,
Thank you for the info.
We can now see the issue and it is probably not working as it should because the plugin modifies the markup of the product items, removing the class name or container woocommerce-loop-product__title which is where the cart script gets the product title.
This is the new markup from the plugin.
<td class="product_title_col"> <span class="mobile-label">Product</span> <a class="product_link" href="https://site.com/product/amazin-raisin-sunflower-seeds-trail-mix-snack-variety-2-3-ounce-bulk-bags-125pk-case/"><img src="https://amazingfruitproducts.com/wp-content/uploads/2018/10/amazin-raisin-sunflower-seeds-orange-and-strawberry-80x80.png" class="wwof_product_listing_item_thumbnail" alt="Amazin' Raisin + Sunflower Seeds Trail Mix Snack Variety 2.3-ounce Bulk Bags 70pk Case" srcset="VALUE" sizes="(max-width: 48px) 100vw, 48px" width="48" height="48"></a> <a class="product_link" href="https://site.com/product/amazin-raisin-sunflower-seeds-trail-mix-snack-variety-2-3-ounce-bulk-bags-125pk-case/">Amazin' Raisin + Sunflower Seeds Trail Mix Snack Variety 2.3-ounce Bulk Bags 70pk Case</a></td>You might have to ask the plugin author to apply the default class attribute for the title to the title markup above.
Best regards,
IsmaelHi,
Thank you for the update.
The anchors are working properly when we checked the site. The page scrolls and lands to the corresponding section after clicking one of the menu items containing an anchor. Please try to do a hard refresh, remove the cache or check the site on incognito mode.
Best regards,
IsmaelHi,
Did you upload the original image again or regenerate the images after the thumbnail registration?
This is probably not working as it should because the new thumbnails’ x_crop_position or the first value in the array is invalid. The valid values are ‘left’ ‘center’, or ‘right’.
$sizes['divide_img_top_center'] = array( 'width' => 1920, 'height' => 500, array('top','center') ); $sizes['divide_img_center_center'] = array( 'width' => 1920, 'height' => 500, array('center','center') ); $sizes['divide_img_bottom_center'] = array( 'width' => 1920, 'height' => 500, array('bottom','center') );So top-center and bottom-center is not correct, and should be center-top and center-bottom.
Best regards,
IsmaelHi,
Thank you for the info.https://kriesi.at/support/topic/the-grid-with-products-does-not-work-pagination/#post-1254673
@Blatze: For some reason, the framework > php > function-set-avia-frontend.php file contains an old version of the avia_extended_pagination_link function, so we updated it. The function should remove the query arguments for the first page.
@easyname: Here is a copy of the said file if you would like to test it.bin: https://pastebin.com/huUJ1Psj
pw: paginationBest regards,
IsmaelHi,
Thank you for the update.
We may have to add the post ID to the get_field function so that it returns the actual year from each post. Please look for the line where we defined the $year variable and replace it with the following code.
$year = get_field ("Date", $entry->ID);// https://www.advancedcustomfields.com/resources/get_field/
Best regards,
IsmaelHey tdutkowski,
Thank you for the inquiry.
Would you like to hide the add to cart button and only display it on hover? That should be possible but we have to see the page containing the products first so that we could provide the appropriate modifications. Please post the site or page details in the private field.
Best regards,
IsmaelHi,
Thank you for the update.
Yes, the snippet above should do it but using css to hide the heading is probably a much better and more simple solution. Please try this css code in the Quick CSS field.
#order_payment_heading { display: none !important; }Best regards,
IsmaelHey cybertheleo,
Thank you for the inquiry.
Yes, this should be possible but the free version of the plugin does not have a filter option by default. You will not be able to filter events based on the available info such as the location of the event or its type, at least not without installing a paid extension or add on. Please check the link below for more info about the extension.
// https://theeventscalendar.com/products/wordpress-calendar-filter-bar/
Best regards,
IsmaelHey pixel-hustler,
Thank you for the inquiry.
We will ask Victoria to check the thread again so that she could provide the previous changes or modifications that were done in the previous thread. Please wait for her response.
Best regards,
IsmaelNovember 19, 2020 at 4:27 am in reply to: Woocommerce webp preview doesn´t work on product detail page #1261439Hi,
Thank you for the update.
The default lightbox script in the theme does not support webp images by default, or it does not autolink images with webp format. This is the list of lightbox’s supported image, video and link formats.
autolinkElements: 'a.lightbox, a[rel^="prettyPhoto"], a[rel^="lightbox"], a[href$=jpg], a[href$=png], a[href$=gif], a[href$=jpeg], a[href*=".jpg?"], a[href*=".png?"], a[href*=".gif?"], a[href*=".jpeg?"], a[href$=".mov"] , a[href$=".swf"] , a:regex(href, .vimeo\.com/[0-9]) , a[href*="youtube.com/watch"] , a[href*="screenr.com"], a[href*="iframe=true"]',Not really sure if this is going to work but we could try and add the webp format to the list above. Please edit the enfold\js\avia-snippet-lightbox.js file and look for the same code above around line 209, and replace it with:
autolinkElements: 'a.lightbox, a[href$=webp], a[rel^="prettyPhoto"], a[rel^="lightbox"], a[href$=jpg], a[href$=png], a[href$=gif], a[href$=jpeg], a[href*=".jpg?"], a[href*=".png?"], a[href*=".gif?"], a[href*=".jpeg?"], a[href$=".mov"] , a[href$=".swf"] , a:regex(href, .vimeo\.com/[0-9]) , a[href*="youtube.com/watch"] , a[href*="screenr.com"], a[href*="iframe=true"]',We just added the webp format in the list so that script will be able to recognize images with the said format and apply a lightbox link to it automatically.
Best regards,
IsmaelHi,
Thank you for the update.
We enabled the line or function z_taxonomy_image in the archive.php file again, applied an image to one of the post categories and it worked as expected. The category image is displaying above the posts. Please check the page of the category “On Demand” in the private field.
Where did you see the service unavailable error?
Best regards,
IsmaelNovember 19, 2020 at 3:51 am in reply to: WooCommerce variable item not showing price and can't select variables #1261428Hey HeroChris,
Thank you for the inquiry.
Did you install an extension to hide the default variation dropdown? I do not have a Safari browser because I am on a Windows machine, but I am able to reproduce the issue on IE11. It seems like the variation button is locked to the first option (250g). Have you tried asking the plugin authors about the issue?
I will ask the team to check the thread so that they could actually inspect the issue on Safari. Please wait for their response.
Best regards,
IsmaelHey Jason,
Thank you for the inquiry.
The full width submenu is supposed to be static on mobile view by default or it should not stick when viewing on smaller screens.
Did you add this css code?
.responsive #top #trip-page-sub-menu { top: 20px !important; position: fixed !important; }This makes the submenu sticky on mobile view but this is always in effect unlike the normal behavior where it only sticks when it touches the top edge of the browser view port.
Best regards,
IsmaelNovember 18, 2020 at 12:02 pm in reply to: Enfold Slide-Show (volle Breite) vertikale Zentrierung #1261240Hi,
Sorry for the delay. We could use the following css code to pull the image upwards and align it vertically to the center of the slider area.
.av_slideshow_full li img { margin-top: -140px; }Please do not forget to toggle or temporarily disable the Performance > File Compression settings after adding the css code.
Best regards,
IsmaelHi,
Thank you for the update.
Looks like the logo appears earlier than expected and the top margin of the header breaks the default layout of the page. To make sure that the logo does not appear unexpectedly and to remove the excess margin above the header, we could use this css code.
@media only screen and (min-width: 989px) and (max-width: 1024px) { #header.av_header_transparency { margin-top: 0 !important; height: 0px; } .logo { display: none !important; } }Best regards,
IsmaelHey Thomas,
Thank you for the inquiry.
According to the Google documentation, we could use the data-nosnippet attribute to specify that a certain content should not be used as part of the page snippet or description.
// https://developers.google.com/search/reference/robots_meta_tag#data-nosnippet-attr
We will forward the info to our channel for further consideration and hopefully this will be added in the next patch.
Best regards,
IsmaelNovember 18, 2020 at 11:21 am in reply to: Restrict Slideshow Accordion to Custom Post Type #1261233Hey cwinkens,
Thank you for the inquiry.
It is probably not working because the taxonomy query overrides the post_type parameter. To fix it, try to unset the taxonomy query when the post_type parameter is set in the query_entries function of the aviaaccordion class. Also, make sure that post_type is actually available as an attribute.
The query can be found around line 1200 and the post_type check can be done above that line.
$query = array( 'orderby' => $orderby, 'order' => $order, 'paged' => $page, 'post_type' => $params['post_type'], // 'post_status' => 'publish', 'offset' => $params['offset'], 'posts_per_page' => $params['items'], 'post__not_in' => ( ! empty( $no_duplicates ) ) ? $avia_config['posts_on_current_page'] : array(), 'meta_query' => $meta_query, 'tax_query' => $tax_query, 'date_query' => $date_query, );Best regards,
IsmaelHi,
Thank you for the update.
It might not be working because in the woocommerce_quantity_input function, the $product is null or it is using the global product variable. Try to return the current $product as the second parameter in the function, and set the max_value to -1 when back orders are allowed.
// http://hookr.io/functions/woocommerce_quantity_input/
Please look for this code..
woocommerce_quantity_input( array( 'min_value' => 1, 'max_value' => $product->backorders_allowed() ? '' : $product->get_stock_quantity() ) );.., then replace it with:
woocommerce_quantity_input( array( 'min_value' => 1, 'max_value' => $product->backorders_allowed() ? -1 : $product->get_stock_quantity() ), $product );Where did you get the snippet above?
Best regards,
IsmaelHi,
, display the lightbox window 80% of the screenheight,
That should be possible using a custom css code. Please add the following in the Quick CSS field, and do not forget to toggle the Performance > File Compression settings afterwards.
@media only screen and (max-width: 767px) { img.mfp-img { max-height: 80vh !important; } }Best regards,
IsmaelNovember 17, 2020 at 3:22 pm in reply to: portfolio pagination not working – portfolio entries #1261024Hi,
Thank you for the update.
The pagination is not working because the theme is using the default or global query for the portfolio category pages without the custom pagination query. We will report the issue to our channel for further inspection. We will let you know once we found a proper fix.
Best regards,
IsmaelHi,
Thank you for the update.
the custom cookie PHPSESSIDDisabled will be true
Is it set as true in the local storage, or only in the modal popup window where it is toggled as active instead of grayed out or disabled?
Why do you have to create a custom toggle for the PHPSESSID when by default it should always be allowed? Instead of creating a toggle, just remove the custom cookie from the theme options and just indicate in the modal popup window or in your privacy section that the site has to store PHP session cookies to make sure that certain features work.
Best regards,
IsmaelHi,
Thank you for the screenshots.
Yes, it is quite weird. What happens when you adjust the width of the landscape images from 600px to 605px or wider? Adjusting the width should also affect the height of the images as it maintains the aspect ratio.
Best regards,
IsmaelHi,
Thank you for the update.
We removed the enfold-backgr class name from the text block and moved it to the parent column container, then use this css code to pull the text block section to the right so that it is on top of the background image.
.responsive #top .enfold-backgr { position: relative; z-index: 100; } .responsive #top .enfold-backgr .av_textblock_section { right: -100px; position: relative; background-color: #f7f7f7; border-style: solid; border-width: 0px 0px 0px 3px; border-color: #97c000; box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.22); padding: 5% 5%; }Best regards,
Ismael -
AuthorPosts
