Removing the ReadMore button from Posts??

Home Forums Theme Support Removing the ReadMore button from Posts??

  • Question status -
  • Krissana
    Participant

    Hi.
    Thanks for all your help.

    I’d like to remove the ReadMore button from the post excerpts at the bottom of my pages.

    http://kohtaolofthostel.com/KTLH/

    The post title is the same link as the button & I don’t want the redundancy.
    Also, I’m not fond of its aesthetic.

    I’ve read several posts on the subject…all with different solutions. None of them seem to work.

    Please advise.
    thanks.

    #4618
    Support Staff
    Keymaster

    Hi Krissana.

    Just remove this line from index.php and category.php:
    <p class="postmetadata"><a class="more-link" href="<?php the_permalink() ?>#more">Read More</a></p>

    If you’re worried for having links both in title and read more button to the post, there’s no need. It’s perfectly normal to have it. Can you be more specific, what are you tryin’ to do?

    #4619
    Krissana
    Participant

    Thanks.

    Also, how do I remove the “in Category” link at the right side of the post after I’ve clicked the post title.

    In my case, it says “in Slide”. I don’t want that link to be there.

    #4620
    Support Staff
    Keymaster

    You need to remove this line from single.php:
    <p class="postmetadata">In <?php the_category(', '); ?> &nbsp;<?php the_tags(); ?></p>

    #4621
    Krissana
    Participant

    Thank you so much.

    #4623

You must be logged in to reply to this topic.

Viewing 5 posts - 1 through 5 (of 5 total)