Need help rearranging an array function

Hi all,

Let me start by saying I have pretty much zero PHP experience, and very minimal coding knowledge. I am working with a WordPress site and trying to reformat the comment layout at the bottom of my pages… I am using someone else’s recommended code: http://pastebin.com/eBNPZ7EQ

The problem with this code, is it display the “Name” text first, and the text field after it. I’d like to reverse that order, but when I reverse the lines in the code I get some syntax error. I really have no idea what changes I can make to that person’s replacement code to fix this, and would really appreciate some help.

Thanks.

Well, to change the positions in the array.
[php] ‘email’ => ‘

’ . __( ‘Email’ ) . ’ ’ . ( $req ? ‘’ : ‘’ ) .
‘<input id=“email” name=“email” type=“text” value="’ . esc_attr( $commenter[‘comment_author_email’] ) . ‘" size=“30”’ . $aria_req . ’ />

’,
‘author’ => ‘

’ . ‘’ . __( ‘Name’ ) . ’ ’ . ( $req ? '’ : ‘’ ) .
‘<input id=“author” name=“author” type=“text” value="’ . esc_attr( $commenter[‘comment_author’] ) . ‘" size=“30”’ . $aria_req . ’ />

’,
‘url’ => ‘

’ . __( ‘Website’ ) . ‘’ .

’,[/php]
But I think the issue is the code when you output it, which isn’t included in the pastebin
Sponsor our Newsletter | Privacy Policy | Terms of Service