Hi there,
how are you? I have this new questions... :-)
Is it possible to set a limit to the tags that the tags widget show on the sidebar?
I've set a widget called Brands (as in your site) but as I will have many brands they are too much. Is that possible and is it possible to set them on random?
Regards
Gab
Comments
This should help you http://mekshq.com/limit-number-of-tags-in-wordpress-tag-cloud-widget/
With kind regards.
Thanks
:-)
can I ask you if is it possible to tell to this code to display the tags in random mode? It's displaying me always the same tags..
Thanks million...
I thought it would be easy, but it is not. Rather you will need some different, or modified widget for this. Sorry.
With kind regards.
How are you? Listen I've talking with Woothemes about the fuction WC Products Tags and they gave me this function to have them in random way.. The problem with this function is that the 10 tags displaied are all the same all the time and I have something like 50 tags to be displaied in random way.
They told me that is not their business to change codes.
So my question is: are you able to change this code in the way that the fuction will look at all the tags and show only 15 of them in the pages?
Obviously I will pay you for this service if you can tell me that you can do that.
Let me know.
Regards
Gabriele
I have checked, and wordpress forces tags to display in order of how many times there were used.
To change it, you will have to either create special widget for this or modify wordpress source code.
Mainly file wordpress\wp-includes\category-template.php line ~621 , change to Writing own widget, that will not use standard wordpress code for tag cloud, should be proper solution, but I won't do this for you, sorry.
However with all that information, someone should easily do that for you if he/she knows WP :-)
With kind regards.
I saw that line and I changed it to RAND, but I dind't know it would have displayed the most viewed.
I also upload last week another plugin and guess ... it broken many website links and I had to installed again all the website...
I was lucky I had the products bakcup..
Anyway... thanks
With kind regards.
The plugin was Ultimate Tag Cloud..
It has broken some links in woocommerce and categories and bla bla bla
I am sure this change works, as I tested it before posting. I tested it on Woocommerce product tags widget.
With kind regards.