WordPress.org

Support

Support » Themes and Templates » [Resolved] Read More in Excerpts

[Resolved] Read More in Excerpts

  • sussexlongman
    Participant

    @sussexlongman

    Hi, good simple attractive theme – only main issue I have is that the blog post excerpts on the front page are cut short mid-sentence without any ‘more’ type option. I’ve tried using the text editor ‘more’ option but that doesn’t seem to work. I can see in the code that the excerpt is limited to 200 characters but how do I add add a ‘Read More’ button or similar after the last character? Without that, I don’t think I’ll use this theme or recommend it, which would be a shame because I like it!

Viewing 6 replies - 1 through 6 (of 6 total)
  • sussexlongman
    Participant

    @sussexlongman

    OK, a night’s sleep and a solution, which you can see at http://codex.wordpress.org/Excerpt. See the section, How to add a link beneath an excerpt to the full post. I went for the first option, placing the link just before the closing of the entry-summary div (the one with thumbnails and the character limit).

    beauc
    Member

    @beauc

    I had a similar problem and as I’m super new to all this codex stuff I’ve been unable to find the spot in the php that you mentioned to fix it?

    I assume you’re using Hiero as well so would you be able to run me through which Theme template i need to add that passage into?

    Cheers!

    beauc
    Member

    @beauc

    No need I found it. Did you manage to get the link to appear right next to the end of the passage or was it spaced down? I can’t get it to sit next to the ending of the passage and thus it still looks rather odd

    sussexlongman
    Participant

    @sussexlongman

    No, it is spaced down for me too which I don’t mind, probably where I want it. However, it could do with a few … after it though as agree it still looks a little odd but think I’ve spent enough time on this now! Let me know if you come up with anything better.

    For anyone else, I should have mentioned that the code I referred to is in content.php, not index.php, which is where you might first look.

    dondemaio
    Member

    @dondemaio

    sussexlongman, can you post or otherwise email the content.php file in question? That would go a long way toward resolving this issue for me.

    Thanks.

    Don

    I can’t add “Read more” button. Nothing of advices can help. Version of WordPress is 3.8.1. Maybe this is one of reason of problem?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Resolved] Read More in Excerpts’ is closed to new replies.