add_settings_field() inline inputs and remove table format


I’m writing a personal plugin, and i’m using add_settings_field() to callback function that print inputs. It seems that wordpress add automatically all input int a table with class="form-table". Each intput is in td/tr.

How to make appears all my input inline?

public function setFields(){
        $args= array(
            'id' => 'date',
            'title' => 'Date',
            'callback' => array($this->callbacks, 'faRBf'),
            'page' => 'fe-funds-editor',
            'section' => 'faRBf-index',
            'args' => array(
                'label_for' => 'date',
                'class' => 'example-class'
ranell 2 months 0 Answers 19 views 0

Leave an answer