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

Viewing 10 posts - 1 through 10 (of 10 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…

#209405

Tahasin
Moderator

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

#209428

Mister Phunkit
Participant

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.

#209429

Tahasin
Moderator

Could you please share your wp-login credentials in a private reply so that I can check the issue directly from your end? The search filter appears to be working fine on our test site.

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

You must be logged in to reply to this topic.