Is It Possible To Navigate On The Same Page With Wordpress Menus ?

Discussion in 'HTML & Website Design' started by surimaribo, Jan 28, 2013.

  1. #1
    0 down vote favorite
    Is it possible to navigate on the same page with wordpress menus ?
    lets say i have only one very long wordpress post and want to navigate on the same page by clicking the wordpress menus ?
     
    Solved! View solution.
    surimaribo, Jan 28, 2013 IP
  2. Hefaistos

    Hefaistos Active Member

    Messages:
    194
    Likes Received:
    14
    Best Answers:
    9
    Trophy Points:
    63
    Digital Goods:
    1
    #2
    I don't understand the question too good. Do you want to use WordPress menu like a "Up" and "Down" buttons? , so when clicking menu button to go to that post bottom?
     
    Hefaistos, Jan 28, 2013 IP
  3. surimaribo

    surimaribo Well-Known Member

    Messages:
    457
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    130
    #3
    No when clicking menu button i want it to go move to parts of the content that is on the same page
     
    surimaribo, Jan 28, 2013 IP
  4. Hefaistos

    Hefaistos Active Member

    Messages:
    194
    Likes Received:
    14
    Best Answers:
    9
    Trophy Points:
    63
    Digital Goods:
    1
    #4
    You can probably do this by giving the needed parts some ids and then replacing WordPress menu tab url with #section_id , where "section_id" will be the name given to wanted section.
     
    Hefaistos, Jan 28, 2013 IP
  5. #5
    Hi surimaribo - yes, I want to remember how to do this now and again, but it's so rare that when I want to do it I have forgotten exactly how to, so I made myself some notes which I keep handy. Here are mine:

    "Wordpress - link to another page, half way down
    Add target:
    <div id="link-some-text">Some text</div>
    or
    <h2 id="some-text">Heading of some sort</h2>

    Then the link will be either #link-some-text if on the same page (using the WP link box), or http://site.com/page-url#link-some-text
    If you are linking to a particular spot on a different page than the one you're linking from, then you also need to add the page slug to the anchor. So let's say your bios page is http://www.myblog.com/bios/
    Your anchor link will look like:
    <a href="/bios#link-some-text">See some text</a>
    ...or enter /bios#heatherbio in the link pop-up."


    Hopefully it makes sense! There is a bit of editing the code there but, basically, WP does not make this easy for you right now. In future no doubt this will be improved. :)

    Good luck!

    Malc
     
    malcsimm, Jan 31, 2013 IP
    surimaribo likes this.
  6. barbiecan29

    barbiecan29 Greenhorn

    Messages:
    79
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    8
    #6
    Same question from me also. I also don't understand that what you really wanna ask.
     
    barbiecan29, Jan 31, 2013 IP
  7. surimaribo

    surimaribo Well-Known Member

    Messages:
    457
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    130
    #7
    Thank you Malc , this is what i was looking for .
     
    surimaribo, Jan 31, 2013 IP
  8. malcsimm

    malcsimm Well-Known Member

    Messages:
    241
    Likes Received:
    26
    Best Answers:
    3
    Trophy Points:
    108
    #8
    UR welcome surimaribo :)
     
    malcsimm, Jan 31, 2013 IP