pettrushkov
Forum Replies Created
-
Forum: Plugins
In reply to: [YITH WooCommerce Wishlist] WIshlist buttons not work on lazyloadingI disabled AJAX-query for wishlist btn in products and all works fine.
Forum: Plugins
In reply to: [WooCommerce] Featured products should be at top of posts listI found solution for my problem (orderby featured product and after them by date)
Use “featured_products” as ‘orderby’ value
// Add custom orderby by featured products and other by date - 'featured_products' function featured_products_orderby( $orderby, $query ) { global $wpdb; if ( 'featured_products' == $query->get( 'orderby' ) ) { $featured_product_ids = (array) wc_get_featured_product_ids(); if ( count( $featured_product_ids ) ) { $string_of_ids = '(' . implode( ',', $featured_product_ids ) . ')'; $orderby = "( {$wpdb->posts}.ID IN {$string_of_ids}) " . $query->get( 'order' )." , post_date DESC"; } } return $orderby; } add_filter( 'posts_orderby', 'featured_products_orderby', 10, 2 );Forum: Plugins
In reply to: [Contact Form 7] Contact form showing multiple same validation error message@dreamholders any ideas about fix it not temporarly? Because I have same problem now 😀
Forum: Plugins
In reply to: [Contact Form 7 - Post Fields] Custom placeholder for drop-down with postsHi!
Can u share example pls? Can’t find anything in google with this filter
Thanks
Forum: Plugins
In reply to: [MapGeo - Interactive Geo Maps] Popup (tooltip) sizeHi @carlosmoreirapt
Yes, I made line-breaks in source code and it work correct.
But I have new question – I have big line-height with line breakers, can I change it? Rules like .contact__map * { line-height: 1; } – don’t workForum: Plugins
In reply to: [MapGeo - Interactive Geo Maps] Popup (tooltip) sizeThis code not resolve problem – it was ignored.. I tried something similar earlier. https://take.ms/NFeo3
Adding line breaks to tooltip also failed https://take.ms/SA4ERForum: Plugins
In reply to: [MapGeo - Interactive Geo Maps] Popup (tooltip) sizeHi @carlosmoreirapt
Thanks for answer, i tried to remove image from tooltip, but width remained the same (local) – https://take.ms/XBbhn. Page url to view (width image) – http://suweidi.markupus.tech/contact/