WordPress.org

Ready to get started?Download WordPress

Forums

Customize "Read More" (5 posts)

  1. ladylynn
    Member
    Posted 5 years ago #

    This answer to this is probably really simple, but my tinkering hasn't run across it. My read more tag currently says "Read more of [post title]". I would love to change it to where the post title is bold or italicized, and maybe has an arrow after it. Here's my current code:

    <?php the_content(__('Read more of '.get_the_title()));?><div style="clear:both;"></div>

    What do I need to do to bold my post title?

    TIA!

  2. RoseCitySister
    Member
    Posted 5 years ago #

    Take out the "Read more of" in your tag. In the stylesheet, style the link (class is more-link) to be bold or italicized. Then instead of just the more tag, type in Read more of and then type in your more tag:

    Read more of <!--more-->

    That's the way I'd do it.

  3. ladylynn
    Member
    Posted 5 years ago #

    Thanks! I'll give that a shot.

  4. RoseCitySister
    Member
    Posted 5 years ago #

    Actually, that won't work, now that I look at it - when you click to the full article page, then you've got the Read more of...before the remaining article text.

    A better alternative would be to put <?php the_content(__('<span class='whatever'>Read more of</span> '.get_the_title()));?>

    Style the font for the entire more link as bold, and style span.whatever in your stylesheet to be normal font weight.

    Sorry about that!

  5. RobertBruce
    Member
    Posted 5 years ago #

    Which files do you need to edit and in which folders are they found?

    I want to add an image to the Read More tag but have not been able to pick up which files you are discussing or in which folder they are located.

    Your help will be greatly appreciated.

    Thanks

    Rb

Topic Closed

This topic has been closed to new replies.

About this Topic