February 24, 2014

How to embed Easy Bootstrap Shortcodes into your theme?

As we got many mails to know, how to give inbuilt support for EBS in themes?

So this article is to show that, how you can embed this amazing plugin to your themes? but why you will embed this plugin to your theme

  • to give your users more flexibility to add responsive content
  • use your own custom css/js files
  • You want to use this plugin but don’t want to give settings page, so that user forced to use the themes css

Or many other reasons.

We have provided the filters so that you can easily give inbuilt support of this plugin in your themes/plugins

You can Write these filter into your theme’s functions.php to make plugin compatible to your theme, You can use any of these filters as per your requirements.

Filter for Custom options

Filter for bootstrap_admin.css

Filter for bootstrap.min.js url this filter is only applicable if you selected js inclusion from plugin in EBS Settings

Filter for bootstrap.min.js CDN path this filter is only applicable if you selected js inclusion from CDN in EBS Settings

Filter for bootstrap.min.css urlthis filter is only applicable if you selected css inclusion from plugin in EBS Settings

Filter for bootstrap-icon.min.css url this filter is only applicable if you selected css inclusion from plugin or theme in EBS Settings