is it possible to display or hide the pickup date for a specific category in the cart or payment page? In case it was difficult I can try to arrange that with a function but I don’t know which hook I should use.
]]>best thing is, it’s super easy to use.
thank you
]]>thanks for this Plugin – it works as it should.
But we need to “filter” the list.
We have separated custom Blocks on our Frontpage.
Each Block lists 5 recent Posts from a specific Category.
How can we show the author list, depending on the Blocks Category?
We can output the ID or the slug or the title.
We have it in the Templatefile through “do_shortcode”…
<?php echo do_shortcode(‘[authors_list exclude=”7,6,14,36,35,18,20,16,15,12,17”]’); ?>
Thanks for your Help!
Best Mikkel
I would like to show the post date only for the ‘nieuws’ category on my website (on both the thumbnail and the post itself). I hid the meta data (date & category title) with these code snippets:
.post__meta {
margin: 15px 0 0 0;
font-size: 0.875em;
display: none;
}
.lsvr-pressville-post-grid__post.has-post-thumbnail .lsvr-pressville-post-grid__post-meta {
color: #FFF;
display: none;
}`
But I don’t know how to exclude the ‘nieuws’ category from hiding the date (I would like to keep hiding the category name for all posts).
Hope someone can help!
]]>Can You Please Help Me
“Not Able to Generate Taxonomy wise Table in MySQL-query-based for WordPress data”
]]>2. add_action( ‘woocommerce_after_shop_loop_item_title’, ‘hide_loop_product_prices’, 1 );
function hide_loop_product_prices(){
global $product;
if( is_product_category(‘appliances’) || has_term( ‘appliances’, ‘product_cat’, $product->get_id() ) ){
// Hide add-to-cart button
remove_action(‘woocommerce_after_shop_loop_item’,’woocommerce_template_loop_add_to_cart’, 30 );
}
else
{
add_action( ‘woocommerce_after_shop_loop_item’, ‘woocommerce_template_loop_add_to_cart’, 30 );
add_action(‘woocommerce_after_shop_loop_item_title’, ‘woocommerce_template_loop_price’, 30 );
}
}
3. add_action( ‘woocommerce_after_shop_loop_item’, ‘remove_add_to_cart_buttons’, 1 );
function remove_add_to_cart_buttons() {
if( has_term( array(‘appliances’,’home-appliances’,’refrigerators’)) || is_shop()) {
remove_action( ‘woocommerce_after_shop_loop_item’, ‘woocommerce_template_loop_add_to_cart’);
}
}
but still showing add-to-cart buttons in shop/related page. I’ve placed the codes in function.php using my Astra child theme.. Any help really appreciated. Thank you in advance!
]]>Despite my research on that subject, I can’t find a way to make an Advanced Woo Search bar reserved to a specific product category. Did I miss something ?
]]>