Conversation
supportThe social network autoposter plugin loads these two into the frontend for admin user: wp_enqueue_script( ‘modal’, $path . ‘/js-css/jquery.modal.min.js’, array( ‘jquery’ ), NextScripts_SNAP_Version, true); wp_enqueue_style( ‘modal’, $path . ‘/js-css/jquery.modal.min.css’, array( ), NextScripts_SNAP_Version ); since the modal css is for class .modal it does conflict with my bootstrap theme. how can I get rid of these two? (or please rename the class .modal into something like .snap_autopost_modal
in: /path/to/wp-content/plugins/social-networks-auto-poster-facebook-twitter-g/inc/nxs_functions_wp.php change this: add_action(‘wp_head’, ‘jsPostToFAV’); add_action( ‘wp_footer’, ‘nxsFavFooter’ ); for this: add_action(‘admin_head’, ‘jsPostToFAV’); add_action(‘admin_footer’, ‘nxsFavFooter’);
in: /path/to/wp-content/plugins/social-networks-auto-poster-facebook-twitter-g/inc/nxs_functions_wp.php change this: add_action(‘wp_head’, ‘jsPostToFAV’); add_action( ‘wp_footer’, ‘nxsFavFooter’ ); for this: add_action(‘admin_head’, ‘jsPostToFAV’); add_action(‘admin_footer’, ‘nxsFavFooter’);