There are times when you might need to join a WordPress menu with menu items that are hard-coded in your template file. Below is a function that calls a WordPress menu slug placing its menu items in list elements. The example below, I have used in custom Bootstrap menus.

If you need to wrap the list elements within a ul element.

Simply call your custom menu function within your WordPress template file to display the WordPress menu alongside any hard-coded menu items.

This post was written by Steven Soehl Tampa based web developer & designer, online marketer, and WordPress.


Posted Under: , , ,

Leave a Reply

Be the First to Comment!

Notify of