[Resolved] Filter functionality
thanks for your post.
I’m not exactly sure what you mean by “filter” in this context. Do you have an example or screenshot, to make sure that we are on the same page?
Do you maybe mean something like on this website: http://datatables.net/release-datatables/examples/api/multi_filter_select.html
Yes, that’s exactly what I am looking for. Menus preferably at the top.
Now my the question would be:
– how to implement it?
Unfortunately, implementing this is not that trivial. I’m planning on developing “Plugin Extensions” for features like this, but that might still take some time. 🙁
Appreciate your help!
Looking forward for plugin update, and in the meantime will try to play with the code 😉
that sounds like a good solution 🙂
I have this code ready now for TablePress 🙂 It is available as a TablePress Extension.
I haven’t yet found the time to add it to the TablePress website, so it’s just available in the GitHub repository at https://github.com/TobiasBg/TablePress-Extensions/tree/master/tablepress-datatables-multi-filter-select
Basically, you will need these three file, but them into a subfolder “tablepress-datatables-multi-filter-select” and install that as a regular WordPress plugin. Then, just add a new parameter to your Shortcode, i.e. change something like
[table id=1 /]
[table id=1 datatables_multi_filter_select=true /]
to use this feature.
Do you I need to uninstall Tablepress, put the new folder into the Tablepress folder on my server then reinstall the plugin? I tried zipping the folder you mentioned above and tried installing that as a plugin and it did not work. Am I missing a step?
no, nothing to uninstall here! The new plugin is a separate folder, that just needs to go into “wp-content/plugins” (so that you have both “tablepress” and “tablepress-datatables-multi-filter-select” as folders in “wp-content/plugins”.
After that, just activate the new “TablePress Extension” plugin in WordPress, and add that Shortcode parameter.
I tried that and the plugin doesn’t show up in WordPress to be activated.
are you sure that you now have the folder “wp-content/plugins/tablepress-datatables-multi-filter-select” which has the three files “tablepress-datatables-multi-filter-select.php”, “multi-filter-select.min.js”, and “multi-filter-select.js” directly in it, without any other subfolders?
After that, you will see the new plugin “TablePress Extension: Individual Column Filtering (with dropdowns)” in your WordPress Plugins list.
Yes sir, I even restarted my server to make sure everything loaded. Just for you to see as well: http://imgur.com/6oF3f
have you select the “All” tab at the top of the page? Just from your list of folders, the list of plugins should be much longer. Thus, this indicates, that you are currently only viewing the active plugins.
Nope, the all tab is selected, and I have 17 plugins activated.
- The topic ‘[Resolved] Filter functionality’ is closed to new replies.