Digital experiences for all disciplines
Forum Replies Created
-
Posted in: We hit Power Elite.
-
I don’t know how you have done to add the code 🙂
But it looks like only the first tag id is hidden (animaux)I’ve just tried this code and it has made all my website crash down twice. I had to go in my ftp to remove the code in order to access the shop again, so I’m sorry but I will not try again.
Thanks for your help, I’ll find an other solution to do what I wanted.
Okay it’s done 🙂
Yes it’s normal, I’ve removed it until I can fix this problem and show only the tags I want…
I don’t want my clients to see all the tags.The screenshot was taken this morning before I removed it
Yes of course :
function custom_woocommerce_tag_cloud_widget($cat_args) {
$cat_args[‘exclude’] = array(‘670, 677, 676, 667, 671, 675, 673, 678’); //just insert the comma separated category ids.return $cat_args;
}
add_filter( ‘woocommerce_product_tag_cloud_widget_args’, ‘custom_woocommerce_tag_cloud_widget’ );Hi Mohammad,
I’m sorry but I’ve trying again, I saw the geek tag id you addedd, I remove it to add the ones I wanted, and the tags still appear in the sidebar. I’ve attached you a screenshot where you can see in the sidebar the “animaux” and “déco” tag, which I would like to remove and who’s ids are in the function.php file.
Thanks for your help 🙂Attachments:
You must be logged in to view attached files.Hi Mohammad,
Thanks a lot for your help, but I’ve just tried to insert the code you gave me in the function.php file of my child theme (with the tags ids), it doesn’t seems to work…Hi,
I’m sorry but no, I gave up for now.
But if you find a solution let me know !I’m not talking about product categories but product tags.
I’ve found the product tag ID but is your code still working since I’m not trying to remove some categories but some tags ?Ok thanks I’ll try that !
Where can I find the product tag id ? (I see that you talk about category, but I’m talking about product tag, don’t know if the code is the good one then ?)Thanks
This reply has been marked as private.Yes it’s perfect ! thanks a lot
Yes it works !! Thanks a lot 🙂
Hi Mohammad,
Thanks for that code, but this is not what I was talking about (pics attached)
With this code, the text on overlay has a shadow, I would like to add like a white veil to the product image.
Is this possible ?Thanks in advance
Attachments:
You must be logged in to view attached files.Hi,
The css code you gave me earlier works (thanks by the way), now I have that :
#style1 {
float:left;
}
.products.multi-masonry-items .product .shop-actions .price-link{
opacity:0;
}
.products.multi-masonry-items .product:hover .shop-actions .price-link{
opacity:1 !important;
}And my problem is that when the product image is too dark or too light, we can’t see really read text on hover, would you know how I can add an opacity to the product’s picture on hover (white for example) ? Screenshot attached so you can see what I’m talking about (product on the right)
Thanks in advance,
Attachments:
You must be logged in to view attached files. -
Posted in: We hit Power Elite.