I need to get a filter parameter to URL, but I want it to display filtered right away when a visitor gets there from that particular URL. I need the original URL to work as before – displaying all the contents.
– normal url https://uni-foundation.eu/resources/ – displays everything
– filtered https://uni-foundation.eu/resources/?table_filter=docent – filters only results with the term “docent”
I installed both row Row Filtering and [Get URL parameter](https://tablepress.org/extensions/shortcode-filter-get-parameter/) extensions
I replaced the shortcode
[table id=1beginning with
I replaced the line in tablepress-shortcode-filter-get-parameter.php file
$attributes['filter'] = $filter_term;
$attributes['datatables_auto_filter'] = $filter_term;
as described here https://wordpress.org/support/topic/automatic-filtering-by-url-parameter/
But nothing works.
Could you please help?
The page I need help with: [log in to see the link]
- The topic ‘Get URL parameter not working’ is closed to new replies.