Wordpress let's users apply CSS classes to links under Appearances-->Menus.
Well based off of this, I would like to know if there is a way to hide links that have a certain CSS class. So say I apply the CSS class
.members
to one of my navigation links. The catch is, I would like this link to only show to users that are logged in.
I am a little stuck though as I don't know how to exactly go about doing this. Could something like:
if(is_user_logged_in()) {
}
I just don't know how I could target a CSS class.