- This topic has 6 replies, 3 voices, and was last updated 3 months, 2 weeks ago by
Nayeem Riddhi.
Hello,
i need to add a searchbox into the wpdm_all_package shortcode
I’ve noticed that i can add the searchbox as an external entity and have that interract with the shortcode via wp_query
to do so, i’ll need a changes in plugin code that can be useful for a lot of users
In
download-manager\src\Package\views\all-packages-shortcode.php:245
Add:
$query_params = apply_filters('wpdm_all_packages_query_params', $query_params);
So if needed we can change the wp query ad change parameters (in my example add a “s” parameter)
Let me know if is possible or if there is a better way that i didnt see
Have nice day
Hello davide balconi,
Hope you are well. We are checking the issue. I have already forwarded your concern to our related team authority. Please kindly check and let me know if you have any more queries.
Thank you and kind regards
any news?
I have again forwarded it to our related team authority. Please kindly check and let me know if you have any more queries.
Thank you and kind regards
Hello, Davide
Thank you for your thoughtful suggestion and for taking the time to look into the plugin code, we really appreciate your initiative!
we will definitely review this internally and check the possibility of adding the filter. If feasible, we’d be happy to include it in a future update.
In the meantime, for a built-in solution, you might also want to try the [wpdm_search_result] shortcode, which comes with a search form and displays matching packages based on user input.
Regards
Hi,
im sorry but is not what im looking for, the end result should be formatted like a table so the only shortcode is “all_packages”
did you add the filter in recent releases? I’m working on the search field in those days and i would love to not write the table shortcode from scratch
For adding any new feature or advance feature implementation, you can keep a request here for your requirement, https://www.wpdownloadmanager.com/support/forum/download-manager-pro-feature-request/. Thus our team may look into it and implement for the next released versions. Please kindly check.
Thank you
You must be logged in to reply to this topic.