{"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":"2018-02-08T22:41:07","modified_gmt":"2018-02-08T22:41:07","slug":"doi_and_easysearch","status":"publish","type":"page","link":"https:\/\/wordpress.library.illinois.edu\/wp-training\/shortcodes\/doi_and_easysearch\/","title":{"rendered":"DOI &amp; EasySearch"},"content":{"rendered":"<h2>EasySearch<\/h2>\n<p>The EasySearch 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 Easy Search<\/h3>\n<p>Add the following code to the location on the page where you would like to display the EasySearch bar<\/p>\n<p>[displayES title=\"example_title\" target=\"example_target\"]<\/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=\"Engineering Easy Search\" target=\"engineering\"]<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 class=\"!es-text-industrial_blue es-float-left !es-mb-[10px] es-text-xl\"><i class=\"fa-solid fa-magnifying-glass\"><\/i> Engineering Easy Search <\/h2>\n\t\t\t<a class=\"es-float-right hidden-xs !es-text-industrial_blue\" href=\"https:\/\/search.grainger.illinois.edu\/searchaid2\/searchassist.asp\">Advanced Search<\/a>\n\t\t\t<div class=\"es-clear-both\"><\/div>\n\t\t\t<form class=\"form-inline\" role=\"form\" method=\"get\" action=\"https:\/\/search.grainger.illinois.edu\/searchaid2\/saresultsug.asp\" id=\"search_everything\">\n\t\t\t\t<label for=\"scharg\" class=\"sr-only\">Enter search terms<\/label>\n\t\t\t\t<input type=\"text\" class=\"es-w-full\" id=\"scharg\" name=\"scharg\" placeholder=\"Enter search terms\" onfocus=\"this.placeholder = &apos;&apos;\" onblur=\"this.placeholder = &apos;Enter search terms&apos;\" aria-required=\"true\" x-webkit-speech=\"\" onwebkitspeechchange=\"this.form.submit()\">\n\t\t\t\t<input type=\"hidden\" alt=\"submit\" value=\"direct\" name=\"s2\">\n\t\t\t\t<input type=\"hidden\" alt=\"submit\" value=\"engineering\" name=\"project\">\n\t\t\t\t<input type=\"hidden\" alt=\"submit\" value=\"opac\" name=\"selection\" class=\"es-classic\">\n\t\t\t\t<input type=\"hidden\" alt=\"submit\" value=\"web\" name=\"selection\" class=\"es-classic\">\n\t\t\t\t<input type=\"hidden\" alt=\"submit\" value=\"engineering\" name=\"selection\" class=\"es-classic\">\n\n\t\t\t\t<label for=\"booksSearch_Code\" class=\"es-sr-only\">Type of search<\/label>\n\t\t\t\t<select id=\"booksSearch_Code\" class=\"\" name=\"typeofsearch\" aria-required=\"true\">\n\t\t\t\t\t<option value=\"keyword\">Keyword<\/option>\n\t\t\t\t\t<option value=\"tiwords\">Title words<\/option>\n\t\t\t\t\t<option value=\"author\">Author<\/option>\n\t\t\t\t<\/select>\n\t\t\t\t<label class=\"sr-only\" for=\"easy-search-all-full\">Search<\/label>\n\t\t\t\t<input class=\"btn-search focus:!es-border-2 focus:!es-border-industrial_blue\" type=\"submit\" alt=\"submit\" value=\"Search\" name=\"searchbutton\" id=\"easy-search-all-full\">\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<h2>DOI Search<\/h2>\n<p>The DOI bar can easily be added as shown in the code below.<\/p>\n<h3>Basic Usage for DOI Search<\/h3>\n<p>Add the following code to the location on the page where you would like to display the DOI Search bar<\/p>\n<p>[displayDOI]<\/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[displayDOI]<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<form action=\"https:\/\/search.grainger.illinois.edu\/linker\/resolve88.asp\" method=\"get\" name=\"search_doi\" role=\"form\">   \n    <div class=\"es-relative\">\n        <div class=\"es-absolute es-inset-y-0 es-start-0 es-flex es-items-center es-ps-3 es-pointer-events-none\">\n\t\t\t<i class=\"fa-solid fa-magnifying-glass es-w-4 es-h-4 es-text-industrial_blue\"><\/i>\n        <\/div>\n\t\t<label class=\"es-sr-only\" for=\"doi_search\">DOI of Article<\/label>\n        <input type=\"search\" id=\"doi_search\" class=\"es-block es-w-full es-p-4 es-ps-10 es-text-industrial_blue focus:!es-border-2 focus:!es-border-industrial_blue\" placeholder=\"Find article by DOI\" required \/>\n\t\t\n        <button type=\"submit\" class=\"es-text-white es-absolute es-end-2.5 es-bottom-2.5 es-bg-industrial_blue es-font-medium es-rounded-md es-text-sm es-px-4 es-py-2 es-border-0 hover:es-border hover:es-border-industrial_blue hover:es-bg-white hover:es-text-industrial_blue focus:es-border focus:es-border-industrial_blue focus:es-bg-white focus:es-text-industrial_blue\">Search<\/button>\n    <\/div>\n<\/form>\n<br \/>\n<\/div><\/div><\/div><br \/>\n<\/div><\/div><\/div><\/p>\n","protected":false},"excerpt":{"rendered":"<p>EasySearch The EasySearch 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 Easy Search Add the following code to the location on the page where you would like to [&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":10,"href":"https:\/\/wordpress.library.illinois.edu\/wp-training\/wp-json\/wp\/v2\/pages\/647\/revisions"}],"predecessor-version":[{"id":1465,"href":"https:\/\/wordpress.library.illinois.edu\/wp-training\/wp-json\/wp\/v2\/pages\/647\/revisions\/1465"}],"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}]}}