John Russell Blog

Tag: nav-menu-template.php

  • WordPress Check if a Menu is Empty

    While working with WordPress there are times that it can be very useful to check if a menu is empty before outputting markup. One example is for displaying dynamic, custom, menus in a sidebar where you may not want to output any markup if the menu is empty. This is actually the default functionality of […]