Deze plugin is niet getest met de laatste 3 grotere versies van WordPress. Mogelijk wordt het niet meer onderhouden of ondersteund. Ook kunnen er compatibiliteitsproblemen ontstaan wanneer het wordt gebruikt met recentere versies van WordPress.

Twitter Bootstrap Slider

Omschrijving

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.

  • Via a WordPress hook: do_action('insert_bootstrapslider');
  • Via a ShortCode: [bootstrapslider]

Theme integration

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.

Requirements

  • WordPress tested with >= 3.6
  • A Bootstrap ready WordPress Theme, try JBST

Support

We are always happy to help you. If you have any question regarding this code. Send us a message or contact us on twitter @JamedoWebsites.

Schermafdrukken

  • Twitter Bootstrap Slider

Installatie

  1. You can download and install Twitter Bootstrap Slider using the built in WordPress plugin installer. If you download Twitter Bootstrap Slider manually, make sure it is uploaded to “/wp-content/plugins/twitter-bootstrap-slider/”.

  2. Activate Twitter Bootstrap Slider in the “Plugins” admin panel using the “Activate” link.

Beoordelingen

Er zijn geen beoordelingen voor deze plugin.

Bijdragers & ontwikkelaars

“Twitter Bootstrap Slider” is open source software. De volgende personen hebben bijgedragen aan deze plugin.

Bijdragers

Vertaal “Twitter Bootstrap Slider” naar jouw taal.

Interesse in ontwikkeling?

Bekijk de code, haal de SVN repository op, of abonneer je op het ontwikkellog via RSS.

Changelog

1.0

  • First version