Tag Info

New answers tagged


Found a solution here, automatically adding indicators using jQuery. https://coderwall.com/p/4ulwtg/auto-generate-twitter-bootstap-carousel-indicators var myCarousel = $(".carousel"); myCarousel.append("<ol class='carousel-indicators'></ol>"); var indicators = $(".carousel-indicators"); ...


You can do this with a built in WordPress query property $the_query->current_post (first post will be 0) without the need to setup a counter: <?php get_header(); ?> <?php $args = array( 'post_type' => 'question', 'order' => 'ASC' ); $the_query = new WP_Query( $args ); ?> <div class="wrap"> ...


As far as I've seen you're missing bootstrap CSS grid markup inside your page div, so to start add container class to page div and below that a .row element, for more inforamation on how the Bootstrap grid works check documantation and remember that all Js and styles are based on the correct markup selectors_

Top 50 recent answers are included