WordPress.org

Ready to get started?Download WordPress

Forums

How to change the "more..." link... to say something else (11 posts)

  1. Nourdmrolnmt1
    Member
    Posted 7 years ago #

    Yea, its simple, but i cant find it... i thought i changed it under the wp-includes, feed-functions.php but it doesnt seem to do anything...

    function the_content_rss($more_link_text='(Continued...)', $stripteaser=0, $more_file='', $cut = 0, $encode_html = 0)

    where "Continued..." used to be "more..." and nothing seems to have changed

    is there somewhere else i missed editing?

  2. VaamYob
    Member
    Posted 7 years ago #

    Try your theme's index.php and other php files.

  3. Chris_K
    Member
    Posted 7 years ago #

    Does this article help? Customizing_the_Read_More

    You really shouldn't need to be editing "core" WP files to do this (and if you do, you'll need to redo your changes after every upgrade!).

  4. fkranjce
    Member
    Posted 6 years ago #

    Hello,

    I am posting in old thread as i have same question. IN that article i've changed Read more but that is only for web pages.

    Is any way to change text in rss feed. Now it shows (more...) and i want to change that text.

    I am using feedburner to process my feeds but i guess that (more...) part is made by wordpress.

  5. fkranjce
    Member
    Posted 6 years ago #

    Hi,

    Anyone know if that is even possible to change?

  6. Kafkaesqui

    Posted 6 years ago #

    There's always:

    http://guff.szub.net/2006/04/22/more-unique/

    See the Nov 19 (2007) update.

  7. fkranjce
    Member
    Posted 6 years ago #

    Thx for a link.

    I will try it but still i would like to know (and i guess it is possible) in what file i can change that manually.

  8. Kafkaesqui

    Posted 6 years ago #

    You can modify it through the method Handy linked to (as an argument to the_content()) by editing one or more of the following files (each relating to a syndication format):

    wp-includes/feed-atom.php
    wp-includes/feed-rss2.php
    wp-includes/feed-rdf.php

    To modify it globally, look for the get_the_content() function in wp-includes/post-template.php.

  9. fkranjce
    Member
    Posted 6 years ago #

    Thx...i will try change it in post-template.php. I guess that will change only text in feeds as for web read more tag is changing in theme. Right?

  10. Kafkaesqui

    Posted 6 years ago #

    As I wrote, changing it in the core source (post-template.php) affects it globally across your blog. But you can override whatever WordPress uses through the 'more_link_text' parameter for the_content().

  11. fkranjce
    Member
    Posted 6 years ago #

    OK than. I've backup original post-template.php as i don't want to change it globally.

    Now....my feed in feedburner is from feed-rss2.php so i guess i need to change something in there.

    So..in that file i have this line mentioning the_content()

    "<content:encoded><![CDATA[<?php the_content() ?>]]></content:encoded>"

    In that line all i need to do is add parameter in the_content() like this

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

    Is that right way to do it?

Topic Closed

This topic has been closed to new replies.

About this Topic