Menu Integration
Hero Menu allows you to integrate by using registered menu locations, shortcodes or php do_shortcode script for the more hardcore developer.

Menu location

Here you can set the location of your menu

Shortcodes

Page shortcodes allow you to place a shortcode within your theme pages, posts and custom post type post editors
[hmenu id=]

Copy and paste this shortcode within the post editor. Example below!

Steps to add shortcode to a page

Follow these steps to add the shortcode to your post pages.
  • Click on Pages/All Pages on the left hand side.
  • Select a Page and click Edit.
  • Paste the following shortcode within the Editor as shown below:

Steps to add shortcode to a post

Follow these steps to add the shortcode to your posts.
  • Click on Posts/All Posts on the left hand side.
  • Select a Post and click Edit.
  • Paste the following shortcode within the Editor as shown below:

PHP do_shortcodes

This executes a shortcode outside of the post editor. Used to run shortcodes with the PHP script.

                                

Copy and paste this php script within your header.php or footer.php

Example on how to add do_shortcode to your files

Follow these steps to add the menu to your php files.
  • Click on Appearance/Editor.
  • On the right hand side under the Templates heading, select your header.php file
  • Scroll down untill you find code that resembles the following, please note that not all themes will have the same HTML layout and that your theme might be slightly different.
  • Replace the highlighted code with the following:
  • It is reccommended that you make a backup of the code that you are replacing, so that you can revert if you are not happy with the result.