{"id":27484,"date":"2022-03-28T08:33:18","date_gmt":"2022-03-28T08:33:18","guid":{"rendered":"https:\/\/crocoblock.com\/knowledge-base\/?post_type=article&#038;p=27484"},"modified":"2023-07-19T09:48:01","modified_gmt":"2023-07-19T09:48:01","slug":"jetthemecore-how-to-create-wordpress-page-template-for-certain-request","status":"publish","type":"article","link":"https:\/\/crocoblock.com\/knowledge-base\/jetthemecore\/jetthemecore-how-to-create-wordpress-page-template-for-certain-request\/","title":{"rendered":"How to Create WordPress Page Template for Certain Requests"},"content":{"rendered":"\n<p>With the <strong>JetThemeCore 2.0 plugin version<\/strong>, you can create page templates in the <strong><em>Crocoblock &gt; Theme Builder <\/em><\/strong>Dashboard tab, add header, body, and footer to them, and set the <strong><a href=\"https:\/\/crocoblock.com\/knowledge-base\/articles\/jetthemecore-templates-conditions-overview\/\" target=\"_blank\" rel=\"noreferrer noopener\">conditions<\/a><\/strong>,<strong> <\/strong>which can also be applied to the dedicated template.<\/p>\n\n\n\n<p>To create the templates for certain requests, you can set the <strong>conditions <\/strong>in two ways. Also, we will describe how to set the condition with the <strong>JetSearch<\/strong> and <strong>JetSmartFilters <\/strong>plugins.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"url-parameter\">How to Create a New Page Template with the URL Parameter Condition<\/h2>\n\n\n\n<div class=\"wp-block-group is-layout-constrained wp-block-group-is-layout-constrained\"><div class=\"wp-block-group__inner-container\">\n<p>To create a new page template, navigate to <strong><em>Crocoblock &gt; Theme Builder <\/em><\/strong>and hit the <strong>\u201cCreate new page template\u201d <\/strong>button.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/theme-builder-2.png\" alt=\"crocoblock theme builder\">\n\n\n\n<p>Click on the <strong>\u201cAdd Condition\u201d <\/strong>button.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/create-page-template-2.png\" alt=\"add condition button\">\n\n\n\n<p>Select the \u201cInclude\u201d (or \u201cExclude\u201d if you want to hide the template on some devices), \u201cAdvanced,\u201d \u201cURL Parameter\u201d options. In the last field, enter a query string (for example, s=wonderful, or qwerty=123). We will further write about query strings in more detail when sharing the use case.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/template-condition-editing-2.png\">\n\n\n\n<p>Then, push the <strong>\u201cSave\u201d<\/strong> button.<\/p>\n\n\n\n<p>In the newly created <strong>Page Template <\/strong>window, click on one of the buttons (<strong>\u201cAdd header,\u201d \u201cAdd body,\u201d<\/strong> or <strong>\u201cAdd footer\u201d<\/strong>) to add a template to the page with the \u201cURL Parameter\u201d condition.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/page-template-header-body-footer-addition-2.png\" alt=\"page template header body footer addition\">\n\n\n\n<p>Hit the <strong>\u201cCreate template\u201d <\/strong>button or add the previously created template to the page by pressing \u201c<strong>Add from<\/strong> <strong>library<\/strong>.\u201d<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/create-template-or-add-from-library-to-the-page-template-2.png\" alt=\"create a template or add from library to the page template\">\n\n\n\n<p>You can create a new template in the Elementor editor or WordPress Block Editor (Gutenberg). For that, select the needed <strong>Template content type. <\/strong>Then, enter the <strong>Template name <\/strong>and press the <strong>\u201cCreate\u201d <\/strong>button.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/elementor-or-block-editor-template-content-type-2.png\" alt=\"create a template or add from library to the page template\">\n\n\n\n<p>After the template creation, click on the <strong>\u201cGo to editor\u201d <\/strong>button to proceed to the Elementor or Gutenberg<strong> <\/strong>editor. If you press the <strong>\u201cEdit later<\/strong>\u201d button, you will return to the <strong>Theme Builder <\/strong>page.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/go-to-editor-2.png\" alt=\"go to editor button\">\n\n\n\n<p>You can add the template from the library by clicking on the <strong>\u201cAdd from library\u201d <\/strong>button. All newly created or editing-ready templates will be kept here even if you remove them from the Page Template.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/template-library-2.png\" alt=\"template library\">\n<\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"template\">How to Add the URL Parameter Condition to the Dedicated Template<\/h2>\n\n\n\n<div class=\"wp-block-group is-layout-constrained wp-block-group-is-layout-constrained\"><div class=\"wp-block-group__inner-container\">\n<p>To add the URL Parameter condition to the existing template, proceed to <strong><em>Crocoblock &gt; Theme Templates <\/em><\/strong>and hit the <strong>\u201cEdit Condition\u201d<\/strong> button in the needed template.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/theme-templates-2.png\" alt=\"edit conditions\">\n\n\n\n<p>Hit the <strong>\u201cAdd condition\u201d <\/strong>button.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/set-the-page-template-visibitity-conditions-2.png\" alt=\"add condition button\">\n\n\n\n<p>Select the \u201cInclude\u201d (or \u201cExclude\u201d if you want to hide the template on some devices), \u201cAdvanced,\u201d \u201cURL Parameter\u201d options. In the last field, enter a query string (for example, s=wonderful, or qwerty=123).<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/add-url-parameter-condition-2.png\" alt=\"header with URL parameter condition\">\n\n\n\n<p>Finally, hit the <strong>\u201cSave Conditions\u201d <\/strong>button.<\/p>\n<\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"jetsearch\">How to Use the URL Parameter Condition with the JetSearch Plugin<\/h2>\n\n\n\n<div class=\"wp-block-group is-layout-constrained wp-block-group-is-layout-constrained\"><div class=\"wp-block-group__inner-container\">\n<p>You can place the <a href=\"https:\/\/crocoblock.com\/widgets\/ajax-search\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Ajax Search<\/strong><\/a> widget anywhere on the website, but the most suitable spot is in the header.<\/p>\n\n\n\n<p>Proceed to <strong><em>Crocoblock &gt; Theme Templates <\/em><\/strong>and click on the <strong>\u201cAdd New\u201d <\/strong>button to create a new header or edit the existing one. Keep in mind that the header must be created in the Elementor editor.<\/p>\n\n\n\n<p>In the Elementor editor, drag-n-drop the <strong>Ajax Search <\/strong>widget to the header and style and customize it to your needs. Then, hit the <strong>\u201cPublish\u201d<\/strong> or <strong>\u201cUpdate\u201d <\/strong>button.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/ajax-search-2.png\" alt=\"ajax search widget in the header\">\n\n\n\n<p>Let\u2019s create the<strong> Page Template <\/strong>for the \u201cwonderful\u201d request.<\/p>\n\n\n\n<p>We\u2019ve moved to <strong><em>Crocoblock &gt; Theme Builder <\/em><\/strong>and pushed the <strong>\u201cCreate new page template\u201d <\/strong>button.<\/p>\n\n\n\n<p>In the page template visibility conditions window, we\u2019ve selected the \u201cInclude,\u201d \u201cAdvanced,\u201d \u201cURL Parameter\u201d options. In the last field, we\u2019ve entered a query string \u201cs=wonderful,\u201d then hit the <strong>\u201cSave\u201d <\/strong>button.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/template-condition-editing-2.png\" alt=\"advanced URL parameter condition\">\n\n\n\n<p>We\u2019ve decided to add the header and footer from the library and created the body from scratch.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/header-and-footer-templates-from-the-library-2.png\" alt=\"header and footer templates from the library\">\n\n\n\n<p>We\u2019ve pressed the <strong>\u201cAdd body\u201d<\/strong> and <strong>\u201cCreate template\u201d<\/strong> buttons. Then, we\u2019ve selected the \u201cElementor\u201d <strong>Template content type<\/strong>, entered the <strong>Template name<\/strong>, and pushed the <strong>\u201cCreate\u201d <\/strong>button.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/body-template-creation-2.png\" alt=\"body template creation\">\n\n\n\n<p>We\u2019ve ticked the <strong>\u201cGo to editor\u201d <\/strong>button and proceeded to the Elementor editor.<\/p>\n\n\n\n<p>You can add any content to the template. We\u2019ve chosen to add the <strong>JetEngine <\/strong><a href=\"https:\/\/crocoblock.com\/knowledge-base\/articles\/jetengine-listing-grid-widget-overview\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Listing Grid<\/strong><\/a> widget with tours here. Then, we\u2019ve hit the <strong>\u201cUpdate\u201d <\/strong>button.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/jetengine-listing-grid-widget-in-the-body-template-2.png\" alt=\"jetengine listing grid widget in the body template\">\n\n\n\n<p>We\u2019ve navigated to the front end with the <strong>Ajax Search <\/strong>widget and entered the \u201cwonderful\u201d request.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/wonderful-request-2.png\" alt=\"request\">\n\n\n\n<p>As you can see, the page template is applied to the request.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/page-template-for-the-certain-request-2.png\" alt=\"page template for the certain request\">\n\n\n\n<p>In the search string, you can see the URL parameter that we\u2019ve entered into the condition.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/URL-parameter-2.png\" alt=\"URL parameter\">\n\n\n\n<p>If we had entered another request, for instance, \u201cwild nature,\u201d the default templates would be applied.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/default-template-page-for-another-request-2.png\" alt=\"default template page for another request\">\n<\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"jetsmartfilters\">How to Use the URL Parameter Condition with the JetSmartFilters Plugin<\/h2>\n\n\n\n<div class=\"wp-block-group is-layout-constrained wp-block-group-is-layout-constrained\"><div class=\"wp-block-group__inner-container\">\n<p>Be aware that the <em><a href=\"https:\/\/crocoblock.com\/plugins\/jetsmartfilters\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>JetSmartFilters<\/strong><\/a> <\/em>plugin works only with <strong>Elementor Pro<\/strong>, <strong>JetEngine<\/strong>, and <strong>JetWooBuilder<\/strong><em> <\/em>plugins.<\/p>\n\n\n\n<p>How to create the <strong>Search Filter<\/strong>,<strong> <\/strong>you can read more details in this <a href=\"https:\/\/crocoblock.com\/knowledge-base\/articles\/jetsmartfilters-how-to-create-a-search-filter\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>tutorial<\/strong><\/a>.<\/p>\n\n\n\n<p>We\u2019ve proceeded to the <strong>Smart Filters <\/strong>tab on the WordPress Dashboard and hit the <strong>\u201cAdd New\u201d <\/strong>button.<\/p>\n\n\n\n<p>In the <strong>Filter Settings <\/strong>tab, we\u2019ve selected the \u201cSearch\u201d <strong>Filter Type <\/strong>and <strong>Search by <\/strong>\u201cDefault WordPress search.\u201d Then, we\u2019ve pushed the <strong>\u201cPublished\u201d <\/strong>button.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/search-filter-settings-2.png\" alt=\"search filter settings\">\n\n\n\n<div class=\"note-banner d-flex border-bold border-jetthemecore rounded overflow-hidden p-20\"><div class=\"mr-12\"><svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M9 21C9 21.5 9.4 22 10 22H14C14.6 22 15 21.5 15 21V20H9V21ZM12 2C8.1 2 5 5.1 5 9C5 11.4 6.2 13.5 8 14.7V17C8 17.5 8.4 18 9 18H15C15.6 18 16 17.5 16 17V14.7C17.8 13.4 19 11.3 19 9C19 5.1 15.9 2 12 2Z\" fill=\"#F2D23C\"\/><\/svg><\/div><div class=\"d-flex flex-column\"><div class=\"text-900 mb-12\">Things to know<\/div><p class=\"m-0\">Keep in mind that the filter better be placed on the same page or template with the posts that will be filtered.<\/p><\/div><\/div>\n\n\n\n<p>On the page edited in the Gutenberg editor, we\u2019ve placed the <strong>Search <\/strong>filter block and the <a href=\"https:\/\/crocoblock.com\/knowledge-base\/articles\/jetengine-listing-grid-widget-overview\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Listing Grid<\/strong><\/a> with posts.<\/p>\n\n\n\n<p>In the <strong>General <\/strong>settings, we\u2019ve selected the created filter, the \u201cListing grid\u201d option and the \u201cPage reload\u201d <strong>Apply type.<\/strong><\/p>\n\n\n\n<div class=\"note-banner d-flex border-bold border-jetthemecore rounded overflow-hidden p-20\"><div class=\"mr-12\"><svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M9 21C9 21.5 9.4 22 10 22H14C14.6 22 15 21.5 15 21V20H9V21ZM12 2C8.1 2 5 5.1 5 9C5 11.4 6.2 13.5 8 14.7V17C8 17.5 8.4 18 9 18H15C15.6 18 16 17.5 16 17V14.7C17.8 13.4 19 11.3 19 9C19 5.1 15.9 2 12 2Z\" fill=\"#F2D23C\"\/><\/svg><\/div><div class=\"d-flex flex-column\"><div class=\"text-900 mb-12\">Things to know<\/div><p class=\"m-0\">Be aware that the template will be applied only to the Search filter with the \u201cPage reload\u201d Apply type.<\/p><\/div><\/div>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/search-filter-in-the-gutenberg-editor-2.png\" alt=\"search filter in the Gutenberg editor\">\n\n\n\n<p>We\u2019ve clicked on the <strong>\u201cUpdate\u201d <\/strong>button.<\/p>\n\n\n\n<p>When we proceeded to the front end, entered the \u201cwonderful\u201d request, and applied the filter, we saw the \u201cjsf=jet-engine&amp;_s=wonderful\u201d URL parameter and copied it.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/search-filter-url-parameter-2.png\" alt=\"search filter URL parameter\">\n\n\n\n<p>We\u2019ve moved to <strong><em>Crocoblock &gt; Theme Builder <\/em><\/strong>and pushed the <strong>\u201cCreate new page template\u201d <\/strong>button to create the page template for the \u201cwonderful\u201d request.<\/p>\n\n\n\n<p>In the page template visibility conditions window, we\u2019ve selected the \u201cInclude,\u201d \u201cAdvanced,\u201d \u201cURL Parameter\u201d options. In the last field, we\u2019ve entered a query string \u201cjsf=jet-engine&amp;_s=wonderful,\u201d then hit the <strong>\u201cSave\u201d <\/strong>button.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/page-template-condition-for-the-search-filter-2.png\" alt=\"page template condition for the search filter\">\n\n\n\n<p>To the page template with such a condition, we\u2019ve added header, body, and footer from the template library.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/page-template-with-the-condition-for-the-search-filter-2.png\" alt=\"page template with the condition for the search filter\">\n\n\n\n<p>We\u2019ve moved to the front end and entered the \u201cwonderful\u201d request. The page template has been applied to the request.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/page-template-is-applied-to-the-request-2.png\" alt=\"page template is applied to the request\">\n<\/div><\/div>\n\n\n\n<p>That\u2019s it. Now you know how to set the URL parameter condition to a certain request and use it with the JetSearch and JetSmartFilters plugins.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This tutorial describes creating page templates for certain requests and adding such a condition to the dedicated header, body, or footer template with the JetThemeCore WordPress plugin.<\/p>\n","protected":false},"author":11,"featured_media":0,"template":"","format":"standard","builder-category":[],"article-category":[415],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Create WordPress Page Template for Certain Request \u2014 JetThemeCore | Crocoblock<\/title>\n<meta name=\"description\" content=\"This tutorial describes setting the URL parameter condition for certain requests to page templates using the JetThemeCore WordPress plugin and adding such a condition to the dedicated header, body, and footer templates.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/crocoblock.com\/knowledge-base\/jetthemecore\/jetthemecore-how-to-create-wordpress-page-template-for-certain-request\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Create WordPress Page Template for Certain Request \u2014 JetThemeCore | Crocoblock\" \/>\n<meta property=\"og:description\" content=\"This tutorial describes setting the URL parameter condition for certain requests to page templates using the JetThemeCore WordPress plugin and adding such a condition to the dedicated header, body, and footer templates.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/crocoblock.com\/knowledge-base\/jetthemecore\/jetthemecore-how-to-create-wordpress-page-template-for-certain-request\/\" \/>\n<meta property=\"og:site_name\" content=\"Help Center\" \/>\n<meta property=\"article:modified_time\" content=\"2023-07-19T09:48:01+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/theme-builder-2.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"10 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/jetthemecore\/jetthemecore-how-to-create-wordpress-page-template-for-certain-request\/\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/jetthemecore\/jetthemecore-how-to-create-wordpress-page-template-for-certain-request\/\",\"name\":\"How to Create WordPress Page Template for Certain Request \u2014 JetThemeCore | Crocoblock\",\"isPartOf\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#website\"},\"datePublished\":\"2022-03-28T08:33:18+00:00\",\"dateModified\":\"2023-07-19T09:48:01+00:00\",\"description\":\"This tutorial describes setting the URL parameter condition for certain requests to page templates using the JetThemeCore WordPress plugin and adding such a condition to the dedicated header, body, and footer templates.\",\"breadcrumb\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/jetthemecore\/jetthemecore-how-to-create-wordpress-page-template-for-certain-request\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/crocoblock.com\/knowledge-base\/jetthemecore\/jetthemecore-how-to-create-wordpress-page-template-for-certain-request\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/jetthemecore\/jetthemecore-how-to-create-wordpress-page-template-for-certain-request\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/crocoblock.com\/knowledge-base\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Articles\",\"item\":\"https:\/\/crocoblock.com\/knowledge-base\/articles\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"How to Create WordPress Page Template for Certain Requests\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#website\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/\",\"name\":\"Help Center\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/crocoblock.com\/knowledge-base\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#organization\",\"name\":\"Help Center\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/04\/invert-crocoblock-logo.svg\",\"contentUrl\":\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/04\/invert-crocoblock-logo.svg\",\"caption\":\"Help Center\"},\"image\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Create WordPress Page Template for Certain Request \u2014 JetThemeCore | Crocoblock","description":"This tutorial describes setting the URL parameter condition for certain requests to page templates using the JetThemeCore WordPress plugin and adding such a condition to the dedicated header, body, and footer templates.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/crocoblock.com\/knowledge-base\/jetthemecore\/jetthemecore-how-to-create-wordpress-page-template-for-certain-request\/","og_locale":"en_US","og_type":"article","og_title":"How to Create WordPress Page Template for Certain Request \u2014 JetThemeCore | Crocoblock","og_description":"This tutorial describes setting the URL parameter condition for certain requests to page templates using the JetThemeCore WordPress plugin and adding such a condition to the dedicated header, body, and footer templates.","og_url":"https:\/\/crocoblock.com\/knowledge-base\/jetthemecore\/jetthemecore-how-to-create-wordpress-page-template-for-certain-request\/","og_site_name":"Help Center","article_modified_time":"2023-07-19T09:48:01+00:00","og_image":[{"url":"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/theme-builder-2.png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"10 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/crocoblock.com\/knowledge-base\/jetthemecore\/jetthemecore-how-to-create-wordpress-page-template-for-certain-request\/","url":"https:\/\/crocoblock.com\/knowledge-base\/jetthemecore\/jetthemecore-how-to-create-wordpress-page-template-for-certain-request\/","name":"How to Create WordPress Page Template for Certain Request \u2014 JetThemeCore | Crocoblock","isPartOf":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/#website"},"datePublished":"2022-03-28T08:33:18+00:00","dateModified":"2023-07-19T09:48:01+00:00","description":"This tutorial describes setting the URL parameter condition for certain requests to page templates using the JetThemeCore WordPress plugin and adding such a condition to the dedicated header, body, and footer templates.","breadcrumb":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/jetthemecore\/jetthemecore-how-to-create-wordpress-page-template-for-certain-request\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/crocoblock.com\/knowledge-base\/jetthemecore\/jetthemecore-how-to-create-wordpress-page-template-for-certain-request\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/crocoblock.com\/knowledge-base\/jetthemecore\/jetthemecore-how-to-create-wordpress-page-template-for-certain-request\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/crocoblock.com\/knowledge-base\/"},{"@type":"ListItem","position":2,"name":"Articles","item":"https:\/\/crocoblock.com\/knowledge-base\/articles\/"},{"@type":"ListItem","position":3,"name":"How to Create WordPress Page Template for Certain Requests"}]},{"@type":"WebSite","@id":"https:\/\/crocoblock.com\/knowledge-base\/#website","url":"https:\/\/crocoblock.com\/knowledge-base\/","name":"Help Center","description":"","publisher":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/crocoblock.com\/knowledge-base\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/crocoblock.com\/knowledge-base\/#organization","name":"Help Center","url":"https:\/\/crocoblock.com\/knowledge-base\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/crocoblock.com\/knowledge-base\/#\/schema\/logo\/image\/","url":"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/04\/invert-crocoblock-logo.svg","contentUrl":"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/04\/invert-crocoblock-logo.svg","caption":"Help Center"},"image":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/article\/27484"}],"collection":[{"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/article"}],"about":[{"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/types\/article"}],"author":[{"embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/users\/11"}],"wp:attachment":[{"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/media?parent=27484"}],"wp:term":[{"taxonomy":"builder-category","embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/builder-category?post=27484"},{"taxonomy":"article-category","embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/article-category?post=27484"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}