Skip to content

This is a WordPress plugin that allows you to create custom sidebar areas and then select a widget to load on the page or post

Notifications You must be signed in to change notification settings

simonda86/WP-Custom-Sidebars

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

WP-Custom-Sidebars


WordPress plugin that allows you to create custom sidebars from an admin page and select these sidebars in a metbox on the page editor page.

#Installation

To install this plugin download a zipped folder and then upload to WordPress. Then add the following code to your template files

<?php 
$sidebar = get_post_meta($post->ID, 'csb_sidebar', true);
if($sidebar == '') $sidebar = 'default';
?>
<ul>
	<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar()) dynamic_sidebar($sidebar); ?>
</ul>

About

This is a WordPress plugin that allows you to create custom sidebar areas and then select a widget to load on the page or post

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published