hide item from menu if user not code example
Example: hide menu items if user not logged in
<style>
if(! is_user_logged_in() ) : ?>
.logged-in-menu{
display:none;
}
<?php endif; ?>
</style>
<style>
if(! is_user_logged_in() ) : ?>
.logged-in-menu{
display:none;
}
<?php endif; ?>
</style>