Front-End Search by Keyword
-
Hello,
I’m try to create a list (gallery) of documents with a front-end search form by keyword capability. That will return documents that contain the keyword either in the doc file title, description, ..etc
Something similar to what this plugin does: media category library
I was wondering if it is possible to do something like this with the MEDIA LIBRARY ASSISTANT plugin? And if so, could someone guide me a little in the right direction. I have started with this code in my page template, but it just lists ALL documents.
<form id="attachment-tag-form" method="get" action=""> <input type="text" name="attachtag" id="attachtag" ><br/> <input type="submit" id="submit" name="submit" value="GO"> </form> <?php $tag = $_REQUEST['attachtag']; echo $tag; ?> <div class="mla-tags-gallery"> <?php echo do_shortcode('[mla_gallery post_mime_type=application link="file" size=icon category="federal" taxonomy="media-category" mla_caption="{+title+} {+description+} {+date+}" s="{+request:$tag+}" ]' ); ?>
thank you
https://www.ads-software.com/plugins/media-library-assistant/
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Front-End Search by Keyword’ is closed to new replies.