URL Fix / hack for Post type dropdown
-
I noticed the custom post types drop down option wasn’t working correctly. I had a dig around and by changing post_types (plural) to post_type it worked as expected.
search-filter.php -> line:985 -> $this->urlparams .= “post_type=”.$post_types;
The URL isn’t pretty and the select isn’t selected by default in generate_select(), which I think is to do with that variable being plural?
I will try and sort out what I need with JS and a rewrite, but wanted to share.
Compliments on your plugin btw.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘URL Fix / hack for Post type dropdown’ is closed to new replies.