Ad space

In-article ad

Ad space
eyJ2IjoxLCJiIjoiODk4NzUxMjU0MTU2NDk5MDUwIiwidyI6ImRlbW8iLCJ0IjoiMSJ9.JNwytzxn68dvLH1Z_gmjrF_npbIlkG_5lKkKaJtx68sNq6xmnGUZVOKYtYqT99no2gj0XcjwsZiev9GzFJK0OA

Head extras

Shortcodes in the Centum Theme: Ready-Made Buttons and Alerts

Add a professional touch to your posts with ready-made buttons and alert boxes, without writing any code.

Shortcode examples

Buttons

Write the button shortcode inside the post and it appears as a neat button in the theme colors, ideal for download links and calls to action.

Alerts

Highlight important notes with colored alert boxes: info, warning, or success. All of them work in both light and dark mode.

FAQ

[faq q="Does Centum support AdSense?" a="Yes, the theme has ad spots in the sidebar and inside posts, and it delays loading AdSense until the visitor interacts, to keep the page fast."]

[faq q="Is the theme mobile friendly?" a="Yes, the design is fully responsive on all screens and gets a full score in the mobile test."]

[faq q="Does the theme need coding skills?" a="No, every setting is done from the Blogger dashboard and the Layout page without touching the code."]

Shortcode syntax

Button:

[button url="https://example.com" text="Download the template"]

Alert:

[alert type="info"]Your alert text here[/alert]

Available types: info, success, warning, and error.

Live example

[button url="https://centum-en.blogspot.com/p/sitemap.html" text="Sitemap"]

This is a success alert: it appears in the right colors in both light and dark mode.

Usage tips

  • Do not overuse buttons in one post; one clear button is better than five.
  • Use the warning alert for notes that could hurt the reader if ignored, such as losing data before deleting something.
  • Shortcodes work in posts and static pages alike.
About the author

Ad space