Viewing 6 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic.
Hi,
I have a section I’m my theme that I would like only visible to members that have logged in. I know that I can use the private shortcode in posts but how can I use this within the theme file? I’m new at the whole php side of things so could really use some guidance.
Many thanks
James
ok let me rephrase. I know I can use
<?php echo do_shortcode('[userpro_private]'); ?>
to initiate the private function but I cant get that to wrap around anything.
I’ve tried using
<?php echo do_shortcode('[/userpro_private]'); ?>
on the other side of it but it doesn’t seem to recognise this even though it works if I just use shortcodes in the editor.
Any ideas?
http://userproplugin.com/userpro/forums/topic/please-read-the-support-rules-before-posting/
Please verify your purchase first. Thanks 🙂
The shortcode I have posted already should work. 🙂
If you have a specific issue, let me know!
content should be here:
echo do_shortcode(‘[userpro_private]…[/userpro_private]’);
You must be logged in to reply to this topic.