?> no-sidebar<?php } ?> "> <?php get_template_part('partials/banner'); if (have_posts()) { while (have_posts()) { the_post(); /** * Run the loop for the search to output the results. * If you want to overload this in a child theme then include a file * called content-search.php and that will be used instead. */ get_template_part('partials/content', 'search'); } reach_paging_nav(); } else { get_template_part('partials/content', 'none'); } ?> </div><!-- #primary --> <?php get_sidebar(); ?> </div><!-- .layout-wrapper --> </main><!-- #main --> <?php get_footer();
<main id="main" class="site-main site-content cf"> <div class="layout-wrapper"> <div id="primary" class="content-area no-sidebar"> <?php get_template_part('partials/banner'); ?> <div class="campaigns-grid-wrapper"> <nav class="campaigns-navigation" role="navigation"> <a class="menu-toggle menu-button toggle-button" aria-controls="menu" aria-expanded="false"></a> <?php reach_crowdfunding_campaign_nav(); ?> </nav> <?php /** * This renders a loop of campaigns that are displayed with the * `reach/charitable/campaign-loop.php` template file. * * @see charitable_template_campaign_loop() */ charitable_template_campaign_loop(false, 3); reach_paging_nav(__('Older Campaigns', 'reach'), __('Newer Campaigns', 'reach')); ?> </div><!-- .campaigns-grid-wrapper --> </div><!-- #primary --> </div><!-- .layout-wrapper --> </main><!-- #main --> <?php get_footer();