How to Select the Options That Appear on Your Results Page
Related resource: Comparison of our hosted search results page and our results API
These features are only available on the hosted search results page.
Label for Search Tabs. By default, we use the label ‘Search’ for your search options in phone and tablet views. Enter a word in the label field if you’d like something other than this default. Keep the label consistent with the options you’re listing and under 15 characters.
See the sample results page below that shows the search tabs with the default label, Search, displayed for a search on passport on USA.gov. (It is most easily seen by clicking on the menu option from a mobile phone.)
On/off options for search tabs. Select which search tabs you’d like to appear on your results page. Turn an option on to allow searchers to see it. Turn an option on or off at any time.
Type over the text in the Name field to edit a search tab’s display name. Keep each name short (15 or fewer characters) and consistent with the content you’re searching. Click on the hyperlink in the Source field to update the search tab’s source content. Hover over the icon with three horizontal lines on the left to change the order.
More. We show up to four search tabs above your search box. If you turn on the display of more than four search tabs, you’ll see them listed under a ‘More’ dropdown menu. Email us at email@example.com if you’d like to use a custom label instead of the default ‘More’.
These options control what types of search results are returned, and apply to both the hosted search results page and the search results API.
On/Off Options for Modules. Turn on a module to allow searchers to see inline, contextually relevant results for selected content sources based on keyword matches with relevant queries. There are eight types of modules.
News. This option only appears after you’ve told us about your RSS feeds. When a searcher’s query matches the title of an RSS article published within the past four months, the article appears in the News module. Very recent news results (less than five days) appear at the top of the page and less recent news results appear at the bottom. Up to three articles are displayed. Type over the default name, News, in the Name field to edit the display name.
Videos. This option only appears after you’ve told us about your YouTube channel. When a searcher’s query matches the metadata of a video published within the 13 months, the video appears in the Videos module. One inline video is displayed with a link to see more videos for the searcher’s query.
Job Openings. When a searcher’s query matches the text of a job opening published by your agency on USAJobs, the job appears in the Job Openings module. Up to three job openings are displayed. For more information, including a screenshot, read our post Help Searchers Find Jobs. You will need to contact us to get the Jobs module enabled for your site.
Federal Register Documents. When a searcher’s query matches the text of a notice or rule published by your agency in the Federal Register, the document appears in the Federal Register module. Up to three documents are displayed. For more information, including a screenshot, read our post Help Searchers Find Federal Register Documents.
Related Searches. Help visitors better define the focus of their search by offering them searches related to their current search term. Suggestions are derived from the searches performed on your website. Up to five searches related to your visitors’ original search are displayed and are updated in near real time.
Health Topics. Help searchers find high-quality, authoritative health information from MedlinePlus and ClinicalTrials.gov. For more information, including a screenshot, read our post Help Searchers Find Health Information.
This feature is only available on the hosted search results page.
Help visitors find content relevant to their search query that resides on other websites, such as the site for your parent organization or your Spanish-language site. When searchers click on the link to the related site, they see search results for their query on the related site.
Enter the site handle for one of your other Search.gov sites. Enter the text you’d like searchers to see for the link to the related site. Create two entries, one from the first site to the second and vice versa, if you’d like a reciprocal link.
If you list more than two related sites, searchers will see them listed under a dropdown menu, View Topic.
Email us at firstname.lastname@example.org if you’d like to use a custom label instead of the default ‘View Topic’ label.
Refining RSS search results (Hosted search results page only)
Searchers may narrow results by time period for any RSS feeds. See, for example, results for a search on space narrowed to press releases in the last week on NASA.gov.