Answer for the missing Layout controls in the editor, after following up on Tom J Nowell’s great tip that it is a GeneratePress feature. Tom at GeneratePress helped my solve it with a filter. By default, the Layout box is only shown for those with ‘edit_theme_options’ capability. The filter changes it to the custom capability, ‘edit_ncpages’.
// Allow Layout metabox to be generated in editor.
// Otherwise only users with 'edit-theme-options' capability see it.
add_filter( 'generate_metabox_capability', function() {
return 'edit_ncpages';
} );
Or it could be just the ‘read’ capability, so anyone who gets into the editor has it.
Still haven’t solved the other part – nobody with just the custom role shows up in the author dropdowns, although they can author and edit the custom post type.
Related Posts:
- Publish author posts only with editor approval?
- Enable comments for post with comments meta box removed
- How to set add question capability for author role in wp pro quiz plugin
- Creating teams of users in WordPress
- Adding plugin editing capability for Author
- Remove dashboard links from wordpress
- Hide some portion on single.php base on author
- Want to add post to user dashboard
- Allow users mark posts as “complete”?
- Update User Role
- Plugin to restrict access to pages in wp-admin
- Getting user roles in plugin files
- Is there a way to order posts and custom post types as one group?
- How to achieve certain page (url) accessible to certain users
- RW Meta Box ,Problem setting post title
- How does WP handle multiple matching rewrite rules?
- how do i remove posts from a WP_Query so the pagination is right?
- Saving Custom Post types and fields to a custom table
- dynamically generating plugin syntax
- How to write a plugin to add users to a mail list
- Is it possible to use WordPress as an online portfolio for text content? What kind of theme would I look for?
- Building a store locator with google maps
- Duplicate posts when posting nulls in records in phpMyAdmin [closed]
- How to make wp_enqueue_style and wp_enqueue_script work only on custom post type
- Loco Translate: Custom Post and Custom Taxonomy Labels not translated in wp-admin menu
- How to make a customize role and view a specific plugins base on that role?
- Accessing post’s meta data based on user’s click of a post
- Error shown for Trying to get property ‘roles’ of non-object in WordPress After Content for User Roles
- Hook to plugins admin settings
- Disable plugin per user role
- Not getting author rank when using return
- How to create user groups and allow custom posts and plugin modify/access to specific group?
- Correct way to make meta box with more than one meta field secure
- I want to extend the current themes’ single.php to display the meta fields of my CPT
- Plugin custom post type – Internal server Error
- Exclude post by custom meta with pre_get_posts
- How can I create a custom shortcode that will return a custom post type by ID?
- how to give a user a role?
- Is it possible to create Custom Post plug-in?
- get_post_type() and WP_QUERY issue
- get_post_type on post.php
- List taxonomy terms for post as checkboxes
- All of my custom posttypes are 404’ing
- more types plugin – display all post of post type on page
- When using Simple Fields plugin, how do I pull the information out of the database to display on a page?
- Filter custom posts based on the user role of author
- Redirection of users away from wp-admin (but not administrators)
- How to make a proper custom post type link
- Matching Chapters to a Custom posts [closed]
- Creating a custom post type, adding custom meta fields, preventing all future editability of posts of this type
- ‘No Results Found’ on single post for custom post type
- Keep a post copy when this one is updated – issue
- Making a Template for a CPT created by a plugin
- how to add a button next to the wordpress view button?
- auto populate list of questions if user select a category xyz
- How to allow an editor to edit all WordPress blog posts but have the last say as administrator?
- Modifying Author Link to add Author Meta in URL
- WooCommerce specifc variations for specific user role [closed]
- How to create restrict content to users (by user, not by role)
- Edit the author of custom post type
- Automatically Assign Author to Category [closed]
- How to create user that has permission to create new sites on WordPress with multisite option enabled?
- How to show featured image block in custom post type for Author?
- Mq translate plugin custom post type issue
- Co-Authors Plugin Displaying Wrong Author
- “Custom Post Type Permalinks” plugin URL strcuture
- Unable to delete custom post types, confusion around capabilities
- Change get_current_user_id code to the author’s profile
- Can a Plugin Override New User Default Role Type
- Can I allow certain people to add/edit pages within a parent?
- Adding CSS to custom post type admin page causes error
- ACF: post query, hide duplicate values [closed]
- Redirect to another page using contact form 7? [closed]
- Can I put in Github the code of a abandoned plugin I want to fork?
- Show author on every sub-page
- What is the best way for showing a grid of customer logos?
- Custom Post Type Fields
- How to delete all trashed item in one-go
- can i limit editing specific custom fields to certain roles?
- How can I use a file in my plugin as a replacement for single.php on custom-post-type query?
- Custom setup of wordpress comments that are displayed
- publish_post action doesn’t work
- Disable Individual Plugins (specifically in Custom Post Types) on a per-post basis?
- WordPress custom taxonomy not showing
- Using ACF default value to autoincrement a number field
- Add user role to generated plugin
- custom post type don’t appear in the home page
- Multisite – maximum number of users with specific role
- Is there any way to make myself an admin?
- Understanding State in WordPress Multisites
- Allow only Admin role to access plugin settings/options page
- How to allow Contributors to publish articles after approval
- Edit Permalink Structure For Custom Post Type or Modify .htaccess?
- How to Resize the Custom Post Images?
- Amazon.com intergration with WordPress?
- How to set category correctly for a custom post created by a remote API call?
- Sticky option for custom post types without using custom fields or plugins
- How to use template_include hook with form submission?
- Select other roles as custom post authors
- Trying to add a page template for my custom post type from a plugin, but it will not display in the template dropdown unless file is in theme