Add unlimited extra HTML content blocks to pages, posts, and custom post types. A perfect solution for layouts with distinct content “blocks”, such as a sidebar or multi-column view. When editing content, the secondary editors appear beneath the usual editor.
Name the new content blocks you want to create anything you like, and assign each block to any of your site’s public post types (posts, pages, etc). Hierarchical post types, like pages, can optionally inherit their content from ancestors (including their parent page); perfect for section wide sidebars. Each block can individually be customized to offer media buttons and the full or more stripped down version of the editor.
Secondary content can be added to your site by using the Secondary HTML Content widget. Theme developers can also call secondary blocks by using the built in functions (see “Installation”).
REQUIRES WordPress 3.3 or newer.
Outputting Secondary Blocks in Your Theme
the_secondary_content( 'More Info', 20 );
Prints out content from the secondary block named “More Info” assigned to page ID 20.
the_secondary_content( 'Contact Information' );
Prints out content from the secondary block named “Contact Information” for the current post.
Prints out content from the first secondary block assigned to the current post type, for the current post. Useful in situations where there is only one secondary content block.