andrewR-7
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 |
---|---|---|---|---|---|
Adding a message to a post type
Started by: andrewR-7 in: Toolset Professional Support |
2 | 4 | 4 years, 10 months ago | ||
Added custom media fields but there is no 'save' button on the media upload box
Started by: andrewR-7 in: Toolset Professional Support |
2 | 2 | 5 years, 9 months ago | ||
How to display media custom fields in single page
Started by: andrewR-7 in: Toolset Professional Support |
2 | 4 | 6 years ago | ||
Can’t delete Post Field Group
Started by: andrewR-7
in: Toolset Professional Support
Problem: I'm unable to add or edit post fields. Solution: Flush the memcache and/or remove the Memcached Redux plugin. |
2 | 7 | 6 years, 5 months ago | ||
Can't delete Post Field Group
Started by: andrewR-7 in: Toolset Professional Support |
3 | 9 | 6 years, 6 months ago | ||
Can't delete Post Field Group
Started by: andrewR-7 in: Types Community Support |
3 | 12 | 6 years, 6 months ago | ||
Removing buttons for certain user roles for the post editor
Started by: andrewR-7
in: Toolset Professional Support
Problem: Solution: add_filter( 'mce_buttons_3', 'remove_bootstrap_buttons', 999 ); function remove_bootstrap_buttons($buttons) { if( current_user_can('editor') || current_user_can('contributor') ) { return array(); } else { return $buttons; } } add_filter( 'mce_buttons', 'remove_toggle_button', 999 ); function remove_toggle_button($buttons) { if( current_user_can('editor') || current_user_can('contributor') ) { $remove = array( 'css_components_toolbar_toggle' ); return array_diff( $buttons, $remove ); } else { return $buttons; } } function vm_wptypes_remove() { if( current_user_can('editor') || current_user_can('contributor') ) { wp_enqueue_style( 'wp-types-special', get_stylesheet_directory_uri() . '/wp-types-special.css' ); } } add_action( 'admin_init', 'vm_wptypes_remove' ); ==> In above code, I have used 'editor' and 'contributor' level roles as example, you can replace those with your roles as needed. These are in the if conditional statement. 2. Download & extract this file >> and place this css file in the folder in your site: Relevant Documentation: |
2 | 8 | 7 years, 2 months ago | ||
Problem here — https://www.rowells.org/2017/08/22/problem-with-toolset-dates/
1
2
Started by: andrewR-7 in: Toolset Professional Support |
3 | 18 | 7 years, 2 months ago |