{"id":2084,"date":"2026-10-14T04:39:33","date_gmt":"2026-10-14T04:39:33","guid":{"rendered":"https:\/\/shapekode.com\/product\/shapeblock\/?post_type=docs&#038;p=2084"},"modified":"2026-10-18T04:42:34","modified_gmt":"2026-10-18T04:42:34","password":"","slug":"counter","status":"publish","type":"docs","link":"https:\/\/shapekode.com\/product\/shapeblock\/docs\/counter\/","title":{"rendered":"Counter"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">The Counter Block displays animated numerical statistics on your website. You can set starting and ending numbers, add prefixes and suffixes, choose animation styles, display an optional icon and title, and customize the counter\u2019s layout and appearance.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How to Add a Counter Block<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Step 1: Add the Counter Block<\/h3>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li>Open the page or post where you want to display the counter.<\/li>\n\n\n\n<li>Click the <strong>+ (Add Block)<\/strong> button in the Gutenberg editor.<\/li>\n\n\n\n<li>Search for <strong>Counter<\/strong>.<\/li>\n\n\n\n<li>Select the Counter Block to insert it into your page.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"803\" height=\"209\" src=\"https:\/\/shapekode.com\/product\/shapeblock\/wp-content\/uploads\/2026\/10\/image-98.png\" alt=\"\" class=\"wp-image-2441\" srcset=\"https:\/\/shapekode.com\/product\/shapeblock\/wp-content\/uploads\/2026\/10\/image-98.png 803w, https:\/\/shapekode.com\/product\/shapeblock\/wp-content\/uploads\/2026\/10\/image-98-300x78.png 300w, https:\/\/shapekode.com\/product\/shapeblock\/wp-content\/uploads\/2026\/10\/image-98-765x199.png 765w\" sizes=\"auto, (max-width: 803px) 100vw, 803px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Step 2: Configure the Counter Block<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Select the Counter Block and open the block settings panel in the editor. The available tabs are:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Settings:<\/strong> Configure the counter values, animation, prefix, suffix, icon, and title.<\/li>\n\n\n\n<li><strong>Layout:<\/strong> Adjust the positioning, alignment, and spacing of the counter elements.<\/li>\n\n\n\n<li><strong>Style:<\/strong> Customize the number, prefix, suffix, title, and icon appearance.<\/li>\n\n\n\n<li><strong>Advanced:<\/strong> Configure the block\u2019s spacing and background.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Settings Tab<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">1. Counter<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Configure the counter\u2019s content and animation behavior.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Ending Number:<\/strong> Set the final number the counter will display.<\/li>\n\n\n\n<li><strong>Starting Number:<\/strong> Set the initial number from which the counter begins counting. This option is available when the <strong>Normal<\/strong> animation style is selected.<\/li>\n\n\n\n<li><strong>Number Prefix:<\/strong> Add text or a symbol before the number, such as <code>$<\/code> or <code>+<\/code>.<\/li>\n\n\n\n<li><strong>Number Suffix:<\/strong> Add text or a symbol after the number, such as <code>%<\/code>, <code>+<\/code>, or <code>K<\/code>.<\/li>\n\n\n\n<li><strong>Animation Duration (ms):<\/strong> Set how long the counter animation takes in milliseconds.<\/li>\n\n\n\n<li><strong>Separator:<\/strong> Choose how thousands are separated in the displayed number.\n<ul class=\"wp-block-list\">\n<li><strong>Default:<\/strong> Use the default number formatting.<\/li>\n\n\n\n<li><strong>Comma:<\/strong> Separate thousands with commas.<\/li>\n\n\n\n<li><strong>Dot:<\/strong> Separate thousands with dots.<\/li>\n\n\n\n<li><strong>Space:<\/strong> Separate thousands with spaces.<\/li>\n\n\n\n<li><strong>Underline:<\/strong> Separate thousands with underscores.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Animation Style:<\/strong> Choose the counter animation effect.\n<ul class=\"wp-block-list\">\n<li><strong>Normal:<\/strong> Animate the number from the starting value to the ending value.<\/li>\n\n\n\n<li><strong>Odometer:<\/strong> Display a rolling-digit animation.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Show Icon:<\/strong> Enable or disable the icon beside the counter content.<\/li>\n\n\n\n<li><strong>Icon:<\/strong> Choose the icon to display. This option appears when <strong>Show Icon<\/strong> is enabled.<\/li>\n\n\n\n<li><strong>Title:<\/strong> Enter the title or description to display with the counter.<\/li>\n\n\n\n<li><strong>Title Tag:<\/strong> Choose the HTML tag for the title, including H1\u2013H6, P, DIV, or SPAN.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1077\" height=\"755\" src=\"https:\/\/shapekode.com\/product\/shapeblock\/wp-content\/uploads\/2026\/10\/image-99.png\" alt=\"\" class=\"wp-image-2442\" srcset=\"https:\/\/shapekode.com\/product\/shapeblock\/wp-content\/uploads\/2026\/10\/image-99.png 1077w, https:\/\/shapekode.com\/product\/shapeblock\/wp-content\/uploads\/2026\/10\/image-99-300x210.png 300w, https:\/\/shapekode.com\/product\/shapeblock\/wp-content\/uploads\/2026\/10\/image-99-767x538.png 767w, https:\/\/shapekode.com\/product\/shapeblock\/wp-content\/uploads\/2026\/10\/image-99-1024x718.png 1024w\" sizes=\"auto, (max-width: 1077px) 100vw, 1077px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Layout Tab<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">1. Positioning<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Control the arrangement, alignment, and spacing of the counter elements.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Title Position:<\/strong> Choose where the title appears relative to the number: Top, Bottom, Left, or Right. This option appears when a title is entered.<\/li>\n\n\n\n<li><strong>Content Gap (px):<\/strong> Set the spacing between the number content and the title.<\/li>\n\n\n\n<li><strong>Content Vertical Align:<\/strong> Adjust the vertical alignment of the content when the title is positioned to the Left or Right. Available options include Default, Start, Center, and End. This control supports responsive settings.<\/li>\n\n\n\n<li><strong>Prefix\/Suffix Gap (px):<\/strong> Set the spacing between the number and its prefix or suffix. This control supports responsive settings.<\/li>\n\n\n\n<li><strong>Icon Position:<\/strong> Choose where the icon appears: Left, Top, Bottom, or Right. This option appears when <strong>Show Icon<\/strong> is enabled.<\/li>\n\n\n\n<li><strong>Icon Gap (px):<\/strong> Set the spacing between the icon and the counter content. This control supports responsive settings and appears when the icon is enabled.<\/li>\n\n\n\n<li><strong>Icon Vertical Align:<\/strong> Adjust the icon\u2019s vertical alignment when it is positioned on the Left or Right. Available options include Default, Top, Middle, and Bottom.<\/li>\n\n\n\n<li><strong>Alignment:<\/strong> Set the overall counter alignment to Default, Left, Center, or Right. This control supports responsive settings.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"494\" src=\"https:\/\/shapekode.com\/product\/shapeblock\/wp-content\/uploads\/2026\/10\/image-100-1024x494.png\" alt=\"\" class=\"wp-image-2443\" srcset=\"https:\/\/shapekode.com\/product\/shapeblock\/wp-content\/uploads\/2026\/10\/image-100-1024x494.png 1024w, https:\/\/shapekode.com\/product\/shapeblock\/wp-content\/uploads\/2026\/10\/image-100-300x145.png 300w, https:\/\/shapekode.com\/product\/shapeblock\/wp-content\/uploads\/2026\/10\/image-100-768x370.png 768w, https:\/\/shapekode.com\/product\/shapeblock\/wp-content\/uploads\/2026\/10\/image-100.png 1081w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Style Tab<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">1. Number<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Customize the appearance of the main counter number.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Color:<\/strong> Set the number text color.<\/li>\n\n\n\n<li><strong>Typography:<\/strong> Customize the number\u2019s typography, including font settings. This control supports responsive settings.<\/li>\n\n\n\n<li><strong>Stroke Width (px):<\/strong> Set the thickness of the number\u2019s text outline. This control supports responsive settings.<\/li>\n\n\n\n<li><strong>Stroke Color:<\/strong> Choose the outline color of the number.<\/li>\n\n\n\n<li><strong>Text Shadow:<\/strong> Customize the number\u2019s text shadow, including horizontal and vertical offsets, blur, and shadow color.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">2. Prefix<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">This panel appears when a number prefix is entered.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Color:<\/strong> Set the prefix text color.<\/li>\n\n\n\n<li><strong>Typography:<\/strong> Customize the prefix typography, including font settings. This control supports responsive settings.<\/li>\n\n\n\n<li><strong>Text Shadow:<\/strong> Customize the prefix\u2019s text shadow, including offsets, blur, and shadow color.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">3. Suffix<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">This panel appears when a number suffix is entered.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Color:<\/strong> Set the suffix text color.<\/li>\n\n\n\n<li><strong>Typography:<\/strong> Customize the suffix typography, including font settings. This control supports responsive settings.<\/li>\n\n\n\n<li><strong>Text Shadow:<\/strong> Customize the suffix\u2019s text shadow, including offsets, blur, and shadow color.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">4. Title<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">This panel appears when a title is entered.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Color:<\/strong> Set the title text color.<\/li>\n\n\n\n<li><strong>Typography:<\/strong> Customize the title typography, including font settings. This control supports responsive settings.<\/li>\n\n\n\n<li><strong>Text Alignment:<\/strong> Align the title text to the Left, Center, Right, or Justify, or use the Default setting. This control supports responsive settings.<\/li>\n\n\n\n<li><strong>Text Shadow:<\/strong> Customize the title\u2019s text shadow, including offsets, blur, and shadow color.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">5. Icon<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">This panel appears when <strong>Show Icon<\/strong> is enabled.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Color:<\/strong> Set the icon color.<\/li>\n\n\n\n<li><strong>Background:<\/strong> Set the icon background color or gradient.<\/li>\n\n\n\n<li><strong>Box Size (px):<\/strong> Set the dimensions of the icon container.<\/li>\n\n\n\n<li><strong>Icon Size (px):<\/strong> Set the icon size.<\/li>\n\n\n\n<li><strong>Border Radius:<\/strong> Adjust the roundness of the icon container\u2019s corners.<\/li>\n\n\n\n<li><strong>Padding:<\/strong> Set the inner spacing around the icon. This control supports responsive settings.<\/li>\n\n\n\n<li><strong>Border:<\/strong> Customize the icon container\u2019s border.<\/li>\n\n\n\n<li><strong>Box Shadow:<\/strong> Add and customize a shadow around the icon container.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1095\" height=\"730\" src=\"https:\/\/shapekode.com\/product\/shapeblock\/wp-content\/uploads\/2026\/10\/image-101.png\" alt=\"\" class=\"wp-image-2444\" srcset=\"https:\/\/shapekode.com\/product\/shapeblock\/wp-content\/uploads\/2026\/10\/image-101.png 1095w, https:\/\/shapekode.com\/product\/shapeblock\/wp-content\/uploads\/2026\/10\/image-101-300x200.png 300w, https:\/\/shapekode.com\/product\/shapeblock\/wp-content\/uploads\/2026\/10\/image-101-768x512.png 768w, https:\/\/shapekode.com\/product\/shapeblock\/wp-content\/uploads\/2026\/10\/image-101-1024x683.png 1024w\" sizes=\"auto, (max-width: 1095px) 100vw, 1095px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Advanced Tab<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">1. Spacing<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Control the spacing around the entire Counter Block.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Padding:<\/strong> Set the inner spacing of the Counter Block. Responsive settings may be available.<\/li>\n\n\n\n<li><strong>Margin:<\/strong> Set the outer spacing around the Counter Block. Responsive settings may be available.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">2. Background<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Customize the background of the entire Counter Block.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Background:<\/strong> Set a background color or gradient for the block.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>The Counter Block displays animated numerical statistics on your website. You can set starting and ending numbers, add prefixes and suffixes, choose animation styles, display an optional icon and title, and customize the counter\u2019s layout and appearance. How to Add a Counter Block Step 1: Add the Counter Block Step 2: Configure the Counter Block [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"doc_category":[19],"doc_tag":[],"class_list":["post-2084","docs","type-docs","status-publish","hentry","doc_category-showcase-block"],"year_month":"2026-10","word_count":895,"total_views":"4","reactions":{"happy":"0","normal":"0","sad":"0"},"author_info":{"name":"Sojib","author_nicename":"shapekode-admin","author_url":"https:\/\/shapekode.com\/product\/shapeblock\/author\/shapekode-admin\/"},"doc_category_info":[{"term_name":"Showcase Block","term_url":"https:\/\/shapekode.com\/product\/shapeblock\/docs-category\/showcase-block\/"}],"doc_tag_info":[],"_links":{"self":[{"href":"https:\/\/shapekode.com\/product\/shapeblock\/wp-json\/wp\/v2\/docs\/2084","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/shapekode.com\/product\/shapeblock\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/shapekode.com\/product\/shapeblock\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/shapekode.com\/product\/shapeblock\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/shapekode.com\/product\/shapeblock\/wp-json\/wp\/v2\/comments?post=2084"}],"version-history":[{"count":1,"href":"https:\/\/shapekode.com\/product\/shapeblock\/wp-json\/wp\/v2\/docs\/2084\/revisions"}],"predecessor-version":[{"id":2445,"href":"https:\/\/shapekode.com\/product\/shapeblock\/wp-json\/wp\/v2\/docs\/2084\/revisions\/2445"}],"wp:attachment":[{"href":"https:\/\/shapekode.com\/product\/shapeblock\/wp-json\/wp\/v2\/media?parent=2084"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/shapekode.com\/product\/shapeblock\/wp-json\/wp\/v2\/doc_category?post=2084"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/shapekode.com\/product\/shapeblock\/wp-json\/wp\/v2\/doc_tag?post=2084"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}