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!