• Resolved wpbstrap

    (@wpbstrap)


    Hello,

    I have a question before I install your plugin:

    I have some Websites, which have been built with new Bootstrap 3. The Themes have been created by me.

    I enqueue “bootstrap.min.css” and “bootstrap.min.js”.

    If I install the plugin and use the shortcodes on a page, would the CSS and JS get loaded twice? Does your plugin enqueue the files too?

    If yes, how could I prevent this.

    Thank you!

    http://wordpress.org/plugins/easy-bootstrap-shortcodes/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author osCitas Themes

    (@oscitas)

    Hi,

    Yes, we have included the both bootstrap.css and bootstarp.js files in the plugin, which are basic bootstarp files. And you are right that it will override the existing files based on the order these are included, however we have used the wp_enqueue_script method with handler name “bootstrap”, so you can use the same handler name in your script or you can replace it in this plugin with your handler name. that will resolve the issue.

    Thanks

    Plugin Author osCitas Themes

    (@oscitas)

    Hi,

    Yes, we have included the both bootstrap.css and bootstarp.js files in the plugin, which are basic bootstarp files. And you are right that it will override the existing files based on the order these are included, however we have used the wp_enqueue_script method with handler name “bootstrap”, so you can use the same handler name in your script or you can replace it in this plugin with your handler name. that will resolve the issue.

    Thanks

    Plugin Author osCitas Themes

    (@oscitas)

    Hi,

    We have launched version 2.0.0

    • Now you can use js file from CDN or disable the plugin js.
    • You can use your own css file by disabling the plugin css, which gives you more flexibility over styling.
    • new shortcode such as progress code, labels,button dropdown etc

    Thanks

    Thread Starter wpbstrap

    (@wpbstrap)

    Great!!!

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

The topic ‘Bootstrap CSS and JS’ is closed to new replies.