Forums

Plugin for auto snippets on category pages? 100 chars (3 posts)

  1. chris2006
    Member
    Posted 4 years ago #

    Hi,

    Currently im displaying full post content on my archives and category pages and wondered if there is a simple way (plugin hopefully) that will only output say 100 characters of each followed by a [....] read more style link?

    I've had a good look through google but other than writing a specific excerpt nothing turns up.

  2. 4hero
    Member
    Posted 4 years ago #

    hi, have you added <!--more--> where you want the text to stop (after your 100th character)? Just hit the "Code" tab when you are adding your post/page and put the <!--more--> tag where you want the content to stop on your archive/category pages.

  3. Kafkaesqui
    Moderator
    Posted 4 years ago #

    More on 'more':

    http://codex.wordpress.org/Customizing_the_Read_More

    A more *automatic* method is to use the_excerpt() template tag in place of the_content() in your templates:

    http://codex.wordpress.org/Template_Tags/the_excerpt

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.