Wrap paragraphs with <p> and disable media buttons

This commit is contained in:
Jeremy Dormitzer 2018-11-07 07:56:27 -05:00
parent 23d2d51f25
commit 3e44fb2428

View File

@ -44,6 +44,8 @@ function register_settings_fields() {
\wp_editor( get_blog_description_value(), 'pterotype_blog_description', array(
'teeny' => true,
'textarea_rows' => 20,
'wpautop' => false,
'media_buttons' => false,
'editor_css' => '<style>.wp-editor-wrap { max-width: 768px; }</style>'
) );
},