Back to Main Site

Widgets & Sidebars in PolyCMS

Last updated on Aug 24, 2026 1:52 AM 1:52 AM 1,506.17 ms

Widget System Overview

Widgets are modular content blocks that can be placed in theme-defined Widget Areas (sidebars, footer zones, etc.). PolyCMS ships with 9 built-in widgets ready for immediate use.

Built-in Widgets (9 Classes)

WidgetClass FileDescription
Latest PostsLatest_Posts_Widget.phpDisplays recent blog posts with thumbnails, post date, and configurable item count (1 - 20)
Popular PostsPopular_Posts_Widget.phpRanks and displays most-viewed posts based on total views count
CategoriesCategories_Widget.phpLists categories as hierarchical tree or flat list with post count badges
Tags CloudTags_Cloud_Widget.phpVisual tag cloud with proportional font sizing based on tag usage frequency
ArchiveArchive_Widget.phpMonthly/yearly breakdown of published articles with dropdown or list format
Author BioAuthor_Widget.phpDisplays author avatar, biography text, and social profile links
Live SearchSearch_Widget.phpAJAX-powered live search bar with instant dropdown search results
Custom HTMLCustom_HTML_Widget.phpRaw HTML, CSS, JavaScript, or third-party embed container (Google Ads, Maps)
Menu WidgetMenu_Widget.phpRenders any custom navigation menu built in the Menu Builder

Configuring Widgets

Navigate to Blog > Widgets to manage widget placement:

  1. Select a Widget Area - Choose from available areas defined by your active theme (e.g., "Blog Sidebar", "Footer Column 1", "Footer Column 2").
  2. Add Widgets - Drag widgets from the available list into the target area.
  3. Configure - Click each widget to expand settings:
  • Widget title (displayed as heading above widget content)
  • Widget-specific options (e.g., number of posts to show, category to filter, menu selection)
  1. Reorder - Drag widgets within an area to change display order.
  2. Save - Click Save to apply changes.

Widget Areas

Widget Areas are defined by your active theme. The default Head Random theme provides:

  • Blog Sidebar - Right sidebar on archive and single post pages.
  • Footer Widgets - Footer widget zone columns across all frontend pages.

Custom themes can register additional Widget Areas. See Building a Custom Theme for implementation details.

Built-in Shortcodes

Shortcodes provide an easy way to embed dynamic post grids and content blocks directly inside post or page content using bracket syntax.

Available Shortcodes (3 Core Handlers)

ShortcodeParametersDescription
[polycms_post]id, slug, layout (card, list, compact), show_thumbnail, show_excerptEmbed single or multiple posts into pages or articles
[polycms_category]slug, count, columns (2, 3, 4), order (DESC, ASC), orderby (date, views)Renders a responsive post grid filtered by category
[polycms_tag]slug, count, columnsRenders a post grid matching specific tags

Using Shortcodes

Insert shortcode syntax anywhere in the TinyMCE editor content area. PolyCMS parses and renders shortcodes dynamically when the page loads on the frontend.

For creating custom shortcodes, see the Shortcode Development Guide.

Related Documentation

Launch Your CMS for Perfex CRM — Lifetime Access for Just $19
Create blogs, pages, themes, plugins, and manage everything from one powerful unified admin panel.

Early Adopter Advantage

Current pricing reflects the module’s present feature set. As additional plugins, themes, multilingual capabilities, builders (MTBuilder), and ecosystem integrations are released, pricing may be adjusted. Early customers secure today’s price while benefiting from future updates.