“Sidebar & Widget Manager for WordPress” Documentation by “OTWthemes” v1.0


“Sidebar & Widget Manager for WordPress”

Created: 02/05/2012
By: OTWthemes
Email: use my CodeCanyon profile page

Thank you for purchasing this item. If you have any questions that are beyond the scope of this help file, please email us via our user page contact form here. We'd be glad to help you. No guarantees, but we'll do our best to assist.


Table of Contents

  1. Description
  2. Installation and Activation
  3. Showcase
  4. Widgetize a page and drop some widgets in
  5. Vertical and Horizontal widget alignment
  6. Replace a sidebar with a custom one on one or few pages
  7. Widgets can be displayed on or hidden from one or few pages
  8. OTW Content Sidebars
  9. Filter examples
    1. Page templates
    2. Template hierarchy
    3. User roles
    4. WPML plugin
  10. Translations
  11. Additional Information

A) Description - top

Get full control over sidebars (widget areas), page content and widgets: This plugin supports it all:


B) Installation and Activation - top

Unzip the .zip file that you downloaded from CodeCanyon. Look for a file called otw_sbm.zip. This is your plugin's zip file.

Install the plugin just like any other Wordpress plugin. There are two ways to do that:

When activated the plugin will place two menus in your WordPress menu called Sidebars and Widgets and OTW Content Sidebars.
Plugin Menu


C) Showcase - top

Please refer to the plugin's demo site.


D) Widgetize a page and drop some widgets in - top

Your other options are to copy the sidebars shortcode and paste it in a page/post or use the "Insert Sidebar Shortcode" button in the editor to insert your sidebar's shortcode.

Widgetize a page

E) Vertical and Horizontal widget alignment - top

Check out this article for better understanding.

F) Replace a sidebar with a custom one on one or few pages - top

Replace sidebar

G) Widgets can be displayed on or hidden from one or few pages - top

Widgets visibility

H) OTW Content Sidebars - top

OTW Content Sidebars are positions that you can set and use to add sidebars to your pages/posts content area. You can set the defaults for you post and pages. If you want a different configuration for a certain page or post you can override defaults from the OTW Content Sidebar metabox when you edit that page or post.
Please note that OTW Content Sidebars are part of the content area. So if you have any theme sidebars (not in the content) they will be displayed as well.
When you use OTW Content Sidebars for pages it is best to use a full width page. If your theme does not have such template you can copy otw-full-width-page.php from the /templates folder of the Sidebar Widget Manager plugin and past it in your theme folder. Go to "Add new page" in your WP administration. You should now see "OTW page full width" in your Template's dropdown. Please note that there is no guarantee this file will work as is since page templates are very theme specific and it might require some modifications.
If you'd like to use OTW Content Sidebars for your posts you will most probably need to modify the template file for your posts so it does not display any sidebars.

Widgets visibility

I) Filter examples - top

1. Page templates

A selected Page templates will include all Pages with that template even if the pages are diselected.

In the following example we have selected all page templates and no pages at all. The current sidebar we set up will be displayed on all pages because Page templates will include all pages.

2. Template hierarchy

Template Hierarchy -> Page will include all Page Templates and Pages even if they are diselected.

In the following example we have selected Page under Template Hierarchy and no pages at all. The current sidebar we set up will be displayed on all pages because Template Hierarchy -> Page will include all pages. This is in WordPress by default.

3. User roles

You can set up a sidebar or a widget to be visible for a certain user role

The sidebar in the following example will be displayed for all user roles.

4. WPML plugin

Lets say you have a page called Contacts-en which is in English and a page that is translation in Spanish - Contacts-es. Here are a few examples:

J) Translations - top

Here is a list of available transtations:

If you'd like to see your translation distributed with the plugin please contact us.

All language files are located in /language folder. To set a language different than English, open your wp-config.php file and set the WPLANG to the language you want, for example with spanish:
define('WPLANG', 'es_ES');

K) Additional Information - top

Once again, thank you for purchasing this item. If you have any questions that are beyond the scope of this help file, please email us via our user page contact form here. We'd be glad to help you. No guarantees, but we'll do our best to assist.

If you like this item please consider rating it as a way of supporting consistent improvements.

If you have a more general question relating to the items on CodeCanyon, you might consider visiting the forums and asking your question in the "Item Discussion" section.

OTWthemes

Go To Table of Contents