@jasghar the container class can be changed using the shortcode parameter: wrapper_class
:
[mwtsa_display_latest_searches unit="month" count="10" only_with_results="false" wrapper_class="some-class"]
Regarding the other request, I will prepare another gist for you to make it work now and then I have to put together another update since I believe there will be many users asking for this.
The thing is that it can be done easily by pulling all the searches from the database and then filtering them in PHP to only get the unique values but that can cause performance issues on the long run. So, I came up with a SQL only solution for this which will definitely perform very well even when you’ll supposedly have 100k+ searches saved in the database.
I will keep you posted later today.
In the meantime, if you like my plugin and if it helps, please write a review. That will keep me motivated to improve it and will also help others find it.
Thanks!
Cornel
Hi @jasghar ,
I have just released V1.4.3 . Updating to this version should fix the issue with the duplicates without you having to make any other change to the code.
Let me know how that went.
Thanks!
@cornelraiu-1 I’m stunned. don’t know how to say thanks to you. you’re a legit man. and this plugin too. now getting the results as I want them to be. Thanks for the support, this awesome plugin and your help dear
Hi @jasghar ,
I am glad you’ve finally got them working as you need them to.
You may say thank by writing a review for my plugin 🙂
Glad I could help.
If you have any other ideas, please open a new support ticket.
I will close this one as resolved now.
Have a great day!
Cornel