{"id":3863,"date":"2022-01-11T20:06:48","date_gmt":"2022-01-11T20:06:48","guid":{"rendered":"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/glowbloghelp\/?page_id=3863"},"modified":"2024-10-16T09:54:46","modified_gmt":"2024-10-16T09:54:46","slug":"search-filter","status":"publish","type":"page","link":"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/glowbloghelp\/settings\/plugins-3-2\/search-filter\/","title":{"rendered":"Search &amp; Filter"},"content":{"rendered":"<p>Search &amp; Filter is a simple search and filtering plugin for WordPress.<\/p>\n<p>At its simplest you can produce a search that allows \u00a0you to filter tags and categories:<\/p>\n<p>you add a shortcode like this:<br \/>\n[searchandfilter fields=\"search,category,post_tag\"]<\/p>\n<p>and get this:<\/p>\n\n\t\t\t\t<form action=\"\" method=\"post\" class=\"searchandfilter\">\n\t\t\t\t\t<div><ul><li><input type=\"text\" name=\"ofsearch\" placeholder=\"Search &hellip;\" value=\"\"><\/li><li><select  name='ofcategory' id='ofcategory' class='postform'>\n\t<option value='0' selected='selected'>All Categories<\/option>\n\t<option class=\"level-0\" value=\"173\">blogging<\/option>\n\t<option class=\"level-0\" value=\"181\">Example<\/option>\n\t<option class=\"level-0\" value=\"298064\">extras<\/option>\n\t<option class=\"level-0\" value=\"8616\">Fixed Issues<\/option>\n\t<option class=\"level-0\" value=\"738085\">glowing posts<\/option>\n\t<option class=\"level-0\" value=\"5132\">How To<\/option>\n\t<option class=\"level-0\" value=\"8539\">Issues<\/option>\n\t<option class=\"level-0\" value=\"298054\">news<\/option>\n\t<option class=\"level-0\" value=\"298024\">Releases<\/option>\n\t<option class=\"level-0\" value=\"738129\">settings<\/option>\n\t<option class=\"level-0\" value=\"851919\">Tutorials<\/option>\n\t<option class=\"level-0\" value=\"1\">Uncategorized<\/option>\n<\/select>\n<input type=\"hidden\" name=\"ofcategory_operator\" value=\"and\" \/><\/li><li><select  name='ofpost_tag' id='ofpost_tag' class='postform'>\n\t<option value='0' selected='selected'>All Tags<\/option>\n\t<option class=\"level-0\" value=\"851899\">add users<\/option>\n\t<option class=\"level-0\" value=\"851922\">Additional CSS<\/option>\n\t<option class=\"level-0\" value=\"851937\">Advent<\/option>\n\t<option class=\"level-0\" value=\"851893\">blocks<\/option>\n\t<option class=\"level-0\" value=\"173\">blogging<\/option>\n\t<option class=\"level-0\" value=\"851925\">Bluesky<\/option>\n\t<option class=\"level-0\" value=\"851901\">bulk create blogs<\/option>\n\t<option class=\"level-0\" value=\"851936\">Canva<\/option>\n\t<option class=\"level-0\" value=\"1375\">christmas<\/option>\n\t<option class=\"level-0\" value=\"7883\">collaborative<\/option>\n\t<option class=\"level-0\" value=\"851932\">contact form<\/option>\n\t<option class=\"level-0\" value=\"298062\">cookies<\/option>\n\t<option class=\"level-0\" value=\"851931\">css<\/option>\n\t<option class=\"level-0\" value=\"851850\">digital<\/option>\n\t<option class=\"level-0\" value=\"851851\">digital leaders<\/option>\n\t<option class=\"level-0\" value=\"738091\">early years<\/option>\n\t<option class=\"level-0\" value=\"579\">early years<\/option>\n\t<option class=\"level-0\" value=\"851891\">email<\/option>\n\t<option class=\"level-0\" value=\"65\">embed<\/option>\n\t<option class=\"level-0\" value=\"851889\">embed codes<\/option>\n\t<option class=\"level-0\" value=\"181\">Example<\/option>\n\t<option class=\"level-0\" value=\"738135\">featured images<\/option>\n\t<option class=\"level-0\" value=\"851823\">Feb 2017 Release<\/option>\n\t<option class=\"level-0\" value=\"851892\">feedburner<\/option>\n\t<option class=\"level-0\" value=\"851933\">form<\/option>\n\t<option class=\"level-0\" value=\"2163\">fun<\/option>\n\t<option class=\"level-0\" value=\"851896\">Glow Analytics<\/option>\n\t<option class=\"level-0\" value=\"415\">glow blogs<\/option>\n\t<option class=\"level-0\" value=\"851917\">Google Analytics<\/option>\n\t<option class=\"level-0\" value=\"851839\">gutenberg<\/option>\n\t<option class=\"level-0\" value=\"851894\">h5p<\/option>\n\t<option class=\"level-0\" value=\"851827\">holiday<\/option>\n\t<option class=\"level-0\" value=\"851927\">housekeeping<\/option>\n\t<option class=\"level-0\" value=\"851861\">how to<\/option>\n\t<option class=\"level-0\" value=\"851855\">ict<\/option>\n\t<option class=\"level-0\" value=\"851828\">independent learner<\/option>\n\t<option class=\"level-0\" value=\"851926\">inspiration<\/option>\n\t<option class=\"level-0\" value=\"851853\">internetradio<\/option>\n\t<option class=\"level-0\" value=\"298048\">jetpack<\/option>\n\t<option class=\"level-0\" value=\"738125\">July 2016 release<\/option>\n\t<option class=\"level-0\" value=\"851900\">list<\/option>\n\t<option class=\"level-0\" value=\"851840\">maintenance<\/option>\n\t<option class=\"level-0\" value=\"851888\">menus<\/option>\n\t<option class=\"level-0\" value=\"851938\">mobile<\/option>\n\t<option class=\"level-0\" value=\"479\">music<\/option>\n\t<option class=\"level-0\" value=\"1163\">nursery<\/option>\n\t<option class=\"level-0\" value=\"738151\">o356 forms<\/option>\n\t<option class=\"level-0\" value=\"7032\">O365<\/option>\n\t<option class=\"level-0\" value=\"738148\">Oct 2016 Release<\/option>\n\t<option class=\"level-0\" value=\"738152\">office mix<\/option>\n\t<option class=\"level-0\" value=\"640\">outdoor learning<\/option>\n\t<option class=\"level-0\" value=\"851829\">pdf<\/option>\n\t<option class=\"level-0\" value=\"851890\">plugin<\/option>\n\t<option class=\"level-0\" value=\"1207\">plugins<\/option>\n\t<option class=\"level-0\" value=\"503\">Primary<\/option>\n\t<option class=\"level-0\" value=\"6948\">Professional<\/option>\n\t<option class=\"level-0\" value=\"7834\">pupil voice<\/option>\n\t<option class=\"level-0\" value=\"851854\">radio<\/option>\n\t<option class=\"level-0\" value=\"851860\">school websites<\/option>\n\t<option class=\"level-0\" value=\"1174\">scratch<\/option>\n\t<option class=\"level-0\" value=\"504\">secondary<\/option>\n\t<option class=\"level-0\" value=\"738129\">settings<\/option>\n\t<option class=\"level-0\" value=\"851935\">Site Editing<\/option>\n\t<option class=\"level-0\" value=\"851852\">Skills for Work<\/option>\n\t<option class=\"level-0\" value=\"1575\">snow<\/option>\n\t<option class=\"level-0\" value=\"851897\">Start of term<\/option>\n\t<option class=\"level-0\" value=\"762174\">stream<\/option>\n\t<option class=\"level-0\" value=\"851920\">sway<\/option>\n\t<option class=\"level-0\" value=\"21\">themes<\/option>\n\t<option class=\"level-0\" value=\"683784\">tips<\/option>\n\t<option class=\"level-0\" value=\"3246\">tutorials<\/option>\n\t<option class=\"level-0\" value=\"38\">twitter<\/option>\n\t<option class=\"level-0\" value=\"1\">Uncategorized<\/option>\n\t<option class=\"level-0\" value=\"851921\">Update<\/option>\n\t<option class=\"level-0\" value=\"851898\">user<\/option>\n\t<option class=\"level-0\" value=\"298057\">Video<\/option>\n\t<option class=\"level-0\" value=\"851856\">widgets<\/option>\n\t<option class=\"level-0\" value=\"182\">wordpress<\/option>\n\t<option class=\"level-0\" value=\"851902\">workaround<\/option>\n\t<option class=\"level-0\" value=\"12908\">yammer<\/option>\n\t<option class=\"level-0\" value=\"851887\">yoko<\/option>\n\t<option class=\"level-0\" value=\"546\">youtube<\/option>\n<\/select>\n<input type=\"hidden\" name=\"ofpost_tag_operator\" value=\"and\" \/><\/li><li><input type=\"hidden\" id=\"_searchandfilter_nonce\" name=\"_searchandfilter_nonce\" value=\"1328f3d675\" \/><input type=\"hidden\" name=\"_wp_http_referer\" value=\"\/glowblogs\/glowbloghelp\/wp-json\/wp\/v2\/pages\/3863\" \/><input type=\"hidden\" name=\"ofsubmitted\" value=\"1\"><input type=\"submit\" value=\"Submit\"><\/li><\/ul><\/div><\/form>\n<hr \/>\n<p>The <a href=\"https:\/\/free.searchandfilter.com\/\">Search &amp; Filter Free Edition<\/a> Documentation gives more complex examples for example:<\/p>\n<p>[searchandfilter fields=\"search,post_date\" types=\",daterange\" headings=\",Post Date\"]<\/p>\n<p>&nbsp;<\/p>\n\n\t\t\t\t<form action=\"\" method=\"post\" class=\"searchandfilter\">\n\t\t\t\t\t<div><ul><li><input type=\"text\" name=\"ofsearch\" placeholder=\"Search &hellip;\" value=\"\"><\/li><li><h4>Post Date<\/h4><input class=\"postform\" type=\"date\" name=\"ofpost_date[]\" value=\"\" \/><\/li><li><input class=\"postform\" type=\"date\" name=\"ofpost_date[]\" value=\"\" \/><\/li><li><input type=\"hidden\" id=\"_searchandfilter_nonce\" name=\"_searchandfilter_nonce\" value=\"1328f3d675\" \/><input type=\"hidden\" name=\"_wp_http_referer\" value=\"\/glowblogs\/glowbloghelp\/wp-json\/wp\/v2\/pages\/3863\" \/><input type=\"hidden\" name=\"ofsubmitted\" value=\"1\"><input type=\"submit\" value=\"Submit\"><\/li><\/ul><\/div><\/form>\n<hr \/>\n<p>[searchandfilter fields=\"search,post_types\" post_types=\"post,page\" headings=\",Post Types\"]<\/p>\n<p>&nbsp;<\/p>\n\n\t\t\t\t<form action=\"\" method=\"post\" class=\"searchandfilter\">\n\t\t\t\t\t<div><ul><li><input type=\"text\" name=\"ofsearch\" placeholder=\"Search &hellip;\" value=\"\"><\/li><li><h4>Post Types<\/h4><select class=\"postform\" name=\"ofpost_types\"><option class=\"level-0\" value=\"post,page\">All Post Types<\/option><option class=\"level-0\" value=\"post\">Posts<\/option><option class=\"level-0\" value=\"page\">Pages<\/option><\/select><\/li><li><input type=\"hidden\" id=\"_searchandfilter_nonce\" name=\"_searchandfilter_nonce\" value=\"1328f3d675\" \/><input type=\"hidden\" name=\"_wp_http_referer\" value=\"\/glowblogs\/glowbloghelp\/wp-json\/wp\/v2\/pages\/3863\" \/><input type=\"hidden\" name=\"ofsubmitted\" value=\"1\"><input type=\"submit\" value=\"Submit\"><\/li><\/ul><\/div><\/form>\n<hr \/>\n\n\t\t\t\t<form action=\"\" method=\"post\" class=\"searchandfilter\">\n\t\t\t\t\t<div><input type=\"hidden\" name=\"ofpost_types[]\" value=\"page\" \/><ul><li><input type=\"text\" name=\"ofsearch\" placeholder=\"Search &hellip;\" value=\"\"><\/li><li><input type=\"hidden\" id=\"_searchandfilter_nonce\" name=\"_searchandfilter_nonce\" value=\"1328f3d675\" \/><input type=\"hidden\" name=\"_wp_http_referer\" value=\"\/glowblogs\/glowbloghelp\/wp-json\/wp\/v2\/pages\/3863\" \/><input type=\"hidden\" name=\"ofsubmitted\" value=\"1\"><input type=\"submit\" value=\"Search Main Contents\"><\/li><\/ul><\/div><\/form>\n","protected":false},"excerpt":{"rendered":"<p>Search &amp; Filter is a simple search and filtering plugin for WordPress. At its simplest you can produce a search that allows \u00a0you to filter tags and categories: you add a shortcode like this: All Categories blogging Example extras Fixed Issues glowing posts How To Issues news Releases settings Tutorials Uncategorized All Tags add users &hellip; <a href=\"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/glowbloghelp\/settings\/plugins-3-2\/search-filter\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Search &amp; Filter<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":22,"featured_media":0,"parent":743,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"page-templates\/full-width.php","meta":{"footnotes":""},"class_list":["post-3863","page","type-page","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/glowbloghelp\/wp-json\/wp\/v2\/pages\/3863","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/glowbloghelp\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/glowbloghelp\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/glowbloghelp\/wp-json\/wp\/v2\/users\/22"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/glowbloghelp\/wp-json\/wp\/v2\/comments?post=3863"}],"version-history":[{"count":9,"href":"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/glowbloghelp\/wp-json\/wp\/v2\/pages\/3863\/revisions"}],"predecessor-version":[{"id":5552,"href":"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/glowbloghelp\/wp-json\/wp\/v2\/pages\/3863\/revisions\/5552"}],"up":[{"embeddable":true,"href":"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/glowbloghelp\/wp-json\/wp\/v2\/pages\/743"}],"wp:attachment":[{"href":"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/glowbloghelp\/wp-json\/wp\/v2\/media?parent=3863"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}