- This topic has 9 replies, 2 voices, and was last updated 3 months, 1 week ago by
Tahasin.
Hi all,
Actually when you use the search bar with the shortcodes [wpdm_category] it show results from all the other categories, it is a normal behavior?
It would be possible to limit the search only in the same category of the search bar shortcode?
I hope I have been clear…
Thank you for any help, any ideas and contributions.
MP
Hello,
I hope this message finds you well and thanks for reaching out.
Are you trying to display a specific category (using the wpdm_category shortcode), or would you like to show a fixed number of downloads from all categories, for example, 5 downloads from Category A and 5 from Category B?
Please let me know.
Regards
Thanks, yes I’m displaying some specific categories with the shortcode.
I already managed to remove the search bar with toolbar=”no” option, as I don’t wanna that the search output results also for other file categories.
I put the search shortcode, so there is only one search point that output all files, this can be an acceptable solution, if the search can’t be limited in the category shortcode.
MP
Glad to hear that you’ve found the solution! If you have any further questions, feel free to ask.
Best regards,
Thanks, this is “a solution” not “the solution”
1. So, is confirmed that isn’t possible to limit search to a specific / single category?
2. Is this the normal behavior of the search function?
If yes, I would suggest to change this function: when the search is done inside the category (or tag or other) shortcode it would be better to output just the results of the specific shortcode settings.
Have a good weekend
MP
You can display packages from a specific category.
For example, suppose you have three categories, A, B,C and you only want to display the packages from Category B.
You can use the following shortcode:
[wpdm_category id="b" operator="IN" title="Custom Title Here or 1" desc="Custom Description or 1" toolbar="1" paging="1" orderby="field name" order="asc or desc" items_per_page="10" template="Template ID" cols=4 colspad=2 colsphone=1 async=1]
This shortcode will display only the downloads/packages that belong to Category B.
Are you an IA assistant or what?!?
This is obvious and absolutely NOT RELEVANT to this thread…
I’m extremely sorry for the misunderstanding.
Just to confirm, are you saying that the search inside the [wpdm_category] shortcode ignores the category filter and displays results from all categories?
Please let me know if I’ve understood this correctly. I really appreciate your support and patience.
Regards
Exactly, this is the problem for me.
I only would like to understand if it’s a bug or not.
I’m using 3 shortcodes for single category in the same web page, and when you search you obtain results outside the category, this is non-sense for me.
You must be logged in to reply to this topic.