Viewing 1 replies (of 1 total)
  • Plugin Author Greg Winiarski

    (@gwin)

    Hi, you can do that using the Custom Fields add-on or if you do not have this extension you can do that by adding the code below in your theme functions.php file

    
    add_filter( "adverts_form_load", "change_form_layout" );
    function change_form_layout( $form ) {
      if( $form["name"] != "advert" ) {
        return $form;  
      }
      $form["layout"] = "stacked";
      return $form;
    }
    

    This will change the layout in [adverts_add] form.

Viewing 1 replies (of 1 total)

The topic ‘Vertical form layout’ is closed to new replies.