Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Phil Ewels

    (@tallphil)

    It certainly is. You need to be using Twitter Bootstrap in your theme, which is why these files aren’t included in the plugin (including them may have unintended effects on other visual aspects of people’s websites).

    There is a free theme built using bootstrap here: https://320press.com/wpbs/
    Using this theme, the carousel plugin should work out of the box.

    Alternatively, you can include the twitter bootstrap files in your theme. The easiest way of doing this is to pull in the files from the bootstrap CDN. To do this, add the following lines to your theme’s header.php:

    <head>
    ...
    <link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet">
    <script src="//netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script>
    ...
    </head>

    You can find out more about how to use Twitter Bootstrap on their website.

    Thread Starter jstwst

    (@jstwst)

    Thanks allot! I’ve added those 2 lines to my theme header. Now it shows the gallery, but it’s not working.. navigation doesn’t work and the appearance looks a bit weird.

    // The navigation is working now! Would it be possible to show the carousel in the excerpt area of blogposts?

    Plugin Author Phil Ewels

    (@tallphil)

    Yup, the bootstrap CSS file may change the appearance of your theme so be cautious with it – it’s really designed to be used as a base to create website themes from, the carousel is only a small part of it.

    Typically, shortcodes aren’t rendered in post excerpts so the carousel shortcode won’t work here. This behaviour can be changed by adding the following to your functions.php theme file though:

    add_filter('the_excerpt', 'do_shortcode');

    Taken from here..

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Getting started on my current website’ is closed to new replies.