
This field allows you to enter text to be displayed as a custom heading within your content management form. It can be placed before, after, or in-between other form fields.
Contents
Quick Start
- Fill out the Basic Field Settings (Label, Description, and Field Name)
- Select Field Type: Heading.
- Click Save New Field (or Save Field if you’re updating an existing field) to save your field configuration.
Settings
- Heading Tag
Leave blank to use the heading tag corresponding to the form context the field appears in. This is the heading HTML tag to use for the heading text. If you enter “h2”, it will output your heading as<h2>Heading Text</h2>. Enter without the < > tag characters. - Output Options
These options will change the way your field value will display.- Allow HTML
This will allow HTML tags to be rendered normally.
- Enable wptexturize
Transforms less-beautiful text characters into stylized equivalents using wptexturize().
- Allow Shortcodes
This will process any [shortcodes] that you may have in the field value.
- Allow HTML
How to Display
This field does not store values and does not display values. If you need to output the Heading text from the field itself, you can do this with the examples below. You can use the Field Information notation to display options from a field.
Display with a Shortcode
[pods field="_field.my_heading_field.label"]
Display with PHP: pods_field_display()
<?php echo pods_field_display( '_field.my_heading_field.label' );
Display with PHP: $pod->display()
<?php $pod = pods(); echo $pod->display( '_field.my_heading_field.label' );