WordPress short codes are easy to use, macros for use in post or page content. They allow you to make your content dynamic.
Custom menu short code
This short code allows you to build a custom menu and place it in your content body. First you need to create a custom menu. After your menu has been created and you have added items to it, then you are ready to use the custom menu short code.
[listmenu menu=blog menu_class=sitemap_menu]
- “menu” set to the name of the custom menu to display
- “menu_class” set to a CSS class (optional)
If you require, you can make your menu ONLY display on mobile devices by adding the “mobile=true” attribute. This is useful to make navigating your mobile site better.
[listmenu menu=blog menu_class=sitemap_menu mobile=true]
- “mobile” set to either true or false (null is same as false)
Using Mobile Shortcodes
When you are building content, you may find that what works for an desktop experience may not work for mobile. Ashord has several short codes to help you develop content that works display ONLY on mobile.
Mobi
This short code allows you to add content that displays ONLY for the mobile experience.
[mobi]Add mobile only content here.[/mobi]
Desktop
This short code allows you to add content that displays ONLY for the desktop experience.
[desktop]Add mobile only content here.[/desktop]
Mobile custom menu
See above “custom menu short code” for reference. This short code allows you to build a custom menu which can ONLY display for the mobile experience.
[listmenu menu=blog menu_class=sitemap_menu mobile=true]


