2010-05-24, 22:44:44
Hi friends! I've found useful, for a project of mine, to write a plugin which allows to group menu items by specifing priority intervals. My first concept was to separate primary links from secondary links (think of drupal...) and then to place different menus in different areas of the page. Here's an example of use: This will show the first three menu items (sorted by priority). If you use the same function in another place (within the template) with different interval values...:-) Check it out!
Code:
<?php gbp_menu(return_page_slug(),1,3); ?>