{"id":24518,"date":"2021-11-04T07:00:30","date_gmt":"2021-11-04T07:00:30","guid":{"rendered":"https:\/\/crocoblock.com\/knowledge-base\/?post_type=article&#038;p=24518"},"modified":"2023-07-28T11:12:50","modified_gmt":"2023-07-28T11:12:50","slug":"how-to-apply-query-count-dynamic-tag-in-dynamic-visibility","status":"publish","type":"article","link":"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/how-to-apply-query-count-dynamic-tag-in-dynamic-visibility\/","title":{"rendered":"How to Apply Query Results Count Dynamic Tag in the Dynamic Visibility Module in Elementor"},"content":{"rendered":"\n<p>With the <a href=\"https:\/\/crocoblock.com\/knowledge-base\/articles\/query-results-count-dynamic-tag-for-wordpress\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Query Results Count<\/strong><\/a> dynamic tag,<strong> <\/strong>you can show the total number of query results and the number of currently visible query results on the page.<\/p>\n\n\n\n<p>The <strong>Query Results Count<\/strong> dynamic tag also works with the <a href=\"https:\/\/crocoblock.com\/knowledge-base\/articles\/jetengine-dynamic-visibility-module-options-overview\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Dynamic Visibility<\/strong><\/a><strong> <\/strong>module. We will show how to use it on the example of a query with <strong>Pagination<\/strong>. How to set it up, you can read <a href=\"https:\/\/crocoblock.com\/knowledge-base\/articles\/query-results-count-dynamic-tag-for-wordpress\/#title2\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>here<\/strong><\/a>.<\/p>\n\n\n\n<p>For example, you have 33 posts, and every pagination page shows five posts, so the last page shows only three posts. When users open the last three posts, they reach the end of the posts list so that they can be provided with such info or links. You can set up such elements with <strong>Dynamic Visibility<\/strong>.<\/p>\n\n\n\n<p>For instance, we have added the <strong>Social Icons <\/strong>widget under the <strong>Listing Grid <\/strong>with <strong>Pagination <\/strong>widgets. Proceed to the <strong>Advanced <\/strong>tab in the <strong>Social Icons <\/strong>and then open the <strong>Dynamic Visibility<\/strong> section and enable the toggle.<\/p>\n\n\n\n<p>Select the <strong>\u201c<\/strong>Show element if condition met\u201d<strong> Visibility condition type<\/strong>. Then click on the <strong>Condition<\/strong> tab and choose the condition. For our case, we have chosen \u201cLess than.\u201d<\/p>\n\n\n\n<p>Hit the <strong>\u201cDynamic Tags\u201d <\/strong>button in the <strong>Field <\/strong>and select the <strong>Query Results Count<\/strong>.<\/p>\n\n\n\n<p>Select the <strong>Query<\/strong> with the <strong>Pagination <\/strong>in the appeared <strong>Settings <\/strong>window<strong> <\/strong>and choose the \u201cCurrently visible query results count (per page)\u201d as <strong>Returned Count. <\/strong><\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/12\/social-icons-1.png\" alt=\"query results count dynamic visibility settings\">\n\n\n\n<p>In the <strong>Value <\/strong>text area, enter the results number. If the number of posts on the page is less than that number, the widget will be shown.<\/p>\n\n\n\n<p>And finally, pick the \u201cNumeric<strong>\u201d Data type<\/strong>.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/12\/dynamic-visibility-2-1.png\" alt=\"dynamic visibility settings\">\n\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\">To make Dynamic Visibility work with the Pagination widget, select the \u201cPage Reload\u201d <strong>Apply type<\/strong> in <strong>Pagination Content<\/strong> settings to trigger dynamic visibility after page rendering.<\/p><\/div><\/div>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/12\/page-reload-1.png\" alt=\"page reload apply type for pagination\">\n\n\n\n<p>Then hit the \u201c<strong>Update\u201d <\/strong>button. Let\u2019s go to the front end and see how visibility works.<\/p>\n\n\n\n<p>As we can see, there are no icons on the first page, where the number of posts is five.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/12\/no-icons-2.png\" alt=\"hidden icons with dynamic visibility\">\n\n\n\n<p>And on the last page, icons successfully appear because the number of posts is three.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/12\/icons-appeared-2.png\" alt=\"dynamic visibility show icons\">\n\n\n\n<p>That\u2019s it. You now know how to apply the Query Results Count <a href=\"https:\/\/crocoblock.com\/knowledge-base\/articles\/jetengine-wordpress-dynamic-content-tag\/\" target=\"_blank\" rel=\"noreferrer noopener\">dynamic tag<\/a> in the Dynamic Visibility module and use it to develop your website.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This overview describes how to apply the Query Results Count dynamic tag in the Dynamic Visibility module from the WordPress JetEngine plugin.<\/p>\n","protected":false},"author":11,"featured_media":0,"template":"","format":"standard","builder-category":[],"article-category":[393,406],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Applying Query Count Dynamic Tag in Dynamic Visibility \u2014 JetEngine | Crocoblock<\/title>\n<meta name=\"description\" content=\"Learn how to apply the Query Results Count Dynamic Tag in the Dynamic Visibility module from the WordPress JetEngine plugin.\" \/>\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\/jetengine\/how-to-apply-query-count-dynamic-tag-in-dynamic-visibility\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Applying Query Count Dynamic Tag in Dynamic Visibility \u2014 JetEngine | Crocoblock\" \/>\n<meta property=\"og:description\" content=\"Learn how to apply the Query Results Count Dynamic Tag in the Dynamic Visibility module from the WordPress JetEngine plugin.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/how-to-apply-query-count-dynamic-tag-in-dynamic-visibility\/\" \/>\n<meta property=\"og:site_name\" content=\"Help Center\" \/>\n<meta property=\"article:modified_time\" content=\"2023-07-28T11:12:50+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/12\/social-icons-1.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\/jetengine\/how-to-apply-query-count-dynamic-tag-in-dynamic-visibility\/\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/how-to-apply-query-count-dynamic-tag-in-dynamic-visibility\/\",\"name\":\"Applying Query Count Dynamic Tag in Dynamic Visibility \u2014 JetEngine | Crocoblock\",\"isPartOf\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#website\"},\"datePublished\":\"2021-11-04T07:00:30+00:00\",\"dateModified\":\"2023-07-28T11:12:50+00:00\",\"description\":\"Learn how to apply the Query Results Count Dynamic Tag in the Dynamic Visibility module from the WordPress JetEngine plugin.\",\"breadcrumb\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/how-to-apply-query-count-dynamic-tag-in-dynamic-visibility\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/how-to-apply-query-count-dynamic-tag-in-dynamic-visibility\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/how-to-apply-query-count-dynamic-tag-in-dynamic-visibility\/#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 Apply Query Results Count Dynamic Tag in the Dynamic Visibility Module in Elementor\"}]},{\"@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":"Applying Query Count Dynamic Tag in Dynamic Visibility \u2014 JetEngine | Crocoblock","description":"Learn how to apply the Query Results Count Dynamic Tag in the Dynamic Visibility module from the WordPress JetEngine plugin.","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\/jetengine\/how-to-apply-query-count-dynamic-tag-in-dynamic-visibility\/","og_locale":"en_US","og_type":"article","og_title":"Applying Query Count Dynamic Tag in Dynamic Visibility \u2014 JetEngine | Crocoblock","og_description":"Learn how to apply the Query Results Count Dynamic Tag in the Dynamic Visibility module from the WordPress JetEngine plugin.","og_url":"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/how-to-apply-query-count-dynamic-tag-in-dynamic-visibility\/","og_site_name":"Help Center","article_modified_time":"2023-07-28T11:12:50+00:00","og_image":[{"url":"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/12\/social-icons-1.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\/jetengine\/how-to-apply-query-count-dynamic-tag-in-dynamic-visibility\/","url":"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/how-to-apply-query-count-dynamic-tag-in-dynamic-visibility\/","name":"Applying Query Count Dynamic Tag in Dynamic Visibility \u2014 JetEngine | Crocoblock","isPartOf":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/#website"},"datePublished":"2021-11-04T07:00:30+00:00","dateModified":"2023-07-28T11:12:50+00:00","description":"Learn how to apply the Query Results Count Dynamic Tag in the Dynamic Visibility module from the WordPress JetEngine plugin.","breadcrumb":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/how-to-apply-query-count-dynamic-tag-in-dynamic-visibility\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/crocoblock.com\/knowledge-base\/jetengine\/how-to-apply-query-count-dynamic-tag-in-dynamic-visibility\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/how-to-apply-query-count-dynamic-tag-in-dynamic-visibility\/#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 Apply Query Results Count Dynamic Tag in the Dynamic Visibility Module in Elementor"}]},{"@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\/24518"}],"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=24518"}],"wp:term":[{"taxonomy":"builder-category","embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/builder-category?post=24518"},{"taxonomy":"article-category","embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/article-category?post=24518"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}