• Can anyone share how to go about implementing this? (https://photomatt.net/scripts/intellimenu)

    I am not understanding where to install the code provided? The only install info listed is..

    “Pop your code, one link per line, into the $menu variable and then put the rest wherever you want your menu to appear”.

    I think I’ll be fine if I can get pointed to the right place.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Ok, there are two things you need to do.

    1. Edit the code to include the links you want. Each link should be inside the <li> tags.

    2. Copy the whole thing and paste it where you want it to appear in your template. In header.php is the usual place. The way I did it was to put the code into a new file that I call navbar.php which is saved in my theme folder, and I call it from my header.php with this code:

    <?php include TEMPLATEPATH . '/navbar.php' ?>

    Save and upload the edited files, and you have your menu.

    OK, there are actually *three* things you need to do. Now you’ve inserted your intelligent menu, you’ll need to style it with CSS. Use whatever works for your site, or ask again if you need assistance with that.

    Hi, this was already very helpfull … it works..
    butr now i have another question…

    is it possible to link that with the wordpress “pages”?
    or how can i link it at all?

    if i change the link in the navbar.php i come to the right page but then the “folder view” like /folder/ is gone…

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PhotoMatt’s Intelligent Menu’ is closed to new replies.