Skip to content

Instantly share code, notes, and snippets.

@billerickson billerickson/global.js Secret
Last active Aug 29, 2015

What would you like to do?
// Two Column Comment Form
// Author: Bill Erickson
// URL:
if( $('.comment-form-author').length ) {
$('.comment-form').prepend( '<div class="one-half comment-form-right" />' );
$('.comment-form').prepend( '<div class="one-half first comment-form-left" />' );
$('.comment-form-author').appendTo( '.comment-form-left' );
$('.comment-form-email').appendTo( '.comment-form-left' );
$('.comment-form-url').appendTo( '.comment-form-left' );
$('.comment-form-comment').appendTo( '.comment-form-right' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.