Support » Plugins » Nuking Named Anchor with “More” Function

  • Hello,

    Is it possible to get rid of the named anchor that comes up when you click on the “Read the rest of this entry” on an article? So instead of going to, say “” it would just take you to “”

    This would essentially make the link for “More” the same as just clicking on the entry’s title.

    Hope that’s clear. 🙂


Viewing 2 replies - 1 through 2 (of 2 total)
  • The only way to do this is to edit the source.

    In template-functions-post.php (wp-includes/ directory) locate the get_the_content() function and this line in it:

    $output .= ' <a href="'. get_permalink() . "#more-$id\">$more_link_text</a>";

    Edit out the #more-$id portion. Source editing note: back up any files before editing them, and comment your changes for future reference.

    A plugin as discussed in this topic also works and may be preferable to editing the source.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Nuking Named Anchor with “More” Function’ is closed to new replies.