Forums

linking to a specific part of my post (6 posts)

  1. Jackie
    Member
    Posted 2 years ago #

    How can I link to a specific part of my post , instead of the entire post page URL? I noticed I need a # but I am not sure how to set it....I guess they are called anchors?

  2. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    Within the post:
    <p id="thisbit">.... post text...</p>

    The link:
    <a href="http://link_to_post/#thisbit">Link text</a>

  3. Jackie
    Member
    Posted 2 years ago #

    and if I want it to link to the beginning of the "comment" box? How would I do that? So when someone clicks on the link, it takes them straight to the comment box where they can enter their comments?

  4. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    Within a post,try:

    <a href="http://link_to_post/#response">Link text</a>

    Within a template and inside the Loop:

    <a href="<?php the_permalink();?>">Link text</a>

  5. Jackie
    Member
    Posted 2 years ago #

    It worked! thank you, thank you, thank you!

  6. Jackie
    Member
    Posted 2 years ago #

    Since you are so knowledgeable...do you know how I can test if my trackbacks and pingbacks are working? I do not see the trackback URL in any of my posts even though it is on in settings as well as in each post...it is driving me insane.

    Here is one of my posts...am I missing something?
    http://jackiebiz.com/2009/11/03/7-steps-to-put-an-end-to-business-mediocrity/

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.