Below you will find a reference of filters available in the Total theme. Filters can be used to modify default theme options, values or output (learn more). You can use the search above to try and locate specific filters. This reference is intended to help you quickly locate a filter name. Once you locate a filter that you think may be useful you can then search the theme files for the filter to see how it’s being used to assist you in your custom code.
Important: This is a manually created list so there may be filters available not yet listed.
Filter by:
Name | Return | Usage |
---|---|---|
wpex_has_next_prev | bool | Whether a post should display the next/previous links. |
wpex_has_page_header | bool | Checks whether the current post has a page header or not. |
wpex_has_social_share | bool | Whether the social sharing should display or not. |
wpex_has_sticky_header_menu | bool | Check if the header has a sticky menu. By default returns true for header styles two, three and four. |
wpex_header_builder_page_id | int | Returns the template ID to use for the header. |
wpex_header_logo_link_attrs | array | Returns an array of attributes for the header logo link. |
wpex_header_menu_classes | array | Returns array of classnames to be used for the #site-navigation element. |
wpex_header_menu_down_arrow_html | string | Returns the html used for the header menu drodown arrow html. |
wpex_header_menu_dropdown_style | string | Returns the dropdown style to be used for the header menu dropdowns which get's added to the #site-header element in the format "wpex-dropdown-style-{style_name}". |
wpex_header_menu_mobile_toggle_icons | string | Returns the HTML to be added to the mobile menu toggle area next to the hamburger icons. By default it displays the Mobile menu icons menu. |
wpex_header_menu_search_position | string | Returns the correct position for the header menu search icon link. Accepts start or end. Default is "end". |
wpex_header_menu_side_arrow_html | string | Returns the html used for the header menu child items side arrow. |
wpex_header_menu_ul_classes | array | Returns array of classnames to be used for the .main-navigation-ul element. |
wpex_header_menu_wrap_classes | array | Returns array of classnames to be used for the #site-navigation-wrap element. |
wpex_header_search_style | string | Filters the header style. Default is "one". |
wpex_header_styles | array | Returns array of header style choices. |
wpex_image_filters | array | Returns an array of image filter choices for use with various shortcode settings ( grayscale, sepia, contrast-150, saturate-2). |
wpex_image_height | integer | Can be used to alter the height for any featured image either on the single post or archive. |
wpex_image_hovers | array | Returns an array of image hover choices, used in various shortcodes ( opacity, shrink, grow, side-pan, tilt, blurr, sepia, fade-out, fade-in, grayscale...etc). |
wpex_image_resize_retina | bool | Whether retina resizing should be enabled or not. |
wpex_image_sizes | array | Array of image sizes defined by the theme that are used to create the Image Sizes dashboard and register them with WP. |
wpex_image_width | integer | Can be used to alter the width for any featured image either on the single post or archive. |
wpex_is_page_animations_enabled | bool | Check if the page animations functionality is enabled. |
wpex_login_logo_link | string | Alters the link on the logo for the WordPress login page. |
wpex_logo_url | string | Returns the URL to add to the link surrounding your header logo |
wpex_main_layout | string | Used to alter the main site layout. Return values should be "boxed" or "full-width". |
wpex_main_metaboxes_post_types | array | Used to filter the post types to which the "Page Settings" metabox should be added to. |
wpex_mce_font_formats_array | array | Adds font options to the TinyMCE editor. |
wpex_menu_cart_icon | string | Returns the icon name for the header menu cart icon. |
wpex_menu_cart_icon_html | string | Can be used to alter the HTML for the default cart icon in the main menu. |