Title: Input fields order change
Last modified: December 21, 2017

---

# Input fields order change

 *  Resolved [Mindaugas Dev](https://wordpress.org/support/users/mindaugas-dev/)
 * (@mindaugas-dev)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/input-fields-order-change/)
 * Is it possible to change “New_add” page input fields order? I would like the “
   Item Information” block will go above “Contact Information”.
    ex: [https://ibb.co/cJf1s6](https://ibb.co/cJf1s6)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Greg Winiarski](https://wordpress.org/support/users/gwin/)
 * (@gwin)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/input-fields-order-change/#post-9805315)
 * Hi, it is possible, the easiest way to do that is to use the Custom Fields add-
   on [https://wpadverts.com/extensions/custom-fields/](https://wpadverts.com/extensions/custom-fields/),
   the more complicated way is to use the adverts_form_load filter
 *     ```
       add_filter( "adverts_form_load", "customize_adverts_add" );
       function customize_adverts_add( $form ) {
         if( $form['name'] != "advert" ) {
           return $form;
         }
         foreach( $form["field"] as $key => $field ) {
           if( $field["name"] == "_contact_information" ) {
             $form["field"][$key]["order"] = 15;   
           }
           if( $field["name"] == "_adverts_account" ) {
             $form["field"][$key]["order"] = 15;   
           }
           if( $field["name"] == "adverts_person" ) {
             $form["field"][$key]["order"] = 16;   
           }
           if( $field["name"] == "adverts_email" ) {
             $form["field"][$key]["order"] = 17;   
           }
           if( $field["name"] == "adverts_phone" ) {
             $form["field"][$key]["order"] = 18;   
           }
         }
         return $form;
       }
       ```
   
 * The code you can add in your theme functions.php file.

Viewing 1 replies (of 1 total)

The topic ‘Input fields order change’ is closed to new replies.

 * ![](https://ps.w.org/wpadverts/assets/icon-256x256.png?rev=2423472)
 * [WPAdverts - Classifieds Plugin](https://wordpress.org/plugins/wpadverts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wpadverts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wpadverts/)
 * [Active Topics](https://wordpress.org/support/plugin/wpadverts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wpadverts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wpadverts/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Greg Winiarski](https://wordpress.org/support/users/gwin/)
 * Last activity: [8 years, 4 months ago](https://wordpress.org/support/topic/input-fields-order-change/#post-9805315)
 * Status: resolved