WordPress.org

Ready to get started?Download WordPress

Forums

Editing <!--more--> Tag (10 posts)

  1. matt7267
    Member
    Posted 9 years ago #

    Hi everyone,

    Is there a way to edit the text for the <!--more--> tag? So that the link would read something like "Read More Here" instead of just "more..."

  2. Mark (podz)
    Support Maven
    Posted 9 years ago #

  3. matt7267
    Member
    Posted 9 years ago #

    Im not sure if I got lost in that thread or what, but does anyone have any other ideas? I cant seem to find what I am looking for in that thread ;-)

  4. Mark (podz)
    Support Maven
    Posted 9 years ago #

    function the_content($more_link_text = '(more...)',

    Line 58
    template-functions-post.php
    WP 1.2.2

  5. matt7267
    Member
    Posted 9 years ago #

    podz,

    Thanks for the help. What I really wanted to do was have the link use text that would vary from post to post. Its not a big deal really, just something I thought would be neat.
    Thank you VERY much for the help.

  6. Mark (podz)
    Support Maven
    Posted 9 years ago #

    I see what you mean...but I don't recall a plugin or anything else that would alter that on such a basis.

    Plugin anyone ?

  7. matt7267
    Member
    Posted 9 years ago #

    hmmm, perhaps I have inspired some plugin work ;-)

  8. You can use the Get Custom Field Values plugin. Check out the example section: http://www.coffee2code.com/archives/2004/06/30/plugin-get-custom/#examples

    The last example describes how to do what you want. You would need the plugin, obviously, and a simple tweak to your index.php.

  9. eragle
    Member
    Posted 9 years ago #

    I just found an image and called it instead. It looked a lot more professional and took little effort on my part.

  10. eragle
    Member
    Posted 9 years ago #

    Well let me rephrase that, on the 1.2 I called an image, but since upgrading the option is really no longer feasible since themes usually aren't including it in the new index.php's that are coming out.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.