What code did you use to add the field to the backend?
Thread Starter
krutis
(@krutis)
Hi Mike, thank you for responses. I use your great plugin for quite different purposes – as catalogue of coaches (www. dumkoucu . cz). I haven’t found another useful plugin.
In submit form I have:
‘job_reference’ => array(
‘label’ => __( ‘XYZ’, ‘wp-job-manager’ ),
‘description’ => __( ‘XYZ’, ‘wp-job-manager’ ),
‘type’ => ‘wp-editor’,
‘required’ => false,
‘placeholder’ => __( ”, ‘wp-job-manager’ ),
‘priority’ => 19
)
And in “writepanels” I have:
‘_job_reference’ => array(
‘label’ => __( ‘XYZ’, ‘wp-job-manager’ ),
‘description’ => __( ‘xyz’, ‘wp-job-manager’ ),
),
In administration I can see text from form, but in “box on only one line”. Firstly I can see text with html tags, but after “updating page” tags dissapears.
For the writepanel one, add:
'type' => 'textarea'
Thread Starter
krutis
(@krutis)
Hi Mike,
it solved problem with “only one line box” in administration, but formatting of text is missing in this field.
It will be the HTML view, rather than a WYSIWYG view. I’ve not implemented visual editors in that location.