Skip to main content
Documentation/Elements Reference/Dynamic/Widget
Elements Reference

Widget

The Widget element renders a classic WordPress widget anywhere on the page — the same
widgets that traditionally lived in theme sidebars, including ones registered by your
plugins.

Choosing and configuring the widget

The Content tab has a Widget dropdown listing the widgets registered on your
site — a standard WordPress install offers Text, Archives, Categories, Calendar, Recent
Comments, Tag Cloud, RSS, Recent Posts, and Pages, and plugins can add more.

Pick one and an Options row appears below the dropdown. Click its edit button to
open the widget's own settings — the same fields the widget has in the WordPress
widgets screen:

The Widget element with Recent Posts chosen and its options open
The Widget element with Recent Posts chosen and its options open

The canvas renders the widget's real output as you configure it.

On the front end

The element renders a wrapper div (generated per-element class + oxy-widget)
containing the widget's standard WordPress markup — for example, Recent Posts outputs
the usual .widget.widget_recent_entries block with a .widgettitle heading and a
list of links.