Block part of a page’s content
-
Block part of a page’s content
I am using wpbackerry and I want to block part of a page content
On this same page there is the login form, if the user logs in I want him to have access to the content of this page? I can’t find the solution with wpbackerry, I’ve already used this plugin with other builders without problems.
I used this code:
add_action(‘wp_head’,function(){
if(! is_user_logged_in()){
?>
.loggedin {
display:none;
}
<?php
}
});
But I don’t know which hook to use?
A little help please?
THANKS
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Block part of a page’s content’ is closed to new replies.