dequeue motopress script and cssFree and Premium WordPress Plugins & Themes Forums WordPress Plugins Content Editor dequeue motopress script and css Search for: SearchThis topic has 4 replies, 3 voices, and was last updated 7 years, 6 months ago by J. Davis.Viewing 5 posts - 1 through 5 (of 5 total)AuthorPosts June 12, 2017 at 4:31 am #532088 Hence WijayaParticipantWe don’t use visual editor on every pages. Is it possible to dequeue motopress script and css when visual editor is not used? June 12, 2017 at 4:39 am #532089 [email protected]Participant+1. this is very important to improve page speed June 16, 2017 at 3:46 pm #534282 J. DavisKeymasterHi, Most elements enqueue styles and scripts when they are used only. You can also refer to thew following snippetadd_action( 'wp_print_styles', 'my_theme_wp_print_styles' ); function my_theme_wp_print_styles() { if ( is_front_page() ) { wp_dequeue_style('mpce-theme'); wp_dequeue_style('mpce-bootstrap-grid'); wp_dequeue_style('mpce-font-awesome'); } } Best regards, John June 16, 2017 at 5:14 pm #534465 Hence WijayaParticipantThanks John. Any reason why enqueue these styles when _mpce_enabled == false ? June 26, 2017 at 7:31 am #538102 J. DavisKeymasterHi Hence, We can not be sure that user does not use buttons, tabs and other elements shortcodes out of the Visual Builder at his pages. Best regards, JohnAuthorPostsViewing 5 posts - 1 through 5 (of 5 total)You must be logged in to reply to this topic.Log In Username: Password: Keep me signed in Log In