Opens in a new tab
A picture of Jeff Brigman
I CODE TODAY FOR
A BETTER TOMORROW

Glossary Term

the_widget()

3 tags 1 category

the_widget() — Outputs an arbitrary widget as a template tag.

Inputs: $widget (string): The widget’s PHP class name (see class-wp-widget.php). $instance (array): Optional. The widget’s instance settings. Default empty array. $args (array): Optional. Array of arguments to configure the display of the widget. Field $before_widget (string): HTML content that will be prepended to the widget’s HTML output. Default <div class=”widget %s”>, where %s is the widget’s class name. Field $after_widget (string): HTML content that will be appended to the widget’s HTML output. Default </div>. Field $before_title (string): HTML content that will be prepended to the widget’s title when displayed. Default <h2 class=”widgettitle”>. Field $after_title (string): HTML content that will be appended to the widget’s title when displayed. Default </h2>.

Term Connections

Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.

Loading term connections…