How can we help?

If you are looking for support for our PokaTheme, this is the place!

Home Forums Child Themes support Comments & Review ratings problem

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #5105
    Man Sh
    Participant

    comment
    I want the readers to be able to post comments or rate a review without the need to register and confirm, however, every time I try to disable the “registered to comment” option in Settings > Discussion, it always restores back to ticked box.
    Reg
    After pressing “Save changes” It always restores to
    restored

    Is there an option for readers/viewers to leave comments or ratings without the need to register, confirm e-mails and so on?

    #5153
    admin
    Keymaster

    Hi!

    The registration is mandatory for the users in order to leave ratings because otherwise if a user wanted could leave multiply ratings in a review.

    If you want to enable comments for guests you can add the following to your child theme:

    `function poka_child_init(){

    update_option( ‘comment_registration’, 0 );

    }

    add_action( ‘init’, ‘poka_child_init’ );`

    #5685
    Man Sh
    Participant

    Hey, just did exactly that. It worked wonders to some extent.
    I still can’t get rid off the registration field even though options like “Allow users to leave ratings” are disabled.
    I want to make unrestricted comment section, without the registration fields being visible.
    Here’s how it looks now:

    Comment Registration

    How do I completely remove the login-register fields on the bottom of each page completely and leave just the above open to everyone field?

    • This reply was modified 4 years, 5 months ago by Man Sh.
    #5721
    admin
    Keymaster

    Hi!

    Because this case is not an option in PokaTheme the only way is by making changes to theme files.
    You have to overwrite the comments.php to your child theme and then make the following function a comment :

    `poka_login_register();`

    #5738
    Man Sh
    Participant
    This reply has been marked as private.
Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.