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

    (@danapalooza)

    Per www.ads-software.com’s code rules, here is the code for my current archive.php file… https://cl.ly/F6Xi

    Here is the code for the modified archive.php file, which is not working… https://cl.ly/F5fI

    Any help would be appreciated.

    a: you have the same code in the if and elseif section
    b: you are not allowing any output for any other than tag archives

    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.

    try to only add this line into the original archive.php where you want the content to show:
    (i.e. between these lines:

    </p>
    
    	</div><!-- end post -->

    )

    <?php /* Show full post content is posts are tagged with "the list" */ if (is_tag( 'the-list' )) { the_content(); } ?>

    total archive.php https://pastebin.com/K3w4uL9J

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘archive.php mod to show full post content only with posts tagged "the list"’ is closed to new replies.