Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author OnePress

    (@onepressmedia)

    Hi,

    Sorry not sure that you mean.

    The link doesn’t work for you? Or you performed all the steps described in this instruction and that doesn’t work for you?

    Paul

    Hello!

    If you need to hide WHOLE POST content you can use this code:

    <?php
    	$content = get_the_content();
    	$content = apply_filters('the_content', $content);
    	echo do_shortcode('[sociallocker]'.$content.'[/sociallocker]');
    ?>
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Lock content via PHP’ is closed to new replies.