Forums

How get custom capabilities in WP 3 to work? (3 posts)

  1. richarduk
    Member
    Posted 1 year ago #

    I'm using this excellent tutorial http://justintadlock.com/archives/2010/04/29/custom-post-types-in-wordpress but when I add

    'capability_type' => 'super_duper', into `function create_my_post_types() {
    register_post_type( 'super_duper',` etc.

    in functions.php the admin panel no longer shows 'Super Duper' posts, but tags.

    What am I doing wrong? Every other part of the code works fine, but adding custom capabilities doesn't.

    Is it me, or is there more that I need to do? And is it possible to assign capabilities to specific users without using plugins?

  2. MichaelH
    Volunteer
    Posted 1 year ago #

    http://lists.automattic.com/pipermail/wp-hackers/2010-June/032655.html Discussion on wp-hackers about capabilities

    http://lists.automattic.com/pipermail/wp-hackers/2010-June/032657.html Another discussion on wp-hackers about capabilities

  3. richarduk
    Member
    Posted 1 year ago #

    Thanks!

    It's tough trying to work it all out :-)

Topic Closed

This topic has been closed to new replies.

About this Topic