Galerio
Forum Replies Created
-
Thanks, the right setting is on “Consent” settings page.
Great plugin and great supportForum: Plugins
In reply to: [WooCommerce] How to disable lightbox on Woocommerce 2.3?I think the problem is the theme. (mine is Enfold)
The solution is to disable the lightbox of woocommerce in functions.php theme file. So add this://DISABLE WOOCOMMERCE PRETTY PHOTO SCRIPTS add_action( 'wp_print_scripts', 'my_deregister_javascript', 100 ); function my_deregister_javascript() { wp_deregister_script( 'prettyPhoto' ); wp_deregister_script( 'prettyPhoto-init' ); } //DISABLE WOOCOMMERCE PRETTY PHOTO STYLE add_action( 'wp_print_styles', 'my_deregister_styles', 100 ); function my_deregister_styles() { wp_deregister_style( 'woocommerce_prettyPhoto_css' ); }
Forum: Plugins
In reply to: [WooCommerce] How to disable lightbox on Woocommerce 2.3?I’ll investigate it. I’m using a theme called Enfold that is updated and compatible with latest woocommerce. I’ll ask also to my theme support
Forum: Plugins
In reply to: [WooCommerce] How to disable lightbox on Woocommerce 2.3?Thanks, but this is the problem: I haven’t that option in that page!!! My woocommerce is the 2.3.3 version.
Forum: Plugins
In reply to: [Better Delete Revision] Does deleting revisions change database size?29000 revisions could take a lot of space, so I expect a reduction of database’s size. Try to refresh your database client or give some time to your hosting panel to update the info.
Deleting revisions is like to cut out pages from a book: it will be smaller!Forum: Plugins
In reply to: [Better Delete Revision] Posts/Pages disappeared after OptimizeHi,
the plugin doesn’t delete posts or pages. Can you give me more informations? About other plugins installed and used, type of posts and pages, server info.
Also the time out of the process is not common. Maybe something goes wrong on your server side. That’s why it’s good practice to do a backup before any intervention on databaseForum: Plugins
In reply to: [Better Delete Revision] WP Document RevisionsHi,
I’ don’t know WP Document Revisions plugin. I suppose that there could be a conflict due to the use of “revision” term by WP Document Revisions.
I will investigate further.
If you have a backup of your database, restore it.
If you don’t have it, I will search for a solution, but I need to make some tests to know the behaviour of WP Document Revisions.Forum: Plugins
In reply to: [Better Delete Revision] This plugin adds an odd menu item: BWL Pluginsit was a sort of AD inserted by one of the developers without my permission. Anyway, the code is clean, no malicious code was found, so even if you installed that version, it was safe.
This event will never happen again.Forum: Plugins
In reply to: [Better Delete Revision] This plugin adds an odd menu item: BWL PluginsDone. The menu has been removed and the developer responsible banned.
I’ve checked the whole code, it’s secure.Forum: Plugins
In reply to: BWL Plugins / BestWebLayoutit’s a sort of AD and it has been removed now. And the developer responsible, banned.
The whole code was checked and it’s secure.
Forum: Plugins
In reply to: [Better Delete Revision] This plugin adds an odd menu item: BWL Pluginsyep, I’m very sorry about it. One of my contributors did it but I’ve seen it just now.
I’ll remove it ASAP.
Again,
sorry.Forum: Plugins
In reply to: [W3 Total Cache] Auto empty cache when adding new Woocommerce productsnop, not yet
Forum: Plugins
In reply to: [WooCommerce] Separate categories and products with a line of Title(to reproduce that page, add some products and categories to woocommerce, then in woocommerce settings->products choose “Show Both” for “Shop Page Display” and for “Default Category Display”)
I have found my little dirty solution, but it breaks something in the page styling and it is not well formatted.
The original resulting html that woocommerce produces is like this:
<ul class="products"> <li class="product-category product first">category title</li> <li class="product-category product">category title</li> <li class="product-category product">category title</li> <li class="product-category product">category title</li> <li class="post-2882 product type-product status-publish has-post-thumbnail last shipping-taxable purchasable product-type-simple instock">product title</li> <li class="post-2942 product type-product status-publish has-post-thumbnail first shipping-taxable purchasable product-type-simple product-cat-due product-cat-sotto instock">product title</li> <li class="post-2943 product type-product status-publish has-post-thumbnail shipping-taxable purchasable product-type-simple product-cat-due instock">product title</li> <li class="post-2944 product type-product status-publish has-post-thumbnail shipping-taxable purchasable product-type-simple product-cat-due product-cat-quattro product-cat-tre product-cat-uno instock">product title</li> </ul>
As you can see, everything is wrapped between ul!
So I have edited the file woocommerce/includes/wc-template-functions.php and where is the code:
if ( $product_categories ) { foreach ( $product_categories as $category ) { if ( $category->parent != $parent_id ) { continue; } if ( $args['hide_empty'] && $category->count == 0 ) { continue; } if ( ! $product_category_found ) { // We found a category $product_category_found = true; echo $before; } wc_get_template( 'content-product_cat.php', array( 'category' => $category ) ); } }
I have added two lines (one after the first “echo” and one at the end):
if ( $product_categories ) { foreach ( $product_categories as $category ) { if ( $category->parent != $parent_id ) { continue; } if ( $args['hide_empty'] && $category->count == 0 ) { continue; } if ( ! $product_category_found ) { // We found a category $product_category_found = true; echo $before; echo '<h1>Categories</h1>'; } wc_get_template( 'content-product_cat.php', array( 'category' => $category ) ); } } echo '</ul><hr><h1>Products</h1><ul class="products">';
In this way I can have a title before categories and before products with a line break that separates them. But the resulting html is not properly formatted because it results:
<ul class="products"> <h1>Categories</h1> <li class="product-category product first">category title</li> <li class="product-category product">category title</li> <li class="product-category product">category title</li> <li class="product-category product">category title</li> </ul> <hr> <h1>Prodotti</h1> <ul class="products"> <li class="post-2882 product type-product status-publish has-post-thumbnail last shipping-taxable purchasable product-type-simple instock">product title</li> <li class="post-2942 product type-product status-publish has-post-thumbnail first shipping-taxable purchasable product-type-simple product-cat-due product-cat-sotto instock">product title</li> <li class="post-2943 product type-product status-publish has-post-thumbnail shipping-taxable purchasable product-type-simple product-cat-due instock">product title</li> <li class="post-2944 product type-product status-publish has-post-thumbnail shipping-taxable purchasable product-type-simple product-cat-due product-cat-quattro product-cat-tre product-cat-uno instock">product title</li> </ul>
Where h1 tag is inside ul tag! Besides when the page hasn’t categories to show, the html results like this:
<ul class="products"> </ul> <hr> <h1>Prodotucts</h1> <ul class="products"> <li class="post-2944 product type-product status-publish has-post-thumbnail first shipping-taxable purchasable product-type-simple product-cat-due product-cat-quattro product-cat-tre product-cat-uno instock">product title</li>
And then every time I update woocommerce plugin I have to modify the file.
Any suggestion?
Forum: Plugins
In reply to: [WooCommerce] Separate categories and products with a line of TitleNo one can help me?
Look at this page: https://goo.gl/5puJgp There are 4 categories and immediatly after there are products. It’s not clear at first sight wich are categories and wich are products. There isn’t any break between them!
So, what can I do?
Thanks, indeed that Class is automatically added by a plugin. I will write a review on you plugin, I really love it