When asking for help, it always helps to tell us what template you are using the code in and what isn't working. What is happening when you use that condition? Is CONTENT always posting or never posting? and what template? And who is your target - the user viewing the page, or the user who's page/post you are viewing?