Forums

Excerpt/teaser option for posts (9 posts)

  1. rastamad
    Member
    Posted 6 years ago #

    I can't figure out how to make the excerpt/teaser option for our blog posts work. I tried putting the comment <!--more--> after the text of the post that I only want displayed on the blog in the HTML code but it didn't work out. How should I do this?

  2. Michael Bishop
    Forum Concierge
    Posted 6 years ago #

    You say you put the quicktag <!--more--> in the html code- you mean in the index.php template?
    It's intended to go directly in the post while you are writing.
    I believe there are some plugins that will also handle the duty as well.

  3. rastamad
    Member
    Posted 6 years ago #

    Not the index.php template. I mean the html code of the post. But I also did the same thing in the post but got the same result. Would you know of any plugin I can use?

  4. rastamad
    Member
    Posted 6 years ago #

    I am using a GUI version of quicktags. It doesn't have a button for the comment tag <!--more-->. Any suggestions?

  5. Michael Bishop
    Forum Concierge
    Posted 6 years ago #

    Hand code it in when you are writing your post. Some suggest it be on its own line as
    blah blah blah
    <!--more-->
    Blah Blah...

  6. rastamad
    Member
    Posted 6 years ago #

    It still won't work when I am using the WYSIWYG editor in lieu of quicktags. The comment tag only works when I am using quicktags.

  7. Michael Bishop
    Forum Concierge
    Posted 6 years ago #

    You can type the tag in the post is the point I was making. No need for any editors or buttons.

  8. Hoover
    Member
    Posted 6 years ago #

    When you want to enter the <!--more--> tay, you need to do so when viewing the code. Don't enter it into the HTML editor when in WYSIWYG mode.

  9. Bennett McElwee
    Member
    Posted 6 years ago #

    There are a number of plugins that automatically create the teaser. My Evermore WordPress plugin is one; that page also lists a lot of other plugins that do similar things. If you use one of these plugins then you may never need to manually add <!--more--> to your posts.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.