WordPress.org

Ready to get started?Download WordPress

Forums

Adding Read More to Homepage (3 posts)

  1. vishnudath
    Member
    Posted 2 years ago #

    I see other blogs and posts that show the first say 5-10 lines of a post with a link something like "read the rest" "more..." at the end of the post.

    i had tried a lot and failed.

    this is my index.php

    [code moderated - use the pastebin for any code over the forum limit of 10 lines]

    this is loop.php

    [code moderated - use the pastebin]

    Thanks in Advance.

  2. alchymyth
    The Sweeper & Moderator
    Posted 2 years ago #

    http://codex.wordpress.org/Customizing_the_Read_More

    are you using the 'more tag' in your posts?

  3. vishnudath
    Member
    Posted 2 years ago #

    no, i'm not using more tag. and i want to keep experts in home page.

    this is my index.php - http://pastebin.com/KBUUX4FK

    this is my loop.php - http://pastebin.com/8VJqfCPQ

    any solution for it ..

Topic Closed

This topic has been closed to new replies.

About this Topic