Where do I place the PHP code to insert or not insert a menu item based upon some condition, i.e. value of another PHP variable like so:
$listItem = '';
<?php if ($condition)
{
$listItem = '<li id="menu-item-44" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-44"><a title="Our Real Estate Blog" href="http://www.mattepstein.com/category/blog/">Blog</a></li>';
}
?>
/* html for menu list */
<?php echo $listItem; ?>
/* more html for menu list */