Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter KylcMc

    (@kylcmc)

    No I don’t, but I can only assume resulting in something unfavorable. So I shall look at the child theme direction then. Thanks for the loop suggestion I’ll try that out after I remove the files I edited, upload the originals, and research the child theme direction.

    Thread Starter KylcMc

    (@kylcmc)

    After more googling and lots of reading I’ve got a start I think. I’ve started by modifying index.php to make a call to a new loop file for the archive and duplicating loop-blog.php to loop-archive.php. So far that is working as I’ve made a few test changes to my new file (loop-archive.php) to see if it is being called.

    Now I’m stuck at page formatting. I want the output to look similar to a page with just a list of the post titles, date, author.

    Updated excerpt from index.php

    <!-- Start the Loop -->
    <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
      <?php if ( is_category() || is_tag() || is_date() ) : ?>
        <?php get_template_part( 'loop', 'archive' ); ?>
      <?php elseif ( !is_singular() ) : ?>
        <?php get_template_part( 'loop', 'blog' ); ?>
      <?php else : ?>
        <?php get_template_part( 'loop', 'single' ); ?>
      <?php endif; ?>
    <?php endwhile; else: ?>

Viewing 2 replies - 1 through 2 (of 2 total)