WordPress.org

Ready to get started?Download WordPress

Forums

-more- without anchor (5 posts)

  1. tini
    Member
    Posted 10 years ago #

    i'd like to use the -more-tag without the anchor. just because i don't know how to acomplish the following:
    i don't want the entire posting on the front-page but just a short lead of the article that follows. then you click on (more) and then you can read the entire article. but now using the -more-tag, a HTML-anchor is generated. i want the page to begin on top and not to scroll down until the anchor.
    i'm rather new to WordPress.
    is there a way to modify how the -more-tag is displayed when the_content() is called? if so, where can i find this.
    thx
    tini

  2. welsper
    Member
    Posted 10 years ago #

    Try using the PAGE tag instead of the MORE tag.

  3. tini
    Member
    Posted 10 years ago #

    ok, i found it:
    http://wordpress.org/docs/template/#post_content
    next time i'll read the WHOLE manual first ;-)
    sorry for bothering.

  4. Scott Reilly
    WordPress & Plugin Dev
    Posted 10 years ago #

    joand: You found the right bit of code. You have to change the line:
    $output .= ' \">$more_link_text";
    to be:
    $output .= ' \">$more_link_text";
    (Basically getting rid of #more-$id)

  5. joand
    Member
    Posted 10 years ago #

    Thank you very much!
    Joan

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.