Signed in members for posts
-
How do I require users to be signed in to be able to post blogs? I still want users who are not signed in to be able to see posts, just not post them. The reason I want users to be signed in to be able to post is because I have Post Pay Counter plugin and I need to be able to associate the post with a member so that I can pay them a percentage of their ad revenue.
T tried this html code on the site but it did nothing on my site but display as text
if (is_user_logged_in()) {
// the user is logged in, so display the submission form
if (function_exists(‘user_submitted_posts’)) user_submitted_posts();
} else {
// the user is not logged in, so do something else
echo ‘Please log in to submit posts!’;
}The page I need help with: [log in to see the link]
- The topic ‘Signed in members for posts’ is closed to new replies.