Support » Fixing WordPress » Custom post types in menus – Editor

  • I have used this code;
    $roleObject = get_role( ‘editor’ );
    if (!$roleObject->has_cap( ‘edit_theme_options’ ) ) {
    $roleObject->add_cap( ‘edit_theme_options’ );
    }
    to add menu access for editors.

    I havea custom post types ‘Masterclasses” and “Slides”.
    That appears correctly in the Administrator’s Menu editing page but doesn’t appear in the Editor’s Menu editing page.

    How do I correct this?

  • The topic ‘Custom post types in menus – Editor’ is closed to new replies.