WordPress.org

Ready to get started?Download WordPress

Forums

Pages and Menu extern link (6 posts)

  1. Lisabeth
    Member
    Posted 2 years ago #

    how can I add a menu point without adding a page?? I want to have a menu point which directs everyone to an extern page. Is that possible. when I add a menu it wont appear on the menu bar, but when I add a page I cant direct it dirctly to another page...

  2. converting2wp
    Member
    Posted 2 years ago #

    I'm not entirely sure I understand the question, but if you're using the built in Menu system (i.e. Administration > Appearance > Menus) there is a section that allows you to define a "custom menu" item. Simply enter the link to the external site (URL) and the text that you want to appear on the menu (Label), then click "Add to Menu", drag the item to where it should appear and save the menu.

    If that's not the answer, please clarify. Thanks.

  3. Lisabeth
    Member
    Posted 2 years ago #

    Hi. Yes, that's what I thought.. But when I do it that way, it wont appear in the main menu. It will just appear, when I create a page, but then, I can't direct it directly to another page.. and thats my problem..

  4. Lisabeth
    Member
    Posted 2 years ago #

    can anyone help?

  5. qmrneo
    Member
    Posted 2 years ago #

    You can try some modification in header.php (child theme).

  6. converting2wp
    Member
    Posted 2 years ago #

    I can only guess that your theme isn't using the relatively new menu system and that no other changes you make in Administration > Appearance > Menus affect the main menu.

    How are you setting up menus? If your theme doesn't support them (you might let us know which theme you are using), then yes, modifying header.php (in a child theme) as suggested above is the way to go. You can either
    o find where the header.php creates the menus and modify that code to add the links that you want, or
    o add code to functions.php and header.php so that it will recognize the Navigation Menus you define in the Administration > Appearance > Menus panel.

    See http://codex.wordpress.org/Navigation_Menus for additional info.

    If that's not clear, to provide additional help we will need info on your site's theme.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.