Layout_CPT_Single
Class Layout_CPT_Single
Source
File: includes/modules/post_type_enhancements/customizer/layout_cpt_single.php
Expand full source code Collapse full source code View on Github
Methods
- __construct — Constructor for the class.
- add_controls — Add customizer controls.
- add_customizer_style_for_sections — Add styles for spacing custom customizer sections for custom types layouts.
- add_subsections — Add sections headings.
- adjust_headings — Change heading controls properties.
- author_box — Add author box settings.
- comments — Add comments controls.
- control_content_order — Add content order control.
- default_post_ordering — Get default values for ordering control
- element_is_enabled — Active callback for sharing controls.
- header_layout — Add header layout controls.
- headings — Add headings controls.
- init — Initialize the module
- post_meta — Add post meta controls.
- post_navigation — Add post navigation related controls.
- related_posts — Related Custom Posts customizer controls
- sanitize_post_elements_ordering — Sanitize content order control.
- section_single_post — Add a customize section for this post type.
- sharing — Add single post sharing controls.
- use_custom_control — Register a new control that toggles if the custom options should apply or if the single posts defaults are used.
Changelog
Version | Description |
---|---|
3.1.0 | Introduced. |