WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] commenting - logged in vs not logged in (3 posts)

  1. chanzero
    Member
    Posted 8 years ago #

    i currently have my blog set so users have to be registered & logged in to leave comments. but then i thought maybe i'll try to encourage more comments by letting anyone leave comments. when i did this, the comment form at the bottom of the page showed a box for name, email, comment etc -- but it showed this even for logged in users (such as myself). is this how it's supposed to work? i thought the registered/logged-in users would just see the comment form with "You are logged in as [name]"? i am basically using the blix theme (and as far as i remember i haven't modified the comment portion of it)

  2. Samuel Wood (Otto)
    Tech Ninja
    Posted 8 years ago #

    is this how it's supposed to work?

    Depends entirely on the theme. My comments.php has code similar to this:
    if ( $user_ID ) :
    // say "you are logged in as whatever"
    else:
    // show Name/Email/URL inputs
    endif;

    You'll have to look at the code in your theme and see what it's doing.

  3. chanzero
    Member
    Posted 8 years ago #

    oh, duh -- thanks otto, i got it now

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.