sidebar generator

Sidebar Generator

A plugin the generates as many sidebars as you need. Then allows you to place them on any page you wish using conditions. Also if you are a developer, you have the option to display any sidebar in any place.

The generator gives you a nice list of sidebars which includes an ID, Title, and Description.

The plugin can be installed from the WP Admin interface or by downloading it from the official WordPress repository.

Features:

  • Unlimited number of sidebars.
  • Replace default theme sidebars using the conditions or globaly just by selecting the sidebar that you want to replace.
  • Show the generated sidebars on any page you wish without touching a single line of code in your theme.
  • Drag to sort sidebar position.

How to install SMK Sidebar Generator?

Like any other WordPress plugin.

Method 1:
The simplest method. Go to WP Admin -> Plugins -> Add new and using the search box from the top right corner on that page, enter “SMK Sidebar Generator“. If feeling lazy, typing only “smk” will return the plugin as the only result. ;))

Method 2:
Drop smk-sidebar-generator to wp-content/plugins/.
More info here: https://codex.wordpress.org/Managing_Plugins#Installing_Plugins

Developer Helpers


You actually don’t need any of these. The plugin can be managed fully from WP Admin without writing a single line of code. But they are still here in case you feel comfortable writing code and need an exact reference.

Display a sidebar using smk_sidebar function:

if(function_exists('smk_sidebar'){
  smk_sidebar('sidebarID');
}


Display a sidebar using wp native function:

dynamic_sidebar('sidebarID'));

Shortcodes

Display a sidebar using the built-in shortcode:

[smk_sidebar id="sidebarID"]
Member since January 2, 2019

Fullstack Web Developer with more than 12 years of experience in web development. Adept in all stages of advanced web development. Knowledgeable in the user interface, backend, testing, and debugging processes. Bringing forth expertise in design, installation, testing, and maintenance of web systems. Working exclusively and professionally with WordPress since 2010.

Comments

    Your email address will not be published.