function widget($args, $instance) { global $post; extract($args); // only useful on post pages if (!is_single()) { return; } echo $before_widget; largo_content_nav('single-post-nav-below', $instance['in_same_cat']); echo $after_widget; }
</div> <div class="span4"> <?php dynamic_sidebar('home-bottom-right'); ?> </div> </div> </div> </div> <?php // The "river" content view ?> <div id="home-river" class="row-fluid"> <div class="span10 offset1"> <h1><?php _e('Recent Stories', 'largo'); ?> </h1> <?php //start at the beginning of the list rewind_posts(); while (have_posts()) { the_post(); get_template_part('partials/content', 'river'); } largo_content_nav('nav-below'); ?> </div> </div>