Sidebar-Content from Shortcode

0

This plugin allows you to pass content to any sidebar from the page without using userdefined fields. Therefore it is possible to use the WYSIWIG-editor of your choice. How it works: Th

Version
Last updated
Active installations
WordPress Version
Tested up to
Rating
Total ratings
Tag
This plugin is outdated and might not be supported anymore.

Description

This plugin allows you to pass content to any sidebar from the page without using userdefined fields. Therefore it is possible to use the WYSIWIG-editor of your choice.

How it works:
This plugin comes with a new enclosing shortcode [sidebar_content][/sidebar_content] where you can place any content, you want to have displayed in the sidebar. You will be able to use other shortcodes within this shortcode to use galleries, videos or any other stuff in the sidebar of your choice.

Additionally there will be a new widget which you can insert into the sidebar you want to have the content displayed.
If you would like to pass content to an existing sidebar, there is another possibility using the [insert_sidebar_content] shortcode in any place you want. You are able to pass an id and/or a class to that content, to be able to style it with css as you like. This happens by simply adding:
[insert_sidebar_content id=”yourID” class=”yourClass”] to the shortcode. You can of course use just one or none of them. If you do not specify any custom class or id, there will be a standard class and id called “insert_scfs” applied to the content, wrapped in a div.

Features

  1. Widget
  • optional title (if empty, no tag will be generated)
  • optional title tag (default h3)
  • optional title tag CSS-classes
  • optional content-wrapper tag (default div)
  • optional CSS-classes for content-wrapper tag
  • optional CSS-id for content-wrapper tag
  • default values for every of the above possibilities
  1. Shortcodes

2.1 Content-Enclosement

  • [sidebar_content]CONTENT[/sidebar_content] for use on any page

2.2 Widget-Display

  • [insert_sidebar_content id=”yourID” class=”yourClass”] to display the content from the [sidebar_content]-Shortcode in any widget you like
  • applicable id and classes

You will find further support on http://dev.offensichtlich.net

Thanks

Thanks to the authors that provided information about how to implement this simple little function that I just put together:

Ryan Bosinger
http://www.ryanbosinger.com/boztown/2013/03/07/wordpress-custom-content/

1st-tec.de
http://www.tipps.1st-tec.de/wordpress/39-wordpress/sidebar-widgets/152-eigene-widgets-fuer-die-sidebar-erstellen.html