Forums

[resolved] Read More not showing in my home page (6 posts)

  1. pinoyism.com
    Member
    Posted 3 years ago #

    Hi. I already searched the forum and even google but I could not make the read more link show up in my home page.

    I am using the <!--more--> tag and my index.php code looks like this

    <div class="entry">
    <?php if (is_single()) { ?>
    <?php the_content('Read on...'); ?>
    <?php } else { ?>
    <?php the_excerpt(); ?>
    <?php } ?>
    </div> <!-- .entry -->

  2. MichaelH
    Volunteer
    Posted 3 years ago #

    Get rid of the test for the if (is_single()).

  3. pinoyism.com
    Member
    Posted 3 years ago #

    WOW oh WOW!

    Thanks MichealH. You solved it.

    New code now looks like this

    <div class="entry">
    <?php the_content('Read on...'); ?>
    </div> <!-- .entry -->

  4. HaroldM
    Member
    Posted 3 years ago #

    I'm having this problem myself. No matter what I try I get no Read More to show. I changed themes recently so it's gotta be something with the theme but I'm at a loss. It's cutting off the text and putting [...] but that's it. No Read More link. The only way a reader can view the whole post is to click on the post's title. An example can be found at http://www.t2feathers.com/wp/?cat=20. The theme is called Christian Sun.

    Thanks in advance.

  5. jrliem
    Member
    Posted 3 years ago #

    Hi,

    Glad hear somebody has solved the "read more" problem. I am newbie & desperately look for solution of the problem in the internet & still have no idea.

    It seems quicktags "more" does not work. I use WP 2.7.1 and standard theme, as well. Below is what I did :
    1. Add new post
    2. Switch the editor to HTML view
    3. Click button more to insert <!--more--> between words
    4. Save and Upload
    But I can't find the "read more" in the words.

    What step I missed?

    Thank you

  6. jrliem
    Member
    Posted 3 years ago #

    Hello,

    please ignore my previous post. It has been solved.

    thank you

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags