{"id":954,"date":"2020-07-31T15:23:33","date_gmt":"2020-07-31T19:23:33","guid":{"rendered":"https:\/\/university-communications.ncsu.edu\/documentation\/?page_id=954"},"modified":"2026-08-12T15:32:36","modified_gmt":"2026-08-12T19:32:36","slug":"site-search","status":"publish","type":"reference-article","link":"https:\/\/university-communications.ncsu.edu\/documentation\/reference-article\/site-search\/","title":{"rendered":"Site Search"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">By default, the search function in the top right of your website&#8217;s utility bar (magnifying glass icon) only shows results from all of NC State&#8217;s websites at once. By connecting a Google Programmable Search Engine to your website, users can see results specifically from your website. Follow the directions below to connect a create and connect a search engine.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"438\" src=\"https:\/\/university-communications.ncsu.edu\/documentation\/wp-content\/uploads\/sites\/21\/2020\/07\/google-custom-search-engine-site-search-1024x438.jpg\" alt=\"An arrow points to a radio button highlighting a site's search is showing results from a programmable search engine set up for that site\" class=\"wp-image-40206\" srcset=\"https:\/\/university-communications.ncsu.edu\/documentation\/wp-content\/uploads\/sites\/21\/2020\/07\/google-custom-search-engine-site-search-1024x438.jpg 1024w, https:\/\/university-communications.ncsu.edu\/documentation\/wp-content\/uploads\/sites\/21\/2020\/07\/google-custom-search-engine-site-search-300x128.jpg 300w, https:\/\/university-communications.ncsu.edu\/documentation\/wp-content\/uploads\/sites\/21\/2020\/07\/google-custom-search-engine-site-search-768x329.jpg 768w, https:\/\/university-communications.ncsu.edu\/documentation\/wp-content\/uploads\/sites\/21\/2020\/07\/google-custom-search-engine-site-search-1536x657.jpg 1536w, https:\/\/university-communications.ncsu.edu\/documentation\/wp-content\/uploads\/sites\/21\/2020\/07\/google-custom-search-engine-site-search.jpg 2000w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Create a Google Programmable Search Engine<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Navigate to <a href=\"https:\/\/programmablesearchengine.google.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">Google&#8217;s Programmable Search Engine page<\/a> and sign in with a generic Google account. This may require you to work with unit&#8217;s IT staff.<\/li>\n\n\n\n<li>Enter a name for your search engine (typically the name of your website) and the entire site URL. Note that each website needs its own programmable search engine created.<\/li>\n\n\n\n<li>Click &#8220;Create&#8221;<\/li>\n\n\n\n<li>Click &#8220;Customize&#8221;<\/li>\n\n\n\n<li>From the search engine&#8217;s Overview page, in the left-hand menu click &#8220;Look and Feel&#8221;<\/li>\n\n\n\n<li>Under &#8220;Layout&#8221; choose &#8220;Results only&#8221;. The change will automatically save. This layout is required.<\/li>\n\n\n\n<li>Follow <a href=\"https:\/\/ncsu.service-now.com\/kb_view_customer.do?sysparm_article=KB0016476\">OIT&#8217;s instructions for disabling ads<\/a>. Ads must be removed before you use this search engine on an NC State site.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">Your programmable search engine is now ready to be added to your website.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Connect to WordPress<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li> Navigate to the &#8220;Overview&#8221; page by logging in to Google&#8217;s Programmable Search Engine page and clicking on the search engine&#8217;s name.<\/li>\n\n\n\n<li>Under the &#8220;Basic&#8221; section, click the copy button next to &#8220;Search engine ID&#8221;<\/li>\n\n\n\n<li>Log into your WordPress website and navigate to NC State Settings, then NC State Theme, then Utility Bar<\/li>\n\n\n\n<li> Paste your search engine ID into the Google Programmable Search Engine ID field.<\/li>\n\n\n\n<li>Click &#8220;Update&#8221;<\/li>\n<\/ol>\n","protected":false},"featured_media":0,"template":"","meta":{"_acf_changed":false,"ncst_custom_author":"","ncst_show_custom_author":false,"ncst_dynamicHeaderBlockName":"ncst\/default-header","ncst_dynamicHeaderData":"{\"pageIntro\":\"The search box within the\u00a0Utility Bar\u00a0can be used to search your own site in addition to all of\u00a0ncsu.edu.\"}","ncst_content_audit_freq":"","ncst_content_audit_date":"","ncst_content_audit_display":false,"ncst_backToTopFlag":"","_links_to":"","_links_to_target":""},"availability":[49],"content-type":[75,105],"class_list":["post-954","reference-article","type-reference-article","status-publish","hentry","availability-nc-state-theme","content-type-site-settings","content-type-special-configuration"],"acf":[],"_links":{"self":[{"href":"https:\/\/university-communications.ncsu.edu\/documentation\/wp-json\/wp\/v2\/reference-article\/954","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/university-communications.ncsu.edu\/documentation\/wp-json\/wp\/v2\/reference-article"}],"about":[{"href":"https:\/\/university-communications.ncsu.edu\/documentation\/wp-json\/wp\/v2\/types\/reference-article"}],"version-history":[{"count":6,"href":"https:\/\/university-communications.ncsu.edu\/documentation\/wp-json\/wp\/v2\/reference-article\/954\/revisions"}],"predecessor-version":[{"id":40209,"href":"https:\/\/university-communications.ncsu.edu\/documentation\/wp-json\/wp\/v2\/reference-article\/954\/revisions\/40209"}],"wp:attachment":[{"href":"https:\/\/university-communications.ncsu.edu\/documentation\/wp-json\/wp\/v2\/media?parent=954"}],"wp:term":[{"taxonomy":"availability","embeddable":true,"href":"https:\/\/university-communications.ncsu.edu\/documentation\/wp-json\/wp\/v2\/availability?post=954"},{"taxonomy":"content-type","embeddable":true,"href":"https:\/\/university-communications.ncsu.edu\/documentation\/wp-json\/wp\/v2\/content-type?post=954"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}