Comment text area goes off on enabling "graphene_comment_textarea" action hook (Since 1.7)

  • Anonymous


    Hi Syahir,

    It seems the comment text area becomes invisible on enabling “graphene_comment_textarea” action hook widget area on Graphene Options. I was having this problem with my main site, but I’ve disabled that action hook. So, my big headache is gone. icon_biggrin.gif. But you can still see this issue in my test site –

    Additionally, if I add any widget to this action hook area, it appears twice.


    Update: Same thing happens if I hook any custom function to “graphene_comment_textarea” action using child theme.

    I really need to add something in this area. So, any suggestion/update would be great!

    Thank you!


    Syahir Hakim


    Okay, that action hook isn’t supposed to be there. You might not be able to use the theme’a action hook widget area for this, but you can hook functions to it using WordPress’ own comment_form_after_fields action hook.



    Thank you! But, comment_form_after_fields action hook seems to be not working..


    Syahir Hakim


    Ah..yes, that action hook is before the comment textarea, so you won’t see it when you’re logged in.

    There is also a comment_form action hook, but that is after the submit button.

    The only way you can add some HTML after the comment textarea is by filtering the graphene_comment_form_args filter hook:

    * Add some HTML after the comment textarea, but before the allowed tags message
    function graphene_comment_form_args( $args ){

    $html = '<p>Some HTML content</p>';
    $args['comment_notes_after'] = $html . $args['comment_notes_after'];

    return $args;
    add_action( 'graphene_comment_form_args', 'graphene_comment_form_args' );



    It works! Great! Thank you so much! icon_biggrin.gif



    I am having a problem when I hit the reply comment button goes to error. Also html which was loaded when I put theme showed up and I can’t get it off.

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.
Do NOT follow this link or you will be banned from the site!