How can we help?

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

Home Forums PokaTheme support Save configuration not working

Viewing 10 posts - 1 through 10 (of 13 total)
  • Author
    Posts
  • #10788
    admin
    Keymaster

    Hi Ricardo,

    You can add the following snippet to your child theme functions.php to enable guest users comments

    function poka_child_init(){
    update_option( ‘comment_registration’, 0 );
    }
    add_action( ‘init’, ‘poka_child_init’ );

    #10794
    Ricardo Nuno
    Participant

    Hi,

    Thanks, but not working and give erro in admin panel,

    “Warning: Use of undefined constant ‘init’ – assumed ‘‘init’’ (this will throw an Error in a future version of PHP) in /home/apostascomvalor/public_html/wp-content/themes/apostascomvalor/functions.php on line 631

    Warning: Use of undefined constant ‘poka_child_init’ – assumed ‘‘poka_child_init’’ (this will throw an Error in a future version of PHP) in /home/apostascomvalor/public_html/wp-content/themes/apostascomvalor/functions.php on line 631

    Warning: Cannot modify header information – headers already sent by (output started at /home/apostascomvalor/public_html/wp-content/themes/apostascomvalor/functions.php:631) in /home/apostascomvalor/public_html/wp-includes/functions.php on line 6221

    Warning: Cannot modify header information – headers already sent by (output started at /home/apostascomvalor/public_html/wp-content/themes/apostascomvalor/functions.php:631) in /home/apostascomvalor/public_html/wp-admin/includes/misc.php on line 1282

    Warning: Cannot modify header information – headers already sent by (output started at /home/apostascomvalor/public_html/wp-content/themes/apostascomvalor/functions.php:631) in /home/apostascomvalor/public_html/wp-admin/admin-header.php on line 9″”

    #10915
    admin
    Keymaster

    Hi Ricardo,

    I’m sorry but you did something wrong while you tried to add the snippet in your functions.php
    Also I’m not sure what theme is the /apostascomvalor/ I can see in your errors.
    The above snippet only works in PokaTheme.

    #10924
    Ricardo Nuno
    Participant

    Hi,

    It’s PokaTheme, I just renamed the theme name folder.

    Could you email me the modified file?

    I can give access to ftp also to check if necessary.

    Best regards,

    Ricardo Ribeiro

    #10944
    admin
    Keymaster

    Hi Ricardo,

    Please send us an FTP account with a description to your problem and I can check it.

    #10948
    Ricardo Nuno
    Participant
    This reply has been marked as private.
    #10960
    admin
    Keymaster

    Hi Ricardo,

    I tried your FTP and is just an empty folder.
    Also when I try to visit your site there is server authentication…

    #10964
    Ricardo Nuno
    Participant
    This reply has been marked as private.
    #10996
    admin
    Keymaster

    I’m sorry but I’m still unable to access your FTP…

    #10999
    Ricardo Nuno
    Participant
    This reply has been marked as private.
Viewing 10 posts - 1 through 10 (of 13 total)
  • You must be logged in to reply to this topic.