{"id":10450778,"date":"2018-11-18T04:53:40","date_gmt":"2018-11-18T04:53:40","guid":{"rendered":"https:\/\/wordpress.org\/support\/?post_type=helphub_article&p=10450778"},"modified":"2024-03-18T16:50:27","modified_gmt":"2024-03-18T16:50:27","slug":"create-a-search-page","status":"publish","type":"helphub_article","link":"https:\/\/wordpress.org\/documentation\/article\/create-a-search-page\/","title":{"rendered":"Create a search page"},"content":{"rendered":"\n
A Search Page is a WordPress Page<\/a> with a custom Page template<\/a> to give users more information for searching your site.<\/p>\n\n\n\nHow to create it?<\/h2>\n\n\n\nFollow these steps to create a search page.<\/p>\n\n\n\n\nOn the Admin Area<\/a> go to Pages > Add New.<\/li>\n\n\n\nIn the title field enter Search<\/strong>.<\/li>\n\n\n\nAdd a new block<\/a> named “Search<\/strong>“.<\/li>\n\n\n\nPublish the page.<\/li>\n<\/ol>\n\n\n\nHow to test it?<\/h2>\n\n\n\n\nLeave the Admin Area and go to the User Area.<\/li>\n\n\n\nClick on the Search link from the Menu to land on the newly created Search page.<\/li>\n\n\n\nIn the search field, type the keyword to search and submit.<\/li>\n\n\n\nThe search results must appear on the same page.<\/li>\n\n\n\nIf no post is found with the keyword then “No posts were found.” message would appear.<\/li>\n<\/ol>\n\n\n\n<\/video><\/figure>\n","protected":false},"excerpt":{"rendered":"A Search Page is a WordPress Page with a custom Page template to give users more information for searching your site. How to create it? Follow these steps to create a search page. How to test it?<\/p>\n","protected":false},"featured_media":0,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","category":[86,78],"class_list":["post-10450778","helphub_article","type-helphub_article","status-publish","hentry","category-publishing","category-support-guides"],"revision_note":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/documentation\/wp-json\/wp\/v2\/articles\/10450778","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/documentation\/wp-json\/wp\/v2\/articles"}],"about":[{"href":"https:\/\/wordpress.org\/documentation\/wp-json\/wp\/v2\/types\/helphub_article"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/documentation\/wp-json\/wp\/v2\/comments?post=10450778"}],"version-history":[{"count":8,"href":"https:\/\/wordpress.org\/documentation\/wp-json\/wp\/v2\/articles\/10450778\/revisions"}],"predecessor-version":[{"id":16359947,"href":"https:\/\/wordpress.org\/documentation\/wp-json\/wp\/v2\/articles\/10450778\/revisions\/16359947"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/documentation\/wp-json\/wp\/v2\/media?parent=10450778"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wordpress.org\/documentation\/wp-json\/wp\/v2\/category?post=10450778"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
Follow these steps to create a search page.<\/p>\n\n\n\n
A Search Page is a WordPress Page with a custom Page template to give users more information for searching your site. How to create it? Follow these steps to create a search page. How to test it?<\/p>\n","protected":false},"featured_media":0,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","category":[86,78],"class_list":["post-10450778","helphub_article","type-helphub_article","status-publish","hentry","category-publishing","category-support-guides"],"revision_note":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/documentation\/wp-json\/wp\/v2\/articles\/10450778","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/documentation\/wp-json\/wp\/v2\/articles"}],"about":[{"href":"https:\/\/wordpress.org\/documentation\/wp-json\/wp\/v2\/types\/helphub_article"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/documentation\/wp-json\/wp\/v2\/comments?post=10450778"}],"version-history":[{"count":8,"href":"https:\/\/wordpress.org\/documentation\/wp-json\/wp\/v2\/articles\/10450778\/revisions"}],"predecessor-version":[{"id":16359947,"href":"https:\/\/wordpress.org\/documentation\/wp-json\/wp\/v2\/articles\/10450778\/revisions\/16359947"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/documentation\/wp-json\/wp\/v2\/media?parent=10450778"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wordpress.org\/documentation\/wp-json\/wp\/v2\/category?post=10450778"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}