Skip to content

Filters: Page Header

NameDescription
wpex_title
(string)
|Returns the current page title.
wpex_has_page_header
(bool)
|Checks whether the current post has a page header or not.
wpex_page_header_styles
(array)
|Returns an array of choices for the page header styles.
wpex_page_header_background_position
(string)
|Returns a custom position for the page header background image to inserted into inline css. Default is "50% 0".
wpex_page_header_overlay
(string)
|Returns the html output for the overlay element when enabled and using the "Background Image" page header style.
wpex_page_header_overlay_class
(array)
|Returns array of classnames to be added to the page header overlay when set to the "Background Image" style.
wpex_page_header_overlay_opacity
(string)
|Returns a custom opacity for the overlay color when the page header is set to the "Background Image" style and an overlay is enabled.
wpex_get_page_header_overlay_pattern
(string)
|Returns the pattern style to be used for the page header overlay when set to the "Background Image" style (dotted or dashed). Default is "none".
wpex_page_header_overlay_style
(string)
|Returns the overlay style to be used for the page header when set to the "Background Image" style (none or dark). Default is dark.
wpex_page_header_background_image_style
(string)
|Returns the page header background image style (cover or fixed). Default is "cover".
Back To Top