Support » Plugins and Hacks » Filter multiple tags with a checkbox input form
6 years ago
I need some help creating a tags filter input checkbox form. The form is located at top of the page.
The index.php contains following code:
[Code moderated as per the Forum Rules. Please use the pastebin]
After checking the two checkboxes “tag1” and “tag2” and hitting the submit button, the following url is loaded:
This url doesn’t work, it doesn’t filter any tags.
The $url variable contains this:
The problem is the wp_redirect doesn’t work. The page just stops loading at exit; without redirecting to “http://www.myhome.com/tag/tag1,tag2”.
Maybe someone has a hint, maybe there is a better technique for solving this kind of problem in WordPress?
5 years, 9 months ago
I was able to get this to work. I was getting 404 page errors if there was not a post tagged with the selection I choose. All I did was remove the  with the “name” of the input.
5 years, 4 months ago
I have a similar question and woudl love to have seen the code that was moderated out of this thread. Wkayh or Ble1frei – do either of you have an example of this code you could post? Thanks