• Resolved juliencb

    (@juliencb)


    I just installed the plugin on the Understrap theme and enabled the Comment Form integration. It appears on my comment form but underneath my Submit button, not before it. Is there an easy way to tell it where to appear?

    This is my submit button html:
    <p class=”form-submit”><input name=”submit” type=”submit” id=”submit” class=”btn btn-secondary” value=”Post Comment”> <input type=”hidden” name=”comment_post_ID” value=”47″ id=”comment_post_ID”>
    <input type=”hidden” name=”comment_parent” id=”comment_parent” value=”5″>
    </p>

    Before the button there is a final input:

    <span class=”form-group comment-form-url”><label for=”url”>Website:</label> <input class=”form-control” id=”url” name=”url” type=”url” value=”” size=”30″></span>

    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Lap

    (@lapzor)

    Hi,

    Under MailChimp for WP > Integrations > Comment Form you can set “Load some default CSS?” to Yes if you haven’t already.

    If that doesn’t solve it please share a link to your site where we can see the comment form.

    Thanks!

    Thread Starter juliencb

    (@juliencb)

    Hi, yes I have it set to “load some default CSS” and still not working. My site is still local for development. Is there no standard way to set the location of the checkbox if I edit the plugin php files? I found the lines:

    public function add_checkbox_before_submit_button( $submit_button_html ) {
    		$this->added_through_filter = true;
    		return $this->get_checkbox_html() . $submit_button_html;
    	}

    But it’s a mystery to me what $submit_button_html is.

    Plugin Author Danny van Kooten

    (@dvankooten)

    Hi Julien,

    I just downloaded the Understrap theme to run some tests but for me the sign-up button was appearing before the submit button. Are you on the latest version of Understap or did you make modifications to the theme?

    The plugin uses a hook in your comment form to output the checkbox, so if this hook is placed after the submit button then the checkbox will also appear after the submit button.

    Could you post a link to your website here please?

    Thanks in advance!

    Plugin Contributor Lap

    (@lapzor)

    Since there have been no replies for awhile I will now mark this ticket as “resolved”.
    If you are still experiencing this issue or you have a similar problem, please create a NEW ticket.

    Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Comment Form Integration – wrong location’ is closed to new replies.