WordPress.org

Ready to get started?Download WordPress

Forums

Linking to different part of same page (2 posts)

  1. dmarks2010
    Member
    Posted 3 years ago #

    I created a sales page, and wanted "Buy Now" buttons to jump to main order area at bottom of page. HTML code for that is <a href="#order">button</a>, and then "name" the destination with <a name="order">.

    WordPress considered everything after the name link to be part of the link. So like a good little CSS page, I put a tag terminator in there, <a name="order" />. WordPress still didn't like it.

    So I finally put in a full-fledged termination with
    <a name="order">&nbsp;</a> Problem solved! Hope that's useful to somebodies.

  2. rob@lakesideschoolcr.com
    Member
    Posted 3 years ago #

    Hey there... thanks for this, it served me very well.

Topic Closed

This topic has been closed to new replies.

About this Topic