li0817
Forum Replies Created
-
After googling for 2 hours, I finally added the following snippet to my function.php file.
But It doesn’t work.if( current_user_can( ‘read’ ) && !current_user_can( ‘edit_posts’ ) ) {
function remove_dashboard_widgets() {
remove_meta_box( ‘admin_dashboard_last_edits_register’, ‘dashboard’, ‘normal’);
}
add_action(‘wp_user_dashboard_setup’, ‘remove_dashboard_widgets’, 20);
add_action(‘wp_dashboard_setup’, ‘remove_dashboard_widgets’, 20);
}Forum: Plugins
In reply to: [FAQ Concertina] Can’t expand/collapse smoothly.Hi, again
I figure it out just now.
The following line in my theme’s CSS cause the problem:
*,:after,:before{
transition:all .3s;
}
When I comment out this CSS and everything works very well:)Forum: Plugins
In reply to: [Collapse-O-Matic] Can’t slide smoothly.Oh, thank you verrrrrrrrrrrrrrrrrry much!
Everything works fine now.You guys are awesome!
Stay Golden
DennisForum: Plugins
In reply to: [FAQ Concertina] Can’t expand/collapse smoothly.Hi, Michael
I’m afraid I’m going to uninstall this plugin. Because I like the theme I currently use, and I don’t wanna change it.
No solution for now. Maybe I’ll reuse the plugin after I solved my problem someday.
Thank you anyway.Regards
DennisForum: Plugins
In reply to: [FAQ Concertina] Can’t expand/collapse smoothly.Hi, Michael
When I de-activate all the other plugins, the problem is still there. No animation appeared.
It seems that it’s not a plugin conflict, is there something wrong with my theme?many thanks
Dennis