andrewR-7
Admite hilos creados en los últimos 30 días: 0
Debates favoritos del foro
Este usuario no tiene debates favoritos.
Temas del foro creados
Status | Debate | Supporter | Voces | Mensajes | Caducidad |
---|---|---|---|---|---|
Adding a message to a post type
Iniciado por: andrewR-7 en: Toolset Professional Support |
2 | 4 | hace 4 años, 3 meses | ||
Added custom media fields but there is no 'save' button on the media upload box
Iniciado por: andrewR-7 en: Toolset Professional Support |
2 | 2 | hace 5 años, 2 meses | ||
How to display media custom fields in single page
Iniciado por: andrewR-7 en: Toolset Professional Support |
2 | 4 | hace 5 años, 5 meses | ||
Can’t delete Post Field Group
Iniciado por: andrewR-7
en: 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 | hace 5 años, 10 meses | ||
Can't delete Post Field Group
Iniciado por: andrewR-7 en: Toolset Professional Support |
3 | 9 | hace 5 años, 11 meses | ||
Can't delete Post Field Group
Iniciado por: andrewR-7 en: Types Community Support |
3 | 12 | hace 6 años | ||
Removing buttons for certain user roles for the post editor
Iniciado por: andrewR-7
en: 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 | hace 6 años, 7 meses | ||
Problem here — https://www.rowells.org/2017/08/22/problem-with-toolset-dates/
1
2
Iniciado por: andrewR-7 en: Toolset Professional Support |
3 | 18 | hace 6 años, 8 meses |