Foliovision Logo

Embedded Menus Plugin

Embedded Menus is a WordPress plugin that will allow you to embed an automatically generated page menu inside a WordPress page. Two types of menu are available:

  • Sibling menu - All sibling pages of the current page, including the page itself
  • Child menu - All child pages of the current page

To give an example, imagine a page structure as follows:

  • About
    • Peter
    • Paul
  • Themes
  • Contact

On the 'About' page you can embed a sibling menu and you will get:

  1. About
  2. Themes
  3. Contact

Or you can embed a child menu and you will get:

  1. Peter
  2. Paul

Remember that the embedded menus are automatically generated - any changes to the page hierarchy will be instantly reflected on your site.

Installation

Installation is just like any WordPress plugin:

Usage is very simple. Edit the post you wish to embed a menu inside and insert: *** menu *** To embed a menu of all sibling pages. Or insert: *** menu child *** To embed a menu of all child pages. Embedded menus are presented as an ordered list wrapped inside a div element with a class of 'embedmenu'. A default style is included with the plugin and can be changed to suit your own site.

Menu depth

You can specify an optional depth parameter to configure how many levels deep you want the menu to go. This is achieved by simply adding a number after the menu command: *** menu 2 ***

This works the same for child and sibling menus, and a value of 0 indicates there is no limit (i.e. as many levels as needed will be displayed)

(This documentation created with the excellent Sniplets plugin. Normally would expand into a live menu, as FolioPress WYSIWYG converts numeric entities to characters. Sniplets leaves the numeric entities as is. Just one use of the Sniplets plugin. Other uses include syntax highlighting or including PHP in WordPress posts. Original functionality was to replace SSI - server side includes.)


Tags: none

del.icio.us Digg Ma.gnolia StumbleUpon Technorati Jump to the top of this page

 

5 comments on “Embedded Menus Plugin”

  1. 01

    Looks just what I’m after but the download link file is corrupted. Can you check please?
    PS: LOVE the WYSIWYG editor!

    Andy at February 14th, 2008 around 8:01 pm
    Jump to the top of this page
  2. 02

    Hello Andy,

    I’m glad you like Foliopress WYSIWYG. Nice site. Hosting locally in Australia is certainly the best way to go.

    Thanks for letting me know about the broken link. It’s due to a misfunctioning Drain Hole from John Godley. Alas, we have a lot more great plugins which have been waiting for half a year for release while we are waiting for Drain Hole to be fixed properly.

    I am sure you will like the Embedded Menus plugin. You will now be able to download Embedded Menus with no problem. This is version 1. If you are finding Embedded Page Menus useful, let me know and I can send you version 2 which is in active beta. Version 1 is much simpler and straightforward to use so it’s a good place to start.

    alec at February 15th, 2008 around 5:59 am
    Jump to the top of this page
  3. 03

    Hi, I’ve been looking all around the web for a way to list sibilings pages, this is just what I need! When I try to download the plugin, though, it tells me the archive is corrupted. Can you help me please?
    Thank you a lot!

    Ale at June 28th, 2008 around 7:15 am
    Jump to the top of this page
  4. 04

    Hello Ale,

    Give it another try now.

    Let me know what you think.

    PS. If you find, Embedded Page Menus useful (that you know what sibling pages are is a good start), you should think about buying our Embedded Page Menus Pro. We use it on all our websites.

    alec at June 28th, 2008 around 7:48 am
    Jump to the top of this page
  5. 05

    Thanks so much! It’s perfect. And thank you for the tip about the Pro version, as well. I’ll consider the possibility of purchasing it.

    Ale at June 28th, 2008 around 12:21 pm
    Jump to the top of this page

Leave a Reply

  •  
  •  
  •  

You can keep track of new comments to this post with the comments feed.

Section Contents

Recent Posts

Recent Comments:

  • How to Convert a Clone CD Image to ISO (27)
  • devin: “Hey Alec, Well, it had also said that sudo (and port) were unrecognized commands. For instance, sudo install ccd2iso gave me an unrec....”
  • devin: “Actually, got that worked out…but can’t seem to get ccd2iso running. It’s an “Unrecognized action.” >...”
  • devin: “So…this is all very much out of my depth and I’m sure I’m missing something obvious, but… …when I try to...”
  • How to Comment Code in WordPress Templates (3)
  • Chris: “Thanks this really helped out!”
  • Embedded Menus Plugin (5)
  • Ale: “Thanks so much! It’s perfect. And thank you for the tip about the Pro version, as well. I’ll consider the possibility of...”