Skip to content

Instantly share code, notes, and snippets.

@jameshibbard
Last active December 10, 2015 02:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jameshibbard/4365385 to your computer and use it in GitHub Desktop.
Save jameshibbard/4365385 to your computer and use it in GitHub Desktop.
Simple unordered list to be marked up as a menu, containing call to do_shortcode()
<ul id="myMenu">
<li id="blog"><a href="/blog">Blog</a></li>
<li id="humor"><a href="/humor">Humor</a></li>
<li id="consulting"><a href="/consulting">Consulting</a></li>
<li id="contact"><a href="/contact">
<?php echo do_shortcode('[formlightbox title="Send me a message" text="Contact me"][contact-form-7 id="401" title="Contact form 1"][/formlightbox]'); ?>
</li>
</ul>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment