Support » Fixing WordPress » how to change the “Read More..” text

  • Hello
    What file should I edit to change the “Read more..” text that shows up when we click the “more” button?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thanks, I’ve read that page before, its talking about a thousand things, so it is highly confusing for me to read or understand.
    There is a mention in that page about <?php the_content but they failed to mention where that is to be found.. which file????

    Its really frustrating to try to get a simple answer, yet the answer is that hard to find.

    Anyone can be less torturing please?

    where that is to be found.. which file????

    The answer is simple and complex at the same time. In the end, only you can really answer that question because it depends on your theme. With the help of the Template Hierarchy article, determine what Template is displaying your content, then edit that particular template. In your case, it could be your theme’s index.php (note the word COULD).

    If you are going to continue to modify your theme, then you will want to become conversant with the various aspects of theme files. You might want to review some of the articles in the Codex Design and Layout category.

    And just in case, here’s a forum search that may give you some other insight:

    Find this code in your index.php file:

    <?php the_content(); ?>

    …and change it to this:

    <?php the_content('Read on...'); ?>

    You can of course have the ‘read on…’ part as whatever text you want.

    Thanks very much for your valuable help. I finally found the ‘read more..’ text in a common.php file.
    Now, instead of editing the original theme’s common.php file, can I use the child theme I created to do so and leave the original untouched, so that future theme upgrades do not delete my edits?
    The only file in my child theme folder currently is style.css
    and I just type what I need to change only. Can the same be done with php files like common.php? and if so, do I use the link methed to link to the original theme’s files like we do in css files?

    And if so, can I type only the parts that I need to change in the child common.php file? or must I copy the whole code of the original file?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘how to change the “Read More..” text’ is closed to new replies.