Widgets

Nova includes some widgets available to all brands. These are registered in the Widget_Manager (opens in a new tab).

Widgets that aren't built into Nova, but should be included for all brands, should be added through the Nova Core plugin dependencies or by loading the plugin for a single brand.

Supporting Larva and Nova in a widget

Widgets that are bundled with other PMC plugins often need to render their output through a component provided by the design system used by a brand's theme. In these cases, the pmc_using_nova_theme() function is used in the widget's widget() method, along with each design system's rendering utilities.