Layout_CPT_View
Class Layout_CPT_View
Source
File: includes/modules/post_type_enhancements/views/layout_cpt_view.php
Expand full source code Collapse full source code View on Github
Methods
- __construct — Constructor for the class.
- add_dynamic_content_listeners — Add additional listeners for customizer reactive controls.
- allowed_custom_post_types_filter — Filters the post types that are allowed to use the cover feature.
- custom_post_container_styles — Filter container style for supported custom post types.
- default_post_ordering — Get default values for ordering control
- get_alignment_classes — Get alignment classes for the title on the cover layout.
- get_content_order — Get elements order.
- init — Initialize the module.
- is_supported_post_type — Check that the custom post type is supported
- register_dynamic_theme_mods — Register filters for dynamic mods.
- related_post_type_context — Filter related post type context.
- render_cover_header — Render the cover layout on single post.
- render_entry_header — Render post header
- render_post — Render the post header.
- render_post_meta — Render the post meta.
Changelog
Version | Description |
---|---|
3.1.0 | Introduced. |