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

    (@paultgoodchild)

    Yes, all bootstrap components are included in the plugin. You’ll have to check the option to include the javascript on your site – make sure this is on.

    Thanks,
    Paul.

    Hi,

    Can I just check that I am calling this correctly? I didn’t see any shortcodes for Scrollspy on the demo page on your website. So, is this how it would be coded?

    <!--Dot navigation -->
    <div id="sidebar">
    <?php dynamic_sidebar( 'Sidebar-1' ); ?>
    </div>
    
    <!-- ABOUT US - STATEMENT BLOCK -->
    
    <div id="wrapper" data-spy="scroll" data-target="#sidebar">
    <div id="firstbg" class="firststyle">
    <?php $my_query = new WP_Query( 'post_type=page&page_id=38' );
    if ($my_query->have_posts()) : while($my_query->have_posts()) : $my_query->the_post();?>
    	 <h1><?php the_title();?></h1>
    
    	 <?php the_content();?>
    
    <?php endwhile; endif; ?>
    <?php wp_reset_postdata();?>
    </div>
    
    <!-- BUSINESS MODEL-->
    <div id="secbg" class="secstyle">
    <?php $query2 = new WP_Query( 'post_type=page&page_id=40' );?>
    <?php if ($query2->have_posts()) : while($query2->have_posts()) : $query2->the_post();?>
    	 <?php the_content();?>
    
    <?php endwhile; endif; ?>
    <?php wp_reset_postdata();?>
    </div>

    Any help is greatly appreciated! Thanks for the plugin!

    Plugin Author Paul

    (@paultgoodchild)

    sorry I can’t be of any more help here… I have never actually used the scrollspy feature.

    There’s nothing a million results if you google something like that and you’ll lots of people and examples that have used it.

    I hope you get it working.
    Thanks,
    Paul.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘scrollspy’ is closed to new replies.