WordPress.org

Ready to get started?Download WordPress

Forums

How to add Readmore to theme (7 posts)

  1. Ibietela
    Member
    Posted 2 years ago #

    Hi am a newbie. I have a theme, and there is a "readmore" button but the theme keep sh0wing my full post, how can i fix it?

  2. Charles Frees-Melvin
    Member
    Posted 2 years ago #

    change the_content to the_excerpt in your theme.

  3. alchymyth
    Forum Moderator
    Posted 2 years ago #

    there is a "readmore" button but the theme keep sh0wing my full post, how can i fix it

    use the 'more-tag' when writing or editing your posts -

    http://codex.wordpress.org/Customizing_the_Read_More

  4. Ibietela
    Member
    Posted 2 years ago #

    @charles h0w can i do that? Please help.

  5. Ibietela
    Member
    Posted 2 years ago #

    @sweeper that is doing it manually

  6. alchymyth
    Forum Moderator
    Posted 2 years ago #

    that is doing it manually

    sure it is - you didn't ask for automatically ;-)

    change the_content to the_excerpt in your theme

    locate the template for the start page - usually index.php - if not tru to follow http://codex.wordpress.org/Template_Hierarchy

    in this template, find the line with the_content()
    - this will depend on your used theme, and might not be there - some themes use further templates such as content.php or loop.php to show the posts.

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

  7. Ibietela
    Member
    Posted 2 years ago #

    ok @sweeper thaNks for your help. All this free themes are hell of a trouble and no money to buy a premium theme

Topic Closed

This topic has been closed to new replies.

About this Topic