echo $subtitle;
            ?>
</h3>
                    <?php 
        }
        ?>
                </div>
            </header><!-- .archive-header -->
            <?php 
    }
    ?>

            <?php 
    global $wp_query;
    // Our tricky way to pass variables to a template part
    g1_part_set_data(array('query' => $wp_query, 'collection' => $g1_collection, 'options' => $g1_options, 'elems' => $g1_elems['collection']));
    get_template_part($g1_collection->get_file());
    G1_Pagination()->render();
    ?>
        <?php 
} else {
    ?>
            <?php 
    get_template_part('template-parts/g1_no_results', 'works');
    ?>
        <?php 
}
?>

    </div><!-- #content -->
</div><!-- #primary -->
Example #2
0
" rel="bookmark"><?php 
        the_title();
        ?>
</a></h3>
					<div class="search-summary">
						<?php 
        the_excerpt();
        ?>
					</div>
				</li>
			<?php 
    }
    ?>
			</ul>
			<?php 
    $g1_pagination = G1_Pagination();
    $g1_pagination->render();
    ?>
		<?php 
} else {
    ?>
			<?php 
    get_template_part('template-parts/g1_no_results', 'search');
    ?>
		<?php 
}
?>

        </div><!-- #content -->
    </div><!-- #primary -->
Example #3
0
 public function render_shop_loop_pagination()
 {
     G1_Pagination()->render();
 }