archive.php mod to show full post content only with posts tagged "the list"
-
This is for https://danielmarkham.com
I know little about the inner-workings of PHP (as will become apparent momentarily) but here’s what I want to do…
Using the archive.php page, I would like the tag archive page for the tag the list (slug: the-list) to be the only archive page of any kind to display the full post content in the results.
Currently, I have eliminated the template tag
<?php the_content('[Read more →]'); ?>
between
<?php while (have_posts()) : the_post(); ?>
and
<?php endwhile; ?>
so that the list of any archive is neat and clean, necessitating one to click the title of the post in the list to get to a post’s permalink page.
Here’s the code for my current archive.php page…
…and here is the last messed up code I tried for archive.php,in order to get it to do what I wanted…
It didn't work. Any help would be greatly appreciated.
- The topic ‘archive.php mod to show full post content only with posts tagged "the list"’ is closed to new replies.