helenmaryC
Support threads created in the last 30 days: 0
Favorite Forum Topics
This user has no favorite topics.
Forum Topics Created
Status | Topic | Supporter | Voices | Posts | Freshness |
---|---|---|---|---|---|
Author dropdown and custom roles
Started by: helenmaryC
in: Toolset Professional Support
Problem: I would like to add Users in a custom role "Members" to the author select field in the post editor screen. Solution: Add custom code to your child theme's functions.php file: function wpdocs_add_members_to_dropdown( $query_args, $r ) { $query_args['role'] = array('member'); // Unset the 'who' as this defaults to the 'author' role unset( $query_args['who'] ); return $query_args; } add_filter( 'wp_dropdown_users_args', 'wpdocs_add_members_to_dropdown', 10, 2 ); |
2 | 3 | 6 years, 3 months ago | ||
Forms module breaks Elementor
Started by: helenmaryC in: Toolset Professional Support |
1 | 2 | 6 years, 4 months ago |