devinsays / options-framework-plugin

An Options Panel Framework to help speed theme development.
https://wptheming.com
833 stars 286 forks source link

Section Headings #187

Closed harrygr closed 10 years ago

harrygr commented 10 years ago

I know we have heading for each tab and info 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 for infos. See my example below.

options

devinsays commented 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.