Theme Filters

The wide range of theme filters will allow you to easily make edits to the Total theme via your child theme.

wpex_display_header

Set to true to display the header or false to hide it.

bool
framework/header/header-output.php

wpex_header_classes

Returns a list of classes to be added to the main header wrap.

array
framework/header/header-classes.php

wpex_header_logo_img_url

Returns the URL for your header logo image.

string
framework/header/header-logo.php

wpex_logo_url

Returns the URL to add to the link surrounding your header logo

string
framework/header/header-logo.php

wpex_logo_title

Returns the title to be added to the title and alt attributes surrounding the header logo.

string
framework/header/header-logo.php

wpex_header_style

Returns the header style. Default is “one”.

string
framework/header/header-style.php

wpex_meta_viewport

Returns the meta viewport tag to be added to the wp_head.

html
framework/header/meta-tags.php

wpex_is_top_bar_enabled

Conditional check to see if the top bar should display or not.

bool
framework/header/top-bar.php

top_bar_social_img_url

The directory URL that should be used for your top bar social links when set to the image style.

string
framework/header/top-bar.php

wpex_mobile_menu_open_button_text

Returns the text or HTML to display for the mobile menu toggle button. Default is ‘<span class=”fa fa-bars”></span>’.

string
framework/header/menu-mobile.php

wpex_custom_menu

Used to alter the main menu area to display a menu from a custom ID.

integer
framework/header/menu/menu-output.php

wpex_main_menu_location

Used to alter the default menu location used for the main header menu. Default is ‘main_menu’.

string
framework/header/menu-out.php

wpex_search_placeholder_text

Returns the placeholder text for all searchforms.

string
multiple

wpex_password_protected_excerpt

The excerpt to display above the protected post password form.

string
multiple

wpex_theme_post_types

Array of the custom post types that are enabled for the theme. Use to completely remove any un-desired post type.

array
framework/core-functions.php

wpex_main_layout

Used to alter the main site layout. Return values should be “boxed” or “full-width”.

string
framework/core-functions.php

wpex_toggle_bar_active

Conditional check to see if the Toggle Bar should be enabled for a certain page.

bool
framework/toggle-bar.php

wpex_toggle_bar_page_id

The page ID to be used for the content within the Toggle Bar.

integer
framework/toggle-bar.php

wpex_display_footer

Conditional check whether the site footer should display or not.

bool
framework/footer/footer-display.php

wpex_prev_post_link_same_cat

Conditional check for the next and previous post links. Set to true to display next/prev posts from the same category.

bool
framework/next-prev.php

wpex_prev_post_link_title

Used to alter the default title for your next and previous post links. Default is ‘%title’.

string
framework/next-prev.php

wpex_blog_wrap_classes

Array of classes to be added to the main wrapper around your blog posts.

array
framework/blog/blog-classes.php

wpex_mobile_searchform_placeholder

The placeholder text for the mobile menu searchform.

string
framework/search/search-functions.php

wpex_blog_entry_style

The blog entry style for the current archive. Default is ‘large-image-entry-style’.

string
framework/blog/blog-functions.php

wpex_blog_entry_columns

The number of columns to display the current blog archive in. Will only work for the grid style.

integer
framework/blog/blog-functions.php

wpex_post_slider_shortcode

The shortcode to be used for the current page slider. Can be used not only to override the default but can also be used to add sliders to archives.

string
framework/post-slider.php

wpex_post_slider_position

The position in which the slider should return. Default is “below_title”.

string
framework/post-slider.php

wpex_image_width

Can be used to alter the width for any featured image either on the single post or archive.

integer
framework/thumbnails/featured-images.php

wpex_image_height

Can be used to alter the height for any featured image either on the single post or archive.

integer
framework/thumbnails/featured-images.php

wpex_topbar_social_options

Array of all social options to be used for the top bar social area.

array
framework/arrays.php

wpex_related_staff_args

Arguments for the related staff items query.

array
framework/staff/staff-related.php

wpex_comments_title

Can be used to alter the default Comments title.

string
comments.php

wpex_portfolio_args

Main arguments for the register_post_type function for the Portfolio post type.

array
framework/portfolio/portfolio-config.php

wpex_staff_args

Main arguments for the register_post_type function for the Staff post type.

array
framework/staff/staff-config.php

wpex_post_subheading

Alters or adds a new subheading under the main page header title.

string
framework/page-header.php

wpex_skins

Array of skins for the theme, can be used to create your own skin, sweet!

array
skins/skins.php

wpex_related_portfolio_args

Arguments for the related portfolio items query.

array
framework/portfolio/portfolio-related.php

wpex_author_bio_avatar_size

Alters the default avatar size used in the author bio section for your single blog posts.

integer
author-bio.php

wpex_tiny_mce_formats_items

Returns the array of $items for the TinyMCE editor “Formats” dropdown.

$array
framework/tinymce.php

wpex_blog_entry_author_avatar_size

Alters the default avatar size for the blog entry avatars when enabled.

integer
framework/blog/blog-entry.php

wpex_meta_sections

Returns the array of meta sections to display (date, author, categories, comments).

$array
framework/post-meta.php

wpex_testimonials_args

Main arguments for the register_post_type function for the Testimonials post type.

array

wpex_blog_post_related_query_args

Arguments for the related blog items query.

array
framework/blog/blog-related.php

wpex_single_blog_post_blocks

Blocks to display for your single standard post.

array
single-standard.php

wpex_recommended_plugins

Array of recommended plugins for the TGMA activation script.

array
plugins/recommend-plugins.php

wpex_post_layout_class

Filter used to alter the layout on any post, page or archive. Return values should be: left-sidebar, right-sidebar, full-width or full-screen.

string
framework/post-layout.php

wpex_lightbox_skin

Alters the active iLightbox skin class.

string
framework/theme-setup.php

wpex_main_metaboxes_post_types

Used to filter the post types to which the “Page Settings” metabox should be added to.

array
framework/meta/post-meta/class.php

wpex_taxonomy_post_series_args

Arguments for the post series query.

array
framework/blog/post-series.php

wpex_social_share_heading

Used to alter the heading for the social sharing heading when in Horizontal mode.

string
framework/social-share.php

wpex_edit_visual_composer

Check to see if the Total theme should make edits to the Visual Composer plugin. Default is true.

bool
framework/visual-composer/visual-composer.php

wpex_login_logo_link

Alters the link on the logo for the WordPress login page.

string
framework/addons/custom-login.php

wpex_get_awesome_icons

Array of FontAwesome icons.

array
framework/fonts.php

wpex_callout_enabled

Conditional check to display the footer callout.

bool
framework/footer/footer-callout.php

wpex_next_prev_in_same_term

Whether next/previous links should display posts from the same term.

bool
partials/next-prev.php

wpex_has_fixed_header

Whether the header should be fixed on scroll or not.

bool
framework/header-functions.php

wpex_excerpt_args

Filters default arguments for the wpex_get_excerpt function

array
framework/excerpts.php

wpex_toggle_bar_content_id

Filters the ID for the toggle_bar content.

integer
framework/togglebar.php

wpex_toggle_bar_active

Whether the toggle bar is active or not.

bool
framework/togglebar.php

wpex_search_thumbnail_args

Filters the arguments for the search entry thumbnail.

array
partials/search/search-entry-thumbnail.php

wpex_has_social_share

Whether the social sharing should display or not.

bool
framework/social-share.php

wpex_social_share_position

Filters the position for your social sharing links.

string
framework/social-share.php

wpex_top_bar_content

Filters the top bar content which is defined by default in the customizer.

string
framework/topbar.php

wpex_blog_style

Filters the blog entry style default is “large-image-entry-style”.

string
framework/blog/blog-functions.php

wpex_testimonials_wrap_classes

Filters the classes of the testimonials entry wrapper.

array
framework/testimonials/testimonials-helpers.php

wpex_search_in_menu

Whether to display the search icon in the menu or not.

bool
framework/search-functions.php

wpex_header_search_style

Filters the header style. Default is “one”.

string
framework/search-functions.php

wpex_post_readmore_link_text

Filters the text for the blog entry read more button.

string
partials/blog/blog-entry-readmore.php

wpex_related_blog_posts_columns

Filters the default columns (3) for the related blog posts.

integer
partials/blog/blog-single-related.php

wpex_shop_catalog_slider_data

Used to alter the parameters of the WooCommerce slider.

array
woocommerce/loop/thumbnail/gallery-slider.php

wpex_post_series_query_args

Used to alter the post series query arguments.

bool
partials/blog/blog-single-series.php

wpex_get_portfolio_entry_thumbnail_args

Used to alter the portfolio entry thumbnail arguments.

bool
framework/portfolio/portfolio-helpers.php

wpex_get_staff_post_thumbnail_args

Used to alter the staff post thumbnail arguments.

array
framework/staff/staff-helpers.php

wpex_get_portfolio_post_thumbnail_args

Used to alter the portfolio post thumbnail arguments.

array
framework/portfolio/portfolio-helpers.php

vcex_icon_box_styles

Used to remove/add/tweak the Visual Composer “Icon Box” styles.

array
framework/visual-composer/helpers.php

wpex_overlay_styles_array

Used to add/remove/tweak the “Overlay Styles” available in the theme.

array
framework/overlays.php

vcex_builder_modules

Array of custom Visual Composer modules added by the Total theme can be used to remove any you don’t want.

array
framework/visual-composer/extend/extend.php

wpex_menu_cart_icon_html

Can be used to alter the HTML for the default cart icon in the main menu.

string
framework/woocommerce/menu-cart.php

wpex_gallery_metabox_post_types

Array of post types that should have the “Gallery Metabox” in the admin.

array
framework/classes/gallery-metabox/gallery-metabox.php

wpex_taxonomy_portfolio_tag_args

Arguments passed for the portfolio tag taxonomy.

array
framework/portfolio/portfolio-config.php

wpex_image_resize_retina

Whether retina resizing should be enabled or not.

bool
framework/classes/image-resize/image-resize.php

wpex_has_breadcrumbs

Return true to display breadcrumbs.

bool
framework/classes/breadcrumbs/breadcrumbs.php

wpex_breadcrumbs_shop_title

Returns the title for the WooCommerce shop.

string
framework/classes/breadcrumbs/breadcrumbs.php

wpex_taxonomy_testimonials_category_args

Arguments passed for the testimonials category register_taxonomy function.

args
framework/testimonials/testimonials-config.php

wpex_image_sizes

Array of image sizes defined by the theme that are used to create the Image Sizes dashboard and register them with WP.

array
framework/classes/image-sizes/image-sizes.php

wpex_blog_single_media_position

Returns correct position for your blog post media.

string
framework/hooks/partials.php

wpex_custom_widgets

Array of custom widgets added by the theme. Should be used only to remove widgets you don’t want.

array
functions.php

wpex_customizer_panels

Array of panels added to the Customizer.

array
framework/customizer/customizer.php

wpex_typography_settings

Array of typography settings. Can be used to remove or add settings.

array
framework/customizer/settings/typography.php

wpex_woo_outofstock_text

Used to alter the out of stock text for WooCommerce products.

string
framework/woocommerce/woocommerce-config.php

wpex_mce_font_formats_array

Adds font options to the TinyMCE editor.

array
framework/customizer/settings/typography.php

wpex_shop_single_slider_data

Returns the data attributes for the single product slider

array
woocommerce/single-product/product-image.php

wpex_get_sidebar_template

Returns correct template file name for your sidebar-NAME.php file

string
framework/hooks/partials.php

wpex_google_fonts_array

Returns array of Google fonts used for the Customizer Typography sections.

array
framework/fonts.php

wpex_has_next_prev

Whether a post should display the next/previous links.

bool
framework/conditionals.php

wpex_post_author_bio_data

Use to alter the default author bio avatar, description, name, etc.

array
author-bio.php

wpex_page_header_title_args

Returns an array for the page header title arguments – html_tag, string, schema_markup

array
partials/page-header-title.php

wpex_get_schema_markup

Returns correct schema markup for specific theme locations.

string
partials/core.php

wpex_vc_css_ids

Returns an array of post/page ID’s that will be checked for Visual Composer custom CSS and if CSS is found that CSS will be loaded for all pages.

array
framework/classes/global-object.php

wpex_{post_type}_single_thumbnail_args

Returns correct arguments for the single post thumbnail for any custom post type using the theme’s cpt-single-media.php template file

array
partials/cpt/cpt-single-media.php

wpex_{post_type}_single_blocks

Returns correct layout for the single post type display.

array
framework/core.php

wpex_{post_type}_single_thumbnail_args

Returns arguments for the entry post thumbnail for any custom post type using the theme’s cpt-entry-media.php template file

array
partials/cpt/cpt-entry-media.php

wpex_{post_type}_entry_overlay_style

Returns the overlay style for the custom post type entry thumbnail.

string
partials/cpt/cpt-entry-media.php

wpex_{post_type}_entry_excerpt_length

Returns the excerpt length for the post type entry. Default is 40.

string
partials/cpt/cpt-entry-content.php

wpex_custom_breadcrumbs

Used to override the default breadcrumbs, must return a variable/function.

var
framework/classes/breadcrumbs.php

wpex_template_parts

Array of template part locations for main template parts (togglebar, topbar, header, logo, header aside, menu, page title, callout, footer…etc)

array
framework/core-functions

wpex_footer_builder_page_id

Used to alter the footer builder page ID to conditionally display various footers using the “footer builder” function

intval
framework/addons/footer-builder.php

wpex_custom_social_share

Used to return a custom social share shortcode or HTML.

var
partials/social-share.php

wpex_custom_breadcrumbs

Used to return a custom breadcrumbs output or shortcode.

var
framework/classes/breadcrumbs.php

vcex_filter_taxonomy

Returns the taxonomy for the grid category filter via a child theme.

var
vcex_templates/[various].php

wpex_get_tribe_event_date

Used to alter the default tribe events date for Total Visual Composer modules that display it.

var
vcex_templates/[various].php

wpex_google_font_enqueue_weights

Returns array of font-weights to be used for the enqueued Google fonts by the theme.

array
framework/fonts.php

wpex_google_font_enqueue_italics

Returns true/false if you want to load italic versions of the Google fonts on your site.

bool

vcex_grid_query

Used to tweak the Visual Composer Post Types Grid, Portfolio Grid, Staff Grid, Blog Grid or Testimonials Grid query arguments.

array
vcex_templates/[multiple].php

wpex_dashboard_thumbnails

Used to enable/disable the thumbnail display in the WP dashboard.

bool
framework/core-functions.php

wpex_oembed_responsive_hosts

Array of oEmbed websites that should receive the Total theme’s responsive wrapper added to them.

array
functions.php

wpex_header_overlay_styles

Returns array of the Overlay Header styles available in the page settings metabox.

array
framework/arrays.php

vcex_grid_default_title_tag

Allows you to tweak the default title tag for Total Visual Composer grids