Written by on

How to Replace Standard Comment Form with Jetpack’s in iThemes Builder


Screen Shot 2013-04-25 at 10.27.49 PM


Screen Shot 2013-04-25 at 10.28.28 PM

If you would like to replace standard comment form in your iThemes Builder powered WordPress site with Jetpack Comments, follow these steps:

Edit comments.php in active theme (should ideally be a child theme of Builder). If the file is not present, copy it from parent Builder directory into the child theme directory and edit it.

Delete code similar to

<h3><?php comment_form_title( __( 'Leave a Reply', 'it-l10n-Builder' ), __( 'Leave a Reply to %s', 'it-l10n-Builder' ) ); ?></h3>

<div class="cancel-comment-reply">
	<small><?php cancel_comment_reply_link(); ?></small>


and replace

<form action="<?php echo site_url( '/wp-comments-post.php' ); ?>" method="post" id="commentform">
	<?php if ( is_user_logged_in() ) : ?>
		<p class="logged-in-as"><?php printf( __( 'Logged in as <a href="%1$s">%2$s</a>. <a href="%3$s" title="Log out of this account">Log out?</a>', 'it-l10n-BuilderChild-Ionic' ), admin_url( 'profile.php' ), $user_identity, $logout_url ); ?></p>
	<?php else : ?>
		<p class="comment-form-author">
			<input type="text" name="author" id="author" value="<?php echo esc_attr( $commenter['comment_author'] ); ?>" size="22"<?php echo $aria_req; ?> />
			<label for="author"><small><?php _e( 'Name', 'it-l10n-BuilderChild-Ionic' ); ?> <?php if ( $req ) _e( "<span class='required'>(required)</span>", 'it-l10n-BuilderChild-Ionic' ); ?></small></label>
		<p class="comment-form-email">
			<input type="text" name="email" id="email" value="<?php echo esc_attr(  $commenter['comment_author_email'] ); ?>" size="22"<?php echo $aria_req; ?> />
			<label for="email"><small><?php _e( 'Mail (will not be published)', 'it-l10n-BuilderChild-Ionic' ); ?> <?php if ( $req ) _e( "<span class='required'>(required)</span>", 'it-l10n-BuilderChild-Ionic' ); ?></small></label>
		<p class="comment-form-url">
			<input type="text" name="url" id="url" value="<?php echo esc_attr( $commenter['comment_author_url'] ); ?>" size="22" />
			<label for="url"><small><?php _e( 'Website', 'it-l10n-BuilderChild-Ionic' ); ?></small></label>
	<?php endif; ?>
	<!--<p><small><strong>XHTML:</strong> You can use these tags: <code><?php echo allowed_tags(); ?></code></small></p>-->
	<p><textarea name="comment" id="comment" cols="45" rows="10"></textarea></p>
	<p class="comment-submit-wrapper">
		<input name="submit" type="submit" id="submit" value="<?php _e( 'Submit Comment ?', 'it-l10n-BuilderChild-Ionic' ); ?>" />
		<?php comment_id_fields(); ?>
	<?php do_action( 'comment_form', $post->ID ); ?>



<?php comment_form(); ?>

Source: http://ithemes.com/codex/page/Plugin_related_and_other_generic_customizations_2#Jetpack_Comments


  1. Woah your blog is usually wonderful i like understanding your posts. Keep up the excellent perform! You are aware of, plenty of people need about for this information and facts, you can help these people tremendously.



Sale Ends Today! Save 35% OFF BackupBuddy with coupon code BACKUPWP35