Forum Replies Created

Viewing 2 replies - 31 through 32 (of 32 total)
  • Thread Starter Kevinn02

    (@kevinn02)

    I think so, this is how it looks like:

    <?php /* Start the Loop */ ?>
    <?php the_block(‘trigger’); ?>
    <?php while ( have_posts() ) : the_post(); ?>

    <?php
    /* Include the Post-Format-specific template for the content.
    * If you want to override this in a child theme, then include a file
    * called content-___.php (where ___ is the Post Format name) and that will be used instead.
    */
    get_template_part( ‘content’, get_post_format() );
    ?>

    <?php endwhile; ?>

    <?php generate_content_nav( ‘nav-below’ ); ?>

    <?php else : ?>

    <?php get_template_part( ‘no-results’, ‘index’ ); ?>

    <?php endif; ?>
    <?php do_action(‘generate_after_main_content’); ?>
    </main><!– #main –>
    </div><!– #primary –>

    <?php
    do_action(‘generate_sidebars’);
    get_footer();

    Thread Starter Kevinn02

    (@kevinn02)

    Where to find the loop? Don’t understand sorry.

Viewing 2 replies - 31 through 32 (of 32 total)