-
Notifications
You must be signed in to change notification settings - Fork 0
Navigation Shortcode
The navigation shortcode at its most basic is:
[lo_nav_element]
In addition to the above mentioned categories parameter the following options are available:
- menu_option_index (true/false)
- menu_option_search (true/false)
- menu_option_categories (true/false)
- menu_option_city (true/false)
- menu_option_days (true/false)
- menu_option_partners (true/false)
- menu_option_campus (true/false)
When using the WordPress Post/Page Editor you will see a shortcode button for the nav element. Clicking on this will allow you to choose the options you want and the plugin will insert the actual code needed into the page.

Here is an example of what the shortcode could look like with all parameters added:
[lo_nav_element menu_option_index="true" menu_option_search="false" menu_option_categories="true" menu_option_city="false" menu_option_days="true" menu_option_partners="false" menu_option_campus="true"]
In the above example the nav menu would show the "main" or "index" page menu item (this is the page that contains the large icons for each category), a drop-down menu item showing the available categories, a drop down menu item showing the days of the week events are available on, and finally a drop-down menu showing events available at a specific campus. Because their parameter is set to false, the nav menu would not display the search menu item, he list of cities with available events menu item, or the partner organizations menu item.