Multimenu plugin - how to implement

Post Reply
linuxrichard
Jr. Bludit
Posts: 7
Joined: Mon Apr 07, 2025 12:09 pm
Has thanked: 3 times

Hi,

I'm really keen to make use of this plugin but I can't make out where to put the php. The documentation says to put it in the theme's template (I assume that means the index.php file), which I've done, using the Alternative theme. But it doesn't seem to be working an the old menu is still there. Where in the file to do this and how to replace the usual menu? And help would be very gratefully received!
linuxrichard
Jr. Bludit
Posts: 7
Joined: Mon Apr 07, 2025 12:09 pm
Has thanked: 3 times

Any update on this?
arfa
Master Bludit
Posts: 163
Joined: Tue Jul 04, 2017 4:31 am
Location: New Zealand
Has thanked: 13 times
Been thanked: 27 times

I wonder if you are getting the menu built and saved? There are a few buttons that need to be clicked.
Give the menu a name.
Edit Items – be sure to click '+ Add' and then 'save'. The item should appear at bottom.
Go 'Back to List' and copy the shortcode; eg. <?php multiMenu("testMulti"); ?> where 'testMulti' is the name you gave the menu.

Paste that shortcode into your template page. It already has php tags to just put it somewhere at the top – after plugins have been declared.

The challenge with MultiMenu is styling, you need to know how list styling is built. You will probably find examples online.

I just published a menu plugin...
https://plugins.bludit.com/plugin/horiz ... chive-menu
and there is a simple two-tier menu builder there that may be easier – depending on how much depth you want.

good luck - kusalo
Post Reply