Tips and Tricks HQ Support Portal › Forums › WP eMember › WP eMember General Questions › eMember – serve snippet of video to non-logged in users, full video to members? › Reply To: eMember – serve snippet of video to non-logged in users, full video to members?
July 16, 2012 at 11:42 pm
#47138
Keymaster
What you did is correct. There is no security issue with that because when the page renders it won’t even render the other block if the user is not logged into the site.
Anyway, there is a slightly easier way to do this which is the built in method. This method will give you more flexibility and you won’t have to worry about any PHP code. Please read this documentation:
http://www.tipsandtricks-hq.com/wordpress-membership/how-to-protect-a-section-of-a-post-or-page-88