• Is there any way to make tag pages show less of the posts? Right now it’s showing all of them, the whole things, one after the other in one enormous column. I’d like to be able to show only a few lines of each post, and have to click on the post itself to see the rest.

    I swear I must be missing something painfully simple…

Viewing 6 replies - 1 through 6 (of 6 total)
  • If you have a tag.php template, you can edit that to use the_excerpt instead of the_content. If you don’t have a tag.php file in your theme, then you’d need to create one (possibly duplicate archive.php if you’ve got that) and then make the requisite edit.

    Thread Starter writingferret

    (@writingferret)

    I don’t have a tag.php. Is there any way to create one through the WP interface, or do I have to use a theme editor?

    Thread Starter writingferret

    (@writingferret)

    Okay, so here’s what I did. I copied the archive.php from the site, changed its name to tag.php then copied it back. I then had a tag.php to edit in the WP interface, changed the the_content to the_excerpt, and it’s exactly what I wanted! Thanks miklb!

    Thread Starter writingferret

    (@writingferret)

    I do have one small problem that came from this. After adding this tag.php in there and changing the line, my “Recent Posts” widget now shows pages, too, but only when you’re on a tag page.

    I’m assuming there’s something I can edit in the tag.php…

    I’d have to see the code in the tag.php file, perhaps you can pastebin it?

    Thread Starter writingferret

    (@writingferret)

    Okay, I haven’t done much modifying of WordPress, but the entire idea behind pastebin is exceedingly awesome.

    Anyway, here you go.

    https://wordpress.pastebin.com/m573d07c

    Thank you so much for your help.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Have tag pages show LESS of posts?’ is closed to new replies.