0

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(
            array(
            'id' => 'date',
            'title' => 'Date',
            'callback' => array($this->callbacks, 'faRBf'),
            'page' => 'fe-editor',
            'section' => 'faRBf-index',
            'args' => array(
                'label_for' => 'date',
                'class' => 'example-class'
                    )
            );
        $this->settings->setFields($args);
    }

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.