It’s possibile to limit search results per file category?

Viewing 7 posts - 1 through 7 (of 7 total)
#209389

Mister Phunkit
Participant

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

#209390

Tahasin
Moderator

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

#209391

Mister Phunkit
Participant

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

#209392

Tahasin
Moderator

Glad to hear that you’ve found the solution! If you have any further questions, feel free to ask.

Best regards,

#209394

Mister Phunkit
Participant

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

#209395

Tahasin
Moderator

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.

#209401

Mister Phunkit
Participant

Are you an IA assistant or what?!?

This is obvious and absolutely NOT RELEVANT to this thread…

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.