Support » Plugins and Hacks » Dynamics Sidebars » [Plugin: Dynamics Sidebars] Custom sidebar to post?
4 years, 7 months ago
Hi Allison, your plugin worked perfectly!
Could you please tell me how to use it on post entries?
Thanks a lot!!
4 years, 6 months ago
Hey, sorry for the delay to get back to you. I’ve just released version 1.0.0, it works with Pages/Posts and CPTs as well.
Just installed this but it doesn’t seem to work with CPTs, only posts and pages?
To user with CPT add support for custom sidebar, on your functions.php add this:
add_post_type_support( ‘cpt’, ‘custom-sidebar’ ); “(change cpt for you custom post type name)”
or when you register or custom post type using register_post_type( ‘post type’, $args );
pass ‘supports’ => array( ‘custom-sidebar’, ‘title’, ‘editor’ ) and etc, see http://codex.wordpress.org/Function_Reference/register_post_type for more information on supports.
Will make it more clear on the Description page.
Perfect. Thanks alot Alysson. Great little plugin.