WordPress.org

Ready to get started?Download WordPress

Forums

Possible to link to a category from Navigation? (7 posts)

  1. fifthhouse
    Member
    Posted 4 years ago #

    I want to have a link to a specific category from my navigation links. Does someone know if this is possible, and how I would do it?

  2. extatix
    Member
    Posted 4 years ago #

    The navigation links are pages now right?

    Make a new page and make its title:

    <a href="http://yoursite/category/specific">Specific</a>

    It should work.

  3. fifthhouse
    Member
    Posted 4 years ago #

    Thanks for your help. I tried this and it worked great! One problem though, is that the link in the navigation that it created is too far to the right. There is a larger space to the left of the link than to the right so it somehow messed with the layout of the navigation menu. Any ideas what could have caused this?

    It's at:

    angerwise.com/category/start-here/

  4. extatix
    Member
    Posted 4 years ago #

    There's a link to http://angerwise.com/start-here-2/ in your navigation menu and to angerwise.com/category/start-here/

  5. fifthhouse
    Member
    Posted 4 years ago #

    I was wondering if you might check my site again, I'm still having the problem with the space in my nav menu. I created the link as you suggested and it works great, except for this space...

    angerwise.com/category/start-here/

  6. Rev. Voodoo
    Volunteer Moderator
    Posted 4 years ago #

    not sure how much of an issue this is causing....but here's a bit of a code problem:

    <li class="page_item page-item-2278"><a href="http://angerwise.com/start-here-2/" title="<a href=&quot;http://angerwise.com/category/start-here/&quot;>Start Here</a>"><a href="http://angerwise.com/category/start-here/">Start Here</a></a></li>

    one thing I wonder about is the title attribute:
    ="<a href=&quot;http://angerwise.com/category/start-here/&quot;>Start Here</a>
    Do you know where that is coming from? Is this link hard coded? Or generated?

    And also, at the end of that link:
    Start Here</a></a></li>

    I think you have an extra there.

  7. fifthhouse
    Member
    Posted 4 years ago #

    Thanks again. I don't know enough to say where the attribute is coming from. Also, I've tried to figure this out but I don't know where the extra is coming from. It isn't in the title to the page I created, which is: Start Here

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.