WordPress.org

Ready to get started?Download WordPress

Forums

Hiero
[resolved] Read More in Excerpts (7 posts)

  1. sussexlongman
    Member
    Posted 12 months ago #

    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!

  2. sussexlongman
    Member
    Posted 12 months ago #

    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).

  3. beauc
    Member
    Posted 12 months ago #

    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!

  4. beauc
    Member
    Posted 12 months ago #

    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

  5. sussexlongman
    Member
    Posted 12 months ago #

    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.

  6. dondemaio
    Member
    Posted 11 months ago #

    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

  7. Rustem09
    Member
    Posted 6 months ago #

    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?

Reply

You must log in to post.

About this Theme

About this Topic

Tags

No tags yet.