Front-end filtering not working out
-
Dear mla,
I’m trying to get an end-user filterable gallery to work on my site and found this great info in a previous support request. This is exactly what I’m looking for but whenever I go to the front-end I only see the filter options and beneath it the [mla_gallery] shortcode is simply written as such:
[mla_gallery post_parent=all attachment_tag=”{+request:attachment_category+}”]
I tried all versions of the code from the earlier post and have the media_category set on my media accordingly.
Could you please help me solve why the gallery is not displayed?The theme I use is Vantage by SiteOrigin and the full set of queries are below. Thanks!
Hearthdecko
Please select an Attachment Tag value:
[ Moderator note: code fixed. Please wrap code in the backtick character or use the code button. ]
<form id="attachment-tag-form" method="get" action=""> <select name="attachment_tag" class="postform"> <option value="">-- Select a Value --</option> <option value="hunter-cards">hunter</option> <option value="druid cards">druid</option> <option value="another">another</option> </select> <input type="submit" id="submit" name="submit" value="GO"> </form> [mla_gallery post_parent=all attachment_tag="{+request:attachment_category+}"] Please select an Attachment Tag value: <form id="attachment-tag-form" method="get" action=""> <select name="tag1" class="postform"> <option value="">-- Select a Value --</option> <option value="druid-cards">druid</option> <option value="hunter-cards">hunter</option> <option value="another">another</option> </select> <select name="tag2" class="postform"> <option value="">-- Select a Value --</option> <option value="legendary-cards">legendary</option> <option value="boden-canyon">Boden Canyon</option> <option value="another">another</option> </select> <input type="submit" id="submit" name="submit" value="GO"> </form> [mla_gallery post_parent=all attachment_tag="{+request:tag1+},{+request:tag2+}"] Please select an Attachment Tag value: <form id="attachment-tag-form" method="get" action=""> <select multiple name="tags[]" class="postform"> <option value="">-- Select a Value --</option> <option value="hunter-cards">hunter</option> <option value="druid-cards">druid</option> <option value="another">another</option> </select> <input type="submit" id="submit" name="submit" value="GO"> </form> [mla_gallery post_parent=all attachment_tag="{+request:tag1+},{+request:tag2+}"]
- The topic ‘Front-end filtering not working out’ is closed to new replies.