WordPress.org

Ready to get started?Download WordPress

Forums

Posts are too long...is there a plugin to cut their lenght? (7 posts)

  1. 2F2F
    Member
    Posted 4 years ago #

    Hi,

    I started a blog few days ago and I can't find the option to show only a preview of the post and not all its content.

    Someone told me to add this:

    <!--more-->

    Is the only or best option? If so, where I have to add it?

    Thanks

  2. Samuel B
    moderator
    Posted 4 years ago #

  3. Kim09
    Member
    Posted 4 years ago #

    Hey 2F2F,

    If you add <!--more--> make sure you're in the html tab. If you're in the visual tab, there is broken line icon to add this. You can add it wherever you want, gotta try to see the difference :)
    Good luck

  4. Rev. Voodoo
    Volunteer Moderator
    Posted 4 years ago #

    also, you can look in your index.php for the_content (this displays full posts), and switch it to the_excerpt (which displays excerpts)

    this will affect all of your posts on your main/index page

  5. 2F2F
    Member
    Posted 4 years ago #

    Thanks everyone,

    I tried the excerp option but nothing happened.

    Thanks

  6. Rev. Voodoo
    Volunteer Moderator
    Posted 4 years ago #

    really?

    you replaced:
    <?php the_content('Read the rest of this entry &raquo;'); ?>

    or similar

    with
    <?php the_excerpt(); ?>

    or does your theme look different?

  7. 2F2F
    Member
    Posted 4 years ago #

    I will check better, I'm making a mess...

    Also, is there a way to avoid that one category of posts shows in the main page with all its posts and being visible only once you click that category?

    Thanks

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags