>
Download This Plugin | |
Download Elegant Themes | |
Name | Twitter Bootstrap Slider |
Version | 1.1.3 |
Author | Bass Jobsen |
Rating | 100 |
Last updated | 2014-01-29 01:34:00 |
Downloads |
4735
|
Download Plugins Speed Test plugin for Wordpress |
Home page PageSpeed score has been degraded by 0%, while Post page PageSpeed score has been degraded by 0%
Twitter Bootstrap Slider plugin added 0 bytes of resources to the Home page and 4 bytes of resources to the sample Post page.
Twitter Bootstrap Slider plugin added 0 new host(s) to the Home page and 0 new host(s) to the sample Post page.
Great! Twitter Bootstrap Slider plugin ads no tables to your Wordpress blog database.Add a image slider to your pages based on Twitter's Bootstrap's Carousel component. Bootstrap is a sleek, intuitive, and powerful mobile first front-end framework for faster and easier web development. This responsive image slider is build with Bootstrap's Carousel component. Bootstrap's javascripts plugins are jQuery based.
do_action('insert_bootstrapslider');
[bootstrapslider]
To use this plugin in your themes copy the files to for example {wordpress}/wp-contents/themes/{yourtheme}/vendor/
and add according to this the code below to your functions.php
:
if( !function_exists( 'wts' ) ):
function wts()
{
wp_deregister_style ( 'woocommerce-twitterbootstrap');
wp_dequeue_style( 'woocommerce-twitterbootstrap');
wp_register_style ( 'woocommerce-twitterbootstrap', get_stylesheet_directory_uri() . '/vendor/woocommerce-twitterbootstrap/css/woocommerce-twitterboostrap.css', 'woocommerce' );
wp_enqueue_style( 'woocommerce-twitterbootstrap');
}
endif;
add_action( 'wp_enqueue_scripts', 'wts', 200 );
remove_action('admin_menu',array($twitterbootstrapslider,'add_menu'));
add_action('admin_menu','twitter_bootstrap_slider_add_menu');
/** * add a menu */
function twitter_bootstrap_slider_add_menu()
{
global $twitterbootstrapslider;
add_theme_page('Twitter Bootstrap Slider', 'Twitter Bootstrap Slider', 'manage_options', 'twitter-bootstrap-slider', array($twitterbootstrapslider, 'twitter_bootstrap_slider_settings_page'));
} // END public function add_menu()
Contribute!
If you have suggestions for a new feature or improvement, feel free to contact us on Twitter. Alternatively, you can fork the plugin from Github.