WordPress.org

Ready to get started?Download WordPress

Forums

Adding pages to links that are already on a theme (3 posts)

  1. jen83
    Member
    Posted 5 years ago #

    Hi! The webstie that I'm using is http://sculptmydog.com/ I would like to know how to add pages to links that are already there such as About, Archives, and Contact

    I found the header page which show's this:

    <li id="nav-home">" title="Home">Home
    <li id="nav-about">/about/" title="About">About
    <li id="nav-archives">/archives/" title="Archives">Archives
    <li id="nav-contact">/contact/" title="Contact">Contact

    How would I incorprate this page http://sculptmydog.com/?page_id=2.. So, it will go to that page, but when you hover over the link it will say http://sculptmydog.com/about/

    Thank you!

  2. Len Kutchma
    Member
    Posted 5 years ago #

    You're using the default permalink structure and it appears the links in your header are hardcoded. You have 2 ways to go about this...

    1. Update your permalinks so that you're using "pretty permalinks". Dashboard > Settings > Permalinks Then when you create a page called Contact it will be automatically linked. More on that from the Codex.

    2. Keep the default permalinks but you'll need to edit the links hardcoded in the header. For instance, if you have a Contact page using the default permalink structure it may look something like yoursite.com/?page_id=10 Obviously you'll need to edit the hardcoded link in header.php to reflect this.

    I'm not sure what you mean by "hovering over the link"? A tooltip? If yes simply add title="your tooltip" to the anchor tag.

  3. Len Kutchma
    Member
    Posted 5 years ago #

    You're using the default permalink structure and it appears the links in your header are hardcoded. You have 2 ways to go about this...

    1. Update your permalinks so that you're using "pretty permalinks". Dashboard > Settings > Permalinks Then when you create a page called Contact it will be automatically linked. More on that from the Codex.

    2. Keep the default permalinks but you'll need to edit the links hardcoded in the header. For instance, if you have a Contact page using the default permalink structure it may look something like yoursite.com/?page_id=10 Obviously you'll need to edit the hardcoded link in header.php to reflect this.

    I'm not sure what you mean by "hovering over the link"? A tooltip? If yes simply add title="your tooltip" to the anchor tag.

  4. Len Kutchma
    Member
    Posted 5 years ago #

    Hmmm, I seem to have double posted.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.