The Block plugin allows you to create boxes of content, which are rendered into an area, or region, of one or more pages of a website. The core’s Frontend theme, for example, implements the regions “Right Sidebar” and “Site Footer”, and a block may appear in any one of these regions. The Blocks administration page provides an interface for assigning a block to a region, and for controlling the order of blocks within regions.
When working with blocks, remember that all themes do not implement the same regions, or display regions in the same way. Blocks are positioned on a per-theme basis. Users with permissions can disable blocks. Disabled blocks are listed on the Blocks administration page, but are not displayed in any region.
Blocks can be configured to be visible only on certain pages, only to users of certain roles. Some dynamic blocks, such as those generated by plugins, will be displayed only on certain pages.
Creating custom blocks¶
Users with permissions can add custom blocks, which are then listed on the Blocks administration page. Once created, custom blocks behave just like default and plugin-generated blocks.