• Resolved randyttp

    (@randyttp)


    Been reading the codex for a few days about this and I’m on the edge of the cliff to really grasp it and find out the answer myself… But I could use a little nudge.

    As a teaching tool perhaps you could tell me how I can make the form labels sit on the right side of the input fields instead of the default left.

    Thanks for any help on this, I need it.

Viewing 1 replies (of 1 total)
  • Thread Starter randyttp

    (@randyttp)

    in the comment-template.php I found this

    do_action( 'comment_form_before_fields' );
    foreach ( (array) $args['fields'] as $name => $field ) {
    echo apply_filters( "comment_form_field_{$name}", $field ) . "\n";
    }
    do_action( 'comment_form_after_fields' );

    I have found the mother ship, I think. Now what to do with it?

    Should I just edit the comment-template.php file itself to read

    foreach ( (array) $args['fields'] as $field => $name ) {

    Love to hear an experts take on this

Viewing 1 replies (of 1 total)

The topic ‘comment_form() customize with $arg’ is closed to new replies.