I'm using the WP-Property plugin and I discovered that the plugin creates a custom post type to showcase 'Properties'. For some reason they haven't enabled the ability to switch authors for each Property Post Type so I added some code in the theme's functions.php file to allow me to show the author users when editing properties. I used the code below:

function add_author_support_to_posts() {
   add_post_type_support( 'property', 'author' ); 
add_action( 'init', 'add_author_support_to_posts' );

The problem I'm running into is that the list of authors in the Property (Page) edit screen only shows administration users. I want the ability to either show all users on the website or at least users in a certain user category.

  • Check whether the plugin creates meta capabilities - i.e. a custom set of capabilities just for that CPT. If so, you can add those capabilities to other roles like Editors. – WebElaine Mar 19 at 18:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.