Forum Replies Created
-
AuthorPosts
-
Thanks
I guess I don't have any other choice besides waiting :p good luck and thanks.
Nwm, I have found another topic.
So when you are going to publish the next update to disable masonry ?Ok, I removed the same code from header.php and put it in .../loop/wishlist.php
It looks working without a problem, thank you!
I added this code;
?><style><?php
if(! is_user_logged_in() ) : ?>
.yith-wcwl-add-to-wishlist{
display:none !important;
}
<?php endif; ?>
</style>
right before <?php wp_head(); ?> in header.php
It works how I wanted to but would it be a problem for updates? It it would where should I put this code?
This is for wishlist icon, I need that for "add to wishlist" button (.yith-wcwl-add-to-wishlist).
I am not going to use wishlist icon at all instead I added a (wishlist)link on user panel for logged-in users.
I tried that too but when it caches the page, icon count doesn't work it shows the cached icon not updated icon so I decided to follow different path, maybe you guys can help me with that.
FYI, it doesn't work on your demo either. You can test it like how I did, clear all your cache and go to blog page (http://demo.yolotheme.com/sofani/blog-3-columns/) then go to shop and add a product to your wishlist, your wishlist icon will increase 1. Now go back to your blog page and voila your wishlist icon shows zero items in your wishlist.
If we go back to what am I trying to do is, I would like to show add wishlist icon only to logged in users. (I know yith has a paid version for it but I believe I can do display:inline-block thing without paying) I tried to display: none; on wishlist button's ID with using is_user_logged_in() function, it worked on button but it broke the "add cart button" :/
Do you know where should I put that code? (I wrote it on functions.php then deleted it cause of the cart button problem)
Ok, I enabled and again it doesn't work. wishlist/* doesn't effect on anything. When I add the item to the wishlist and navigate to other page, wishlist icon shows "0".
Thanks for looking into it, right now page cache is not enabled that is why it is working now. Did you get a chance to test while page caching enabled? It was not working while page cache enabled.
I am still having the same problem on IE with w3 total cache. Could you recommend me what caching plugin should I use with your theme?
Ok I deleted wp super cache and installed w3 total cache, but now my site is super slow than before even gzip is enabled.
This reply has been marked as private.This reply has been marked as private.FYI, this helped me a lot; https://www.giftofspeed.com/enable-gzip-compression/
PS; do not forget to update .htaccess
My site is keep getting low scores on speed tests too. I optimized images, but on the reports it keeps saying I should use minified js and css. Could you help me with that
-
AuthorPosts
