WordPress.org

Ready to get started?Download WordPress

Forums

Dynamics Sidebars
Custom sidebar to post? (6 posts)

  1. iriscreativo
    Member
    Posted 1 year ago #

    Hi Allison, your plugin worked perfectly!
    Could you please tell me how to use it on post entries?
    Thanks a lot!!

    http://wordpress.org/extend/plugins/dynamics-sidebars/

  2. akbortoli
    Member
    Plugin Author

    Posted 1 year 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.

  3. babyboy808
    Member
    Posted 1 year ago #

    Hi,

    Just installed this but it doesn't seem to work with CPTs, only posts and pages?

  4. akbortoli
    Member
    Plugin Author

    Posted 1 year ago #

    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.

  5. babyboy808
    Member
    Posted 1 year ago #

    Perfect. Thanks alot Alysson. Great little plugin.

  6. akbortoli
    Member
    Plugin Author

    Posted 1 year ago #

    Thanks babyboy808!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic