Omit AD Poster information if user is not logged in
Hey,
So, I'm using Classipress with the Adsplash Child Theme and I'm trying to figure out how to omit the Poster tab if the user is not logged in. I don't want to completely get rid of it but if the user isn't logged in have it say something like "You must be logged in to view this ad poster's profile". --- This is on the sidebar-ad.php file
I have been trying to use function is_user_logged_in() but I can't get it to work.
I noticed the contact tab previous to the poster tab uses a CP option to get a template but as far as I can tell the ad poster information doesn't have it's own template.
Any suggestions would be greatly appreciated!