{"id":28106,"date":"2022-04-22T13:49:01","date_gmt":"2022-04-22T13:49:01","guid":{"rendered":"https:\/\/crocoblock.com\/knowledge-base\/?post_type=article&#038;p=28106"},"modified":"2023-12-21T14:56:23","modified_gmt":"2023-12-21T14:56:23","slug":"jetsmartfilters-setting-ajax-request-type","status":"publish","type":"article","link":"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/jetsmartfilters-setting-ajax-request-type\/","title":{"rendered":"How to Set AJAX Request Type"},"content":{"rendered":"\n<p>Head to <strong><em>WordPress Dashboard &gt; SmartFilters &gt; Settings<\/em><\/strong>. Here open the <strong>Ajax Request Type <\/strong>tab to adjust the needed settings.<\/p>\n\n\n\n<p>Let\u2019s find out about all the available options.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/02\/jetsmartfilters-ajax-request-type-full.png\" alt=\"jetsmartfilters ajax request type\">\n\n\n\n<ul>\n<li><strong>Default <\/strong>\u2014 the most standard type that works perfectly with third-party plugins and caching. However, mind that dynamic arguments don\u2019t work with this specific type;&nbsp;<\/li>\n\n\n\n<li><strong>Referrer <\/strong>\u2014 the type that sends the request to the same default URL, so it\u2019s pretty similar to the previous one. Its advantage is that it also works with dynamic arguments. Though, mind that not all requests are processed correctly, and it works a little slower than the <strong>Default <\/strong>type;<\/li>\n\n\n\n<li><strong>Self <\/strong>\u2014 the type that sends the request to the current page. All the query arguments will work the same way as on the processed page.<\/li>\n<\/ul>\n\n\n<div class=\"note-banner d-flex border-bold border-jetsmartfilters 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=\"M1 21H23L12 2L1 21ZM13 18H11V16H13V18ZM13 14H11V10H13V14Z\" fill=\"#FA5450\"\/><\/svg><\/div><div class=\"d-flex flex-column\"><div class=\"text-900 mb-12\">Warning<\/div><p class=\"m-0\">For static caching, we recommend that you enable the \"Don\u2019t cache URLs with GET parameters\" setting in the caching plugin you are using. This needs to be done because the original cached page will be displayed after the AJAX filter runs.<\/p><\/div><\/div>\n\n\n\n<p>Now you can check the filter settings in the editor. So open the needed page in the preferred editor. For instance, let\u2019s look at the <a href=\"https:\/\/crocoblock.com\/knowledge-base\/articles\/jetsmartfilters-how-to-create-checkboxes-list-filter-with-posts-data-source\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Checkboxes Filter<\/strong><\/a><strong> <\/strong>settings in Elementor Page Builder.<\/p>\n\n\n\n<p>As you can see, the <strong>Apply type <\/strong>is set to \u201cAJAX.\u201d<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/02\/filter-example-in-elementor-full.png\" alt=\"filter example in elementor\">\n\n\n\n<p>The same settings are available in the Block Editor.<\/p>\n\n\n\n<p>Press the \u201c<strong>Publish<\/strong>\u201d button to complete the work with the form.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/02\/filter-example-in-block-editor-full.png\" alt=\"filter example in block editor\">\n\n\n\n<p>Once the form is displayed on the page, you can select the desired options to filter the content.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/02\/filtered-content-on-the-front-end-full.png\" alt=\"filtered content on the front end\">\n\n\n\n<p>Also, check our tutorial on <a href=\"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/how-to-add-provider-preloader-to-filters\/\" target=\"_blank\" rel=\"noreferrer noopener\">How to Add a Provider Preloader to Filters on the Front End<\/a> for the &#8220;AJAX&#8221; <strong>Apply type<\/strong>. <\/p>\n\n\n\n<p>That\u2019s it; the filter is working correctly with the AJAX request type adjusted in the <em>JetSmartFilters <\/em>settings.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Discover more about the AJAX request type used with the filters available with the JetSmartFilters plugin.<\/p>\n","protected":false},"author":11,"featured_media":0,"template":"","format":"standard","builder-category":[],"article-category":[416],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Set AJAX Request Type \u2014 JetSmartFilters | Crocoblock<\/title>\n<meta name=\"description\" content=\"Learn about setting the AJAX request type for the filters made with the JetSmartFilters plugin and WordPress Block Editor or Eelementor free version.\" \/>\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\/jetsmartfilters\/jetsmartfilters-setting-ajax-request-type\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Set AJAX Request Type \u2014 JetSmartFilters | Crocoblock\" \/>\n<meta property=\"og:description\" content=\"Learn about setting the AJAX request type for the filters made with the JetSmartFilters plugin and WordPress Block Editor or Eelementor free version.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/jetsmartfilters-setting-ajax-request-type\/\" \/>\n<meta property=\"og:site_name\" content=\"Help Center\" \/>\n<meta property=\"article:modified_time\" content=\"2023-12-21T14:56:23+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/02\/jetsmartfilters-ajax-request-type-full.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=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/jetsmartfilters-setting-ajax-request-type\/\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/jetsmartfilters-setting-ajax-request-type\/\",\"name\":\"How to Set AJAX Request Type \u2014 JetSmartFilters | Crocoblock\",\"isPartOf\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#website\"},\"datePublished\":\"2022-04-22T13:49:01+00:00\",\"dateModified\":\"2023-12-21T14:56:23+00:00\",\"description\":\"Learn about setting the AJAX request type for the filters made with the JetSmartFilters plugin and WordPress Block Editor or Eelementor free version.\",\"breadcrumb\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/jetsmartfilters-setting-ajax-request-type\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/jetsmartfilters-setting-ajax-request-type\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/jetsmartfilters-setting-ajax-request-type\/#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 Set AJAX Request Type\"}]},{\"@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 Set AJAX Request Type \u2014 JetSmartFilters | Crocoblock","description":"Learn about setting the AJAX request type for the filters made with the JetSmartFilters plugin and WordPress Block Editor or Eelementor free version.","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\/jetsmartfilters\/jetsmartfilters-setting-ajax-request-type\/","og_locale":"en_US","og_type":"article","og_title":"How to Set AJAX Request Type \u2014 JetSmartFilters | Crocoblock","og_description":"Learn about setting the AJAX request type for the filters made with the JetSmartFilters plugin and WordPress Block Editor or Eelementor free version.","og_url":"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/jetsmartfilters-setting-ajax-request-type\/","og_site_name":"Help Center","article_modified_time":"2023-12-21T14:56:23+00:00","og_image":[{"url":"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/02\/jetsmartfilters-ajax-request-type-full.png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/jetsmartfilters-setting-ajax-request-type\/","url":"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/jetsmartfilters-setting-ajax-request-type\/","name":"How to Set AJAX Request Type \u2014 JetSmartFilters | Crocoblock","isPartOf":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/#website"},"datePublished":"2022-04-22T13:49:01+00:00","dateModified":"2023-12-21T14:56:23+00:00","description":"Learn about setting the AJAX request type for the filters made with the JetSmartFilters plugin and WordPress Block Editor or Eelementor free version.","breadcrumb":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/jetsmartfilters-setting-ajax-request-type\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/jetsmartfilters-setting-ajax-request-type\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/jetsmartfilters-setting-ajax-request-type\/#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 Set AJAX Request Type"}]},{"@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\/28106"}],"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=28106"}],"wp:term":[{"taxonomy":"builder-category","embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/builder-category?post=28106"},{"taxonomy":"article-category","embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/article-category?post=28106"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}