• Im trying to remove the link jump in the more link. Found some info at:
    http://codex.ww.wp.xz.cn/Customizing_the_Read_More

    I tried exchanging:
    . "#more-$id\">$more_link_text</a>";
    with
    ."\">$more_link_text</a>";

    But the more link structure does not change. I cleared my browser cache.

    When i compare the instruction source code with my version 2.3.2 live code there seems to be some difference. In my code there is some if else code.

Viewing 3 replies - 1 through 3 (of 3 total)
  • just remove the text inside the curly brackets from the_content


    <?php the_content(''); ?>

    Is that what your talking about?

    Thread Starter Mertzi

    (@mertzi)

    I want the read more same as article link. Not a added /#more-XXX.

    Moderator Samuel Wood (Otto)

    (@otto42)

    ww.wp.xz.cn Admin

    You made the correct change. Are you running wp-cache or wp-super-cache? You’ll need to clear them too if you are.

    In post-template.php:
    $output .= ' <a href="'. get_permalink() . "#more-$id\" class=\"more-link\">$more_link_text</a>";

    becomes:
    $output .= ' <a href="'. get_permalink() . "\" class=\"more-link\">$more_link_text</a>";

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Customizing the read more link’ is closed to new replies.