{"id":647,"date":"2017-05-18T19:00:20","date_gmt":"2017-05-18T19:00:20","guid":{"rendered":"http:\/\/wordpress.library.illinois.edu\/wp-training\/?page_id=647"},"modified":"2026-07-27T15:33:30","modified_gmt":"2026-07-27T15:33:30","slug":"librarysearch","status":"publish","type":"page","link":"https:\/\/wordpress.library.illinois.edu\/wp-training\/shortcodes\/librarysearch\/","title":{"rendered":"Library Search Shortcode"},"content":{"rendered":"<h2>Library Search<\/h2>\n<p>The Library Search bar can easily be added or ommitted in the editor view for the site&#8217;s homepage. However, if you choose to add it to any other page you may use the code below.<\/p>\n<h3>Basic Usage for Library Search Shortcode<\/h3>\n<p>Add the following code to the location on the page where you would like to display the Library Search bar<\/p>\n<p>[displayES title=\"example_title\" placeholder=\"placeholder text here\"]<\/p>\n<h4>Results<\/h4>\n<div class=\"shortcode sh-p-4 sh-rounded sh-drop-shadow-sm sh-bg-blue-100 !sh-text-black \"><div><div class=\"\">\n<h5>Code<\/h5>\n<p><div class=\"shortcode sh-p-4 sh-rounded sh-drop-shadow-sm sh-bg-white !sh-text-black !sh-border  \"><div><div class=\"\"><br \/>\n[displayES title=\"Library Search\" placeholder=\"Search for books or articles\"]<br \/>\n<\/div><\/div><\/div><\/p>\n<h5>Rendering<\/h5>\n<p><div class=\"shortcode sh-p-4 sh-rounded sh-drop-shadow-sm sh-bg-white !sh-text-black !sh-border  \"><div><div class=\"\"><br \/>\n\n<div class=\"es-w-full es-mb-[20px]\" id=\"easysearch-wrapper\">\n\t<div class=\"tab-content !es-p-[28px] es-clear-both focus:[&_input]:es-border-2 focus:[&_input]:es-border-industrial_blue focus:[&_select]:es-border-2 focus:[&_select]:es-border-industrial_blue\">\t\t\n\n\t\t<div id=\"search-panel-body\">\n\t\t\t<h2 id=\"title\" class=\"!es-text-industrial_blue es-float-left !es-mb-[10px] es-text-xl\"> Library Search <\/h2><form class=\"form-inline\" id=\"search_books\" action=\"https:\/\/i-share-uiu.primo.exlibrisgroup.com\/nde\/search\" method=\"get\">\n\t\t\t\t\t<label class=\"sr-only\" for=\"Search_Argument\">Enter Search Terms<\/label>\n\t\t\t\t\t<input id=\"Search_Argument\" class=\"es-w-full\" type=\"text\" aria-labelledby=\"title\" placeholder=\"Search for books or articles\" name=\"query\" onfocus=\"this.placeholder = '';\" onblur=\"this.placeholder = 'Search for books or articles'\" x-webkit-speech=\"\" onwebkitspeechchange=\"this.form.submit()\">\n\t\t\t\t\t<input type=\"hidden\" name=\"tab\" value=\"Everything\">\n\t\t\t\t\t<input type=\"hidden\" name=\"search_scope\" value=\"MyInst_and_CI\">\n\t\t\t\t\t<input type=\"hidden\" name=\"vid\" value=\"01CARLI_UIU:CARLI_UIU_NDE\">\n\t\t\t\t\t<input type=\"hidden\" name=\"lang\" value=\"en\">\n\t\t\t\t<label class=\"sr-only\" for=\"easy-search-all-full\">Search<\/label>\n\t\t\t\t<button type=\"submit\" name=\"searchbutton\" alt=\"submit\" class=\"ilw-button ilw-theme-orange-solid\">Search<\/button>\n\t\t\t<\/form>\n\t\t<\/div>\n\t<\/div>\n<\/div>\n<br \/>\n<\/div><\/div><\/div><br \/>\n<\/div><\/div><\/div><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Library Search The Library Search bar can easily be added or ommitted in the editor view for the site&#8217;s homepage. However, if you choose to add it to any other page you may use the code below. Basic Usage for Library Search Shortcode Add the following code to the location on the page where you [&hellip;]<\/p>\n","protected":false},"author":71,"featured_media":0,"parent":24,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"class_list":["post-647","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/wordpress.library.illinois.edu\/wp-training\/wp-json\/wp\/v2\/pages\/647","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.library.illinois.edu\/wp-training\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/wordpress.library.illinois.edu\/wp-training\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.library.illinois.edu\/wp-training\/wp-json\/wp\/v2\/users\/71"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.library.illinois.edu\/wp-training\/wp-json\/wp\/v2\/comments?post=647"}],"version-history":[{"count":14,"href":"https:\/\/wordpress.library.illinois.edu\/wp-training\/wp-json\/wp\/v2\/pages\/647\/revisions"}],"predecessor-version":[{"id":3265,"href":"https:\/\/wordpress.library.illinois.edu\/wp-training\/wp-json\/wp\/v2\/pages\/647\/revisions\/3265"}],"up":[{"embeddable":true,"href":"https:\/\/wordpress.library.illinois.edu\/wp-training\/wp-json\/wp\/v2\/pages\/24"}],"wp:attachment":[{"href":"https:\/\/wordpress.library.illinois.edu\/wp-training\/wp-json\/wp\/v2\/media?parent=647"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}