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 |
---|---|---|
totaltheme/search/ajax/excerpt_args | array | Arguments to pass on to the ajax search results excerpt. |
totaltheme/search/ajax/highlight | bool | Whether to highlight the search terms in the ajax search results. |
totaltheme/search/ajax/post_data | array | Array of data to pass to the ajax search results template which can then be disabled using the format {{data_key}}. |
totaltheme/search/ajax/query_args | array | Array of arguments to pass to the WP_Query class when running the ajax search. |
totaltheme/search/ajax/throttle | int | Throttle delay for listening to typing events in the ajax search input field. Default is 500. |
totaltheme/search/modal/settings | array | Array of settings for the modal search. |
totaltheme/sidebars/primary/insert_hook_name | string | Returns the hook name for inserting the primary sidebar area. |
totaltheme/sidebars/primary/name | string | Returns the name of the sidebar to use for the main sidebar area in the theme as defined by register_sidebar. |
totaltheme/topbar/breakpoint | string | The breakpoint at which point the topbar should switch from a left/right layout to a top/bottom layout (sm, md, lg, xl). Default is md. |
totaltheme/topbar/content | string | Filters the top bar content which is defined by default in the customizer. |
totaltheme/topbar/content_class | array | Returns an array of classes for the #top-bar-content element. |
totaltheme/topbar/inner_class | array | Array of classes to be added to the inner top bar element. |
totaltheme/topbar/is_enabled | bool | Conditional check to see if the top bar should display or not. |
totaltheme/topbar/menu/class | array | Returns an array of classes to be added to the topbar menu ul element. |
totaltheme/topbar/social/alt_content | string | Returns the alternative content to display instead of the social links in the Top Bar. |
totaltheme/topbar/social/choices | array | Returns array of social options for use with the Top Bar social. |
totaltheme/topbar/social/icon_style | string | Returns the style name to be used for the Top Bar social profile link icons. Default is "flat-color-rounded". |
totaltheme/topbar/social/is_enabled | bool | Check if the topbar should display social items or not. |
totaltheme/topbar/social/link_attributes | array | Returns and array of attributes to be added to the Top Bar social profile links. |
totaltheme/topbar/social/wrapper_class | array | Array of classes to be added to the top bar element holding the social profile links. |
totaltheme/topbar/wrapper_class | array | Array of classes to be added to the top bar main wrapper. |
totalthemecore/meta/main_metabox/has_core_fields | bool | Returns true or false if the theme settings meta box should display the core fields. |
totalthemecore/meta/main_metabox/has_media_fields | bool | Returns true or false if the main metabox should display the media fields. |
totalthemecore/meta/main_metabox/post_types | array | Returns a list of post types to add the theme settings metabox to. |
totalthemecore/vcex/post_query/args | array | Returns an array of arguments for any Element WP_Query. Used primarily for the Post Cards element. |
totalthemecore/vcex/post_query/max_sticky_posts | int | Returns the max number of sticky posts that can be queried when using the Exclude or Include only sticky posts query fields. |
vcex_ajax_use_session_storage | bool | Check if the theme's AJAX functions should store results in the browser's Local Storage. |
vcex_builder_modules | array | Array of custom WPBakery shortcodes added by the Total theme can be used to remove any you don't want. |
vcex_carousel_default_settings | array | Returns an array of default settings for theme carousels (OwlCarousel). |
vcex_custom_field_param_choices | array | Returns an array of options for the theme's custom field parameter which is used to select a custom field in various theme elements when using WPBakery. |