=== Secondary HTML Content ===
Contributors: Jacob M Goldman (C. Murray Consulting)
Donate link: http://www.cmurrayconsulting.com/software/wordpress-secondary-html-content/
Tags: tracking, analytics, marketo
Requires at least: 2.8
Tested up to: 2.8.4
Stable tag: 1.0
Add a secondary block of HTML content to WordPress pages. A perfect solution for layouts with two
distinct content areas or "blocks", such as a sidebar or two column view. Easily turn the new content block
into a sidebar element with the included widget, or call into the template using `get_the_content_2()` or
`the_content_2()`!
== Description ==
Add a second block of HTML content to WordPress pages. A perfect solution for layouts with two distinct
content areas or "blocks", such as a sidebar or two column view. When editing a page, a second WordPress
WYSIWYG content editor will appear beneath the standard page editing block.
The content in this second block can be used by adding the new widget ("Content Block 2") to your sidebar,
or calling in the content in your template.
To echo its content on the page, use the function `the_content_2()`. To retrieve the content without echoing
it onto the page, use `get_the_content_2()`. Both functions optionally take a page ID parameter which, if
provided, will return the secondary content for that page. When no page ID is provided, the functions will
attempt to retrieve the secondary content for the current page.
A future update will include some configuration options, including an option to add the feature to posts
(the feature is "pages" only for now) and an option to specify a heading for the widget.
== Installation ==
1. Install easily with the WordPress plugin control panel or manually download the plugin and upload the extracted
folder to the `/wp-content/plugins/` directory
2. Activate the plugin through the 'Plugins' menu in WordPress
3. Start entering secondary page content! Output using the widget by going to the widget menu under apperance, or
use the `get_the_content_2()` and `the_content_2()` functions in your template!
== Screenshots ==
1. Screenshot of the page editor with new, secondary HTML block.
2. New widget: add secondary HTML to sidebar.
== Coming soon ==
A future update will include some configuration options, including an option to add the feature to posts
(the feature is "pages" only for now) and an option to specify a heading for the widget.