Title: Compatibility with a bootstrap theme
Last modified: August 21, 2016

---

# Compatibility with a bootstrap theme

 *  Resolved [Swashata Ghosh](https://wordpress.org/support/users/swashata/)
 * (@swashata)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/compatibility-with-a-bootstrap-theme-1/)
 * Hi,
 * First of all, thanks for this wonderful plugin. Now, I’ve been developing a bootstrap
   based theme (can be found here: [https://github.com/swashata/ipt-knowledgebase-theme-wp](https://github.com/swashata/ipt-knowledgebase-theme-wp))
 * I intend to give inbuilt compatibility with your plugin. For that, I thought 
   of removing the plugin CSS and JS files directly from the theme itself.
 *     ```
       wp_deregister_style( 'bootstrap-icon' );
       	wp_deregister_style( 'bootstrap' );
       	wp_deregister_script( 'bootstrap' );
       ```
   
 * Please let me know if I am missing something. Also, I included a set of icomoon
   icons. It has a CSS scope of `ipt-*` and works good with glyphicons. So, for 
   your icon shortcodes, it works if we put, say `ipt-wordpress` to the custom class.
   eg, here: [http://ipanelthemes.com/kb/wp-knowledge-base-theme/kb-plugins/easy-bootstrap-shortcode/#ipt_kb_toc_100_3](http://ipanelthemes.com/kb/wp-knowledge-base-theme/kb-plugins/easy-bootstrap-shortcode/#ipt_kb_toc_100_3)
 * It would be wonderful if somehow I could add this to the icon heading as well.
   As I understand, right now the custom class is added to the heading element itself(
   which it should), not the inside span element. Perhaps you’d like to add a custom
   class feature for the icons inside the heading as well?
 * [http://wordpress.org/plugins/easy-bootstrap-shortcodes/](http://wordpress.org/plugins/easy-bootstrap-shortcodes/)

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [osCitas Themes](https://wordpress.org/support/users/oscitas/)
 * (@oscitas)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/compatibility-with-a-bootstrap-theme-1/#post-4208812)
 * Hi,
 * Thanks for using our plugin. Regarding the bootstrap css/js files, there are 
   two different ways you can include your custom files.
 * 1. you can use the same handler name(bootstrap-icons,bootstrap) so that yours
   files will not be overwritten by our plugin files, but you have to make sure 
   that your enqueue script/style will run before EBS plugin enqueue script/style.
   But please note that our plugin is bootstrap 3.0 based so include bootstrap 3.0
   file not bootstrap 2.0.
 * 2. We are going to launch new version today or max by tomorrow, where we are 
   using the theme option for file settings, so you can set those options in your
   code to the values you want such as
 * > EBS_BOOTSTRAP_JS_LOCATION to (‘1’ – for plugin file, ‘2’ – don’t user EBS files
   > but use from other plugin or theme, ‘3’ – to user CDN path)
 * > EBS_BOOTSTRAP_CSS_LOCATION to (‘1’ – for plugin file, ‘2’ – don’t user EBS 
   > files but use from other plugin or theme)
 * so you can use the
 *     ```
       update_option( 'EBS_BOOTSTRAP_JS_LOCATION', 2 );
       update_option( 'EBS_BOOTSTRAP_CSS_LOCATION', 2 );
       ```
   
 * to set files location to your theme/other plugin.
 * And about the custom class for image heading, we will make this change in our
   future release.
 * Best of luck for your theme, let us know, in case you need any other help.
 *  Thread Starter [Swashata Ghosh](https://wordpress.org/support/users/swashata/)
 * (@swashata)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/compatibility-with-a-bootstrap-theme-1/#post-4208815)
 * Hi,
 * Thanks for your response (also I recognize you are from India, so a very happy
   Durga Puja 🙂 ).
 * I understand the options concept and I am using bootstrap 3 only. Also I would
   need to dequeue the `bootstrap-icon` CSS file, as the `float: left` conflicts
   directly with default bootstrap behavior. About the `update_option` will it override
   the default plugin settings, or is it the plugin settings itself? Because, if
   it is plugin settings itself and some user chooses to host file from CDN then
   functionality will break. Unless there’s some foolproof way to ensure that no
   other bootstrap resources are loaded, I guess I need to use `wp_deregister_*`.
 * Thanks for your help.
 *  Plugin Author [osCitas Themes](https://wordpress.org/support/users/oscitas/)
 * (@oscitas)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/compatibility-with-a-bootstrap-theme-1/#post-4208851)
 * Hi,
 * Thanks and same to you, we have launched the new version. We have provided few
   new settings so that anybody can give inbuilt compatibility with our plugin. 
   such as you are creating theme and want to use our plugin to give your users 
   more flexibility to add responsive content, however you like to use your custom
   css/js files. So now you can do this, and don’t worry, for this you just have
   to paste the following code to your init hook or install hook of your plugin 
   and it will start working
 * > After adding this code user will not be able to change the files location for
   > EBS plugin as user can’t see the EBS Settings link of LHS menu in admin panel
 *     ```
       update_option( 'EBS_CUSTOM_OPTION', 1 );
       update_option( 'EBS_BOOTSTRAP_JS_LOCATION', 2 );
       update_option( 'EBS_BOOTSTRAP_CSS_LOCATION', 2 );
       ```
   
 * To give use the custom css for icons
    `update_option( 'EBS_CUSTOM_BOOTSTRAP_ICON_CSS',
   1 );`
 * And to give use the custom css for admin
    `update_option( 'EBS_CUSTOM_BOOTSTRAP_ADMIN_CSS',
   1 );`
 *  Thread Starter [Swashata Ghosh](https://wordpress.org/support/users/swashata/)
 * (@swashata)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/compatibility-with-a-bootstrap-theme-1/#post-4208853)
 * Hi,
 * Thanks for the clarifications. I will update the theme to use your newer APIs.
 *  Plugin Author [osCitas Themes](https://wordpress.org/support/users/oscitas/)
 * (@oscitas)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/compatibility-with-a-bootstrap-theme-1/#post-4208854)
 * Anytime, and also try our new plugin [Easy WordPress Parallax Slider](http://wordpress.org/plugins/easy-wp-parallax-slider/).
 *  Thread Starter [Swashata Ghosh](https://wordpress.org/support/users/swashata/)
 * (@swashata)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/compatibility-with-a-bootstrap-theme-1/#post-4208855)
 * Looks outstanding. Thanks 🙂

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Compatibility with a bootstrap theme’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/easy-bootstrap-shortcodes_c3b0c1.
   svg)
 * [Easy Bootstrap Shortcode](https://wordpress.org/plugins/easy-bootstrap-shortcodes/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/easy-bootstrap-shortcodes/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/easy-bootstrap-shortcodes/)
 * [Active Topics](https://wordpress.org/support/plugin/easy-bootstrap-shortcodes/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/easy-bootstrap-shortcodes/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/easy-bootstrap-shortcodes/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [Swashata Ghosh](https://wordpress.org/support/users/swashata/)
 * Last activity: [12 years, 7 months ago](https://wordpress.org/support/topic/compatibility-with-a-bootstrap-theme-1/#post-4208855)
 * Status: resolved