Closed harrygr closed 10 years ago
Have you tried using the "info" option with no name and h3's wrapping the description?
Example:
$options[] = array(
'name' => '',
'desc' => __('<h3>The options for the second title.</h3>', 'options_check'),
'type' => 'info');
If you need to style that differently, you can hook in an additional stylesheet.
I know we have
heading
for each tab andinfo
for some standalone descriptive text but it would be nice to have a section heading which can be used to break up tabs that contain many options. I believe an<h3>
provides more extensive styling in the WP backend that provides a nice separator for groups of options, unlike the<h4>
which is used forinfo
s. See my example below.