Resources

My Agape try

Your Agape try


Support Forum

Current User: Guest Login Register
Please consider registering

Search 
Search Forums:


 




hide comments from visistors

UserPost

4:56 am
February 5, 2010


catch22

Member

posts 7

1

Is it possible to hide the comments under the posts from visitors (=not logged in users)?

So that the comments are only visible for logged-in users?


2:18 pm
February 8, 2010


Kevin

Admin

posts 1171

2

catch22 said:

Is it possible to hide the comments under the posts from visitors (=not logged in users)?

So that the comments are only visible for logged-in users?



That's a job for template code. For example, in single.php:

change:

comments_template();

to:

global $current_user;
if ( $current_user->ID )
   comments_template();


Reply to Topic: hide comments from visistors

NOTE: New Posts are subject to administrator approval before being displayed

Guest Name (Required):

Guest EMail (Required):

Guest URL (required)

Math Required!
What is the sum of: 11 + 11        (Required)

Topic Reply:


 

About the Agapetry forum

Currently Online:

Kevin

4 Guests

Maximum Online: 88

Forums:

Groups: 2

Forums: 7

Topics: 562

Posts: 2664

Members:

There are 472 members

There are 1 guests


Kevin has made 1171 posts

Top Posters:

metal450 - 98

YikYak - 53

Ragnar - 36

Daisy - 35

LorenW - 33

Administrator: Kevin | Moderators: Kevin