This documentation assumes an audience experienced with WordPress and web development, with intermediate to advanced skills in php, css, html.
Note :The following hooks API is relevant with the Classical style option. For the modern style, it’s recommended to override the template of the block you need to customize, from a child theme.
The Classical / Modern styles option can be set in Appearance > Customize > Advanced > Theme Style. More about the theme style option here
The Customizr theme is entirely built on an extensible filter and action hooks API, which makes customizations safer and easier, without ever needing to modify the core structure. In other words, Customizr’s code acts like a collection of plugins that can be enabled, disabled or extended.
As of today, there are [czr-hooks] hooks (filters and actions) available for developers in the theme.
If you are not comfortable with the WordPress hooks API, you may want to read this excellent beginner’s guide on WordPress hooks written by Electricfeet. More advanced developers will find many working examples of hooks implementation in the Customizr code snippets section of this website.
Note : remember to always use a child theme when you add custom functions to a WordPress theme.
How to use the Customizr hooks API ?
When you really get the concept of filter and action hooks in WordPress, there’s not limit to what you can do. This is how this CMS has been built, around this hook concept. (just look the core code, they are everywhere!), and this is also why it is so popular : hooks make the code very easily extensible, modular and clean.
Now how to use them ?
Instead of re-explaining again the WordPress hooks concept or review the whole WordPress hooks function reference, I will rather use a simple example here.
Note : the code example below has to be pasted in your functions.php file.
In the Customizr theme, the header is rendered with functions hooked to one single action hook named : ‘__header’, while the footer is displayed with functions hooked to the action hook named ‘__footer’.
How to remove ( unhook ) all those actions ? With a function called remove_all_actions().
The following code will remove all actions of __header and __footer when displaying a 404 error page.
add_action('template_redirect' , 'set_hooks'); function set_hooks() { //the following says : "if the current context is not 404 error, then do nothing (return) " if ( ! is_404() ) return; //remove actions remove_all_actions('__header'); remove_all_actions('__footer'); }
Note : As you can see in the snippet above, the hooks are set in the template_redirect action. I could have simply written the following code in functions.php :
remove_all_actions('__header'); remove_all_actions('__footer');
But of course this would have removed the header and footer in all contexts : home, page, single posts,….
If you need to use conditional tags in WordPress (like is_page(), is_home(), is_single(), is_search(), is_404() ) , be aware that most of them use the global $wp_query object. This $wp_query object is generated by WordPress in every pages but bear in mind that the functions.php file is called before the $wp_query is fully built.
In other words, if you write conditional tags in your functions.php file, they will just not work if they are not fire after the $wp_query has been built.
That’s where the hook named template_redirect is useful. The template_redirect hook is run when the $wp_query has been built, you can then use conditional_tags in this hook.
More examples : check the code snippet section.
Structural actions hooks
General Customizr action hooks structure
<html> <?php do_action( '__before_body' ); ?> <body> <?php do_action( '__before_header' ); ?> <header> <?php do_action( '__header' ); ?> </header> <?php do_action( '__after_header' ); ?> <?php do_action( '__before_main_wrapper' ); ?> <div id="main-wrapper"> <?php do_action( '__before_main_container' ); ?> <div class="container" role="main"> <div class="row column-content-wrapper"> <?php do_action( '__before_article_container'); ?> <div id="content" class="article-container"> <?php do_action ('__before_loop'); ?> <?php do_action ('__before_article'); ?> <article> <?php do_action( '__loop' ); ?> </article> <?php do_action ('__after_article'); ?> <?php do_action ('__after_loop'); ?> </div><!--.article-container --> <?php do_action( '__after_article_container'); ?> </div><!--.row --> </div><!-- .container role: main --> <?php do_action( '__after_main_container' ); ?> </div><!--#main-wrapper"--> <?php do_action( '__after_main_wrapper' ); ?> <?php do_action( '__before_footer' ); ?> <footer id="footer"> <?php do_action( '__footer' ); ?> </footer> <?php wp_footer(); ?> <?php do_action( '__after_footer' ); ?> </body> <?php do_action( '__after_body' ); ?> </html>
Header action hooks structure
<div class="brand span3"><!-- logo or site title wrapper --> <?php do_action( '__before_logo' ); ?> <a>SITE TITLE OR LOGO</a> <?php do_action( '__after_logo' ); ?> </div> <div class="container outside"> <!--tagline wrapper --> <h2 class="site-description">TAGLINE</h2> </div> <?php do_action( 'before_navbar' ); ?> <div class="navbar-wrapper clearfix span9"> <div class="navbar notresp row-fluid pull-left"> <div class="navbar-inner" role="navigation"> <div class="row-fluid"> <?php do_action( '__navbar' ); ?> </div><!-- .row-fluid --> </div><!-- /.navbar-inner --> </div><!-- /.navbar notresp --> </div><!-- /.navbar-wrapper --> <?php do_action( '__after_navbar' ); ?>
Sidebars action hooks structure
Left
<div class="span3 left tc-sidebar"> <div id="left" class="widget-area" role="complementary"> <?php do_action( "__before_left_sidebar" );##hook of social icons ?> <!-- Widgets here --> <?php do_action( "__after_left_sidebar" ); ?> </div><!-- #left --> </div><!--.tc-sidebar -->
Right
<div class="span3 right tc-sidebar"> <div id="right" class="widget-area" role="complementary"> <?php do_action( "__before_right_sidebar" );##hook of social icons ?> <!-- Widgets here --> <?php do_action( "__after_right_sidebar" ); ?> </div><!-- #right --> </div><!--.tc-sidebar -->
Footer action hooks structure
<div class="container footer-widgets"> <div class="row widget-area" role="complementary"> <?php do_action("__before_footer_widgets") ?> <div id="footer_one" class="span4"> <?php do_action("__before_footer_one_widgets") ?> <!-- WIDGETS IF ANY --> <?php do_action("__after_footer_one_widgets") ?> </div><!-- #footer_one --> <div id="footer_two" class="span4"> <?php do_action("__before_footer_two_widgets") ?> <!-- WIDGETS IF ANY --> <?php do_action("__after_footer_two_widgets") ?> </div><!-- #footer_two --> <div id="footer_three" class="span4"> <?php do_action("__before_footer_three_widgets") ?> <!-- WIDGETS IF ANY --> <?php do_action("__after_footer_three_widgets") ?> </div><!-- #footer_three --> <?php do_action("__after_footer_widgets") ?> </div><!-- .row.widget-area --> </div><!-- .container.footer-widgets --> <div class="colophon"> <div class="container"> <div class="row-fluid"> <?php do_action( '__colophon' ); ?> </div><!-- .row-fluid --> </div><!-- .container --> </div><!-- .colophon -->
-
Header
-
Logo-title
-
__after_logo [action]
Use it to hook after the logo-title block
-
__before_logo [action]
Use it to hook before the logo-title block
-
tc_logo_link_url [filter]
Logo / title link url. Default is home_url( ‘/’ ).
- Value / type : string
- # of filter parameter(s) : 1
-
-
Title
-
tc_logo_text_display [filter]
Html markup of the site title block
- Value / type : html
- # of filter parameter(s) : 2
-
tc_site_title_link_title [filter]
Title (displayed on hover) of the site title link. Default is get_bloginfo( ‘name’ ).
- Value / type : string
- # of filter parameter(s) : 1
-
tc_site_title_tag [filter]
Html tag of the site title. Default is h1.
- Value / type : h1
- # of filter parameter(s) : 1
-
-
Head
-
__before_body [action]
Hook content before the body tag. is used by TC_header_main::$instance->tc_head_display()
-
tc_fav_src [filter]
favicon src
- Value / type : string
- # of filter parameter(s) : 1
-
tc_favicon_display [filter]
Html markup for the favicon link
- Value / type : html
- # of filter parameter(s) : 1
-
tc_head_display [filter]
Html markup of the <head> content
- Value / type : html
- # of filter parameter(s) : 1
-
-
Tagline
-
tc_tagline_class [filter]
Class attribute of the tagline wrapper
- Value / type : span7
- # of filter parameter(s) : 1
-
tc_tagline_display [filter]
Html markup of the site tagline block
- Value / type : html
- # of filter parameter(s) : 1
-
tc_tagline_tag [filter]
Default is h2.
- Value / type : h2
- # of filter parameter(s) : 1
-
tc_tagline_text [filter]
Tagline text. Default is esc_attr( get_bloginfo( ‘description’ ) )
- Value / type : string
- # of filter parameter(s) : 1
-
-
Navbar
-
__after_navbar [action]
Use it to hook after the navbar
-
__before_navbar [action]
Use it to hook before the navbar
-
__navbar [action]
Use it to hook inside the navbar. Used by (priority) : tc_social_in_header (10), tc_tagline_display(20), tc_menu_display(30)
-
tc_navbar_display [filter]
Html markup of the Navbar block
- Value / type : html
- # of filter parameter(s) : 1
-
tc_navbar_wrapper_class [filter]
Class attribute of the navbar wrapper. Default value : array(‘navbar-wrapper’, ‘clearfix’, ‘span9’)
- Value / type : array
- # of filter parameter(s) : 1
-
-
global
-
__after_header [action]
Hook content immediately after the </header> tag.
-
__before_header [action]
Hook content immediately after the body opening tag.
-
__header [action]
Hook content insite the <header> tag. Used by (priorities) : tc_logo_title_display(), tc_tagline_display(), tc_navbar_display()
-
tc_body_attributes [filter]
Body tag attributes
- Value / type : itemscope itemtype=”http://schema.org/WebPage”‘
- # of filter parameter(s) : 1
-
tc_header_classes [filter]
Css class attribute of the <header> tag
- Value / type : array()
- # of filter parameter(s) : 1
-
-
Menu
-
menu_open_on_click [filter]
Allow to hook in the str_replace() function handling the open on click feature of the bootstrap menu.
- Value / type : string
- # of filter parameter(s) : 1
-
resp_menu_button [filter]
Html Markup of the responsive menu button
- Value / type : html
- # of filter parameter(s) : 1
-
tc_add_menuclass [filter]
Allow to specify a class attribute for the <ul> menu wrapper tag.
- Value / type : string
- # of filter parameter(s) : 1
-
tc_menu_args [filter]
Customizr main menu arguments : array(
‘theme_location’ => ‘main’,
‘menu_class’ => ( ‘hover’ == esc_attr( tc__f( ‘__get_option’ , ‘tc_menu_type’ ) ) ) ? ‘nav tc-hover-menu’ : ‘nav’,
‘fallback_cb’ => array( $this , ‘tc_link_to_menu_editor’ ),
‘walker’ => TC_nav_walker::$instance,
‘echo’ => false,
)- Value / type : array()
- # of filter parameter(s) : 1
-
tc_menu_button_class [filter]
Class attribute of the responsive menu button
- Value / type : btn btn-navbar
- # of filter parameter(s) : 1
-
tc_menu_display [filter]
Html markup of the main menu block. Can be filtered with an additional $resp argument. (responsive menu)
- Value / type : html
- # of filter parameter(s) : 2
-
tc_menu_wrapper_class [filter]
Class attribute of the main menu wrapper. Default : ‘nav-collapse collapse tc-hover-menu-wrapper’ or ‘nav-collapse collapse’. Depends on the user option :open on hover or click.
- Value / type : string
- # of filter parameter(s) : 1
-
-
Logo
-
tc_logo_attachment_img [filter]
Default : wp_get_attachment_image_src( $_logo_option , ‘large’ )
- Value / type : array
- # of filter parameter(s) : 1
-
tc_logo_class [filter]
Class attribute for the logo or the site title wrapper
- Value / type : array()
- # of filter parameter(s) : 1
-
tc_logo_img_display [filter]
Html markup of the logo block. Can be filtered with an additional parameter :
$filter_args = array(
‘logo_src’ => $logo_src,
‘logo_resize’ => $logo_resize,
‘logo_class’ => $logo_class
)- Value / type : html
- # of filter parameter(s) : 2
-
tc_logo_img_formats [filter]
logo accepted img formats. Default : array(‘jpg’, ‘jpeg’, ‘png’ ,’gif’, ‘svg’, ‘svgz’ )
- Value / type : array()
- # of filter parameter(s) : 1
-
tc_logo_link_title [filter]
Logo link title. Default is get_bloginfo( ‘name’ ) | get_bloginfo( ‘description’ )
- Value / type : string
- # of filter parameter(s) : 1
-
tc_logo_max_height [filter]
Logo image max height in pixel. Default : 100 px.
- Value / type : 100
- # of filter parameter(s) : 1
-
tc_logo_max_width [filter]
Logo image max width in pixel. Default : 250 px.
- Value / type : 250
- # of filter parameter(s) : 1
-
tc_logo_other_attributes [filter]
default : array(‘data-no-retina’)
- Value / type : array
- # of filter parameter(s) : 1
-
tc_logo_src [filter]
logo src
- Value / type : string
- # of filter parameter(s) : 1
-
-
-
Content
-
Gallery
-
tc_gallery_bool [filter]
Gallery boolean filter. Display gallery if set to true. Default is true.
- Value / type : true
- # of filter parameter(s) : 1
-
-
Images
-
tc_fancybox_content_filter [filter]
Add an optional rel=”tc-fancybox[]” attribute to all images embedded in a post.
- Value / type : html
- # of filter parameter(s) : 1
-
-
Width
-
tc_content_width [filter]
Set default content width for post images and media (in pixels). Hooked on after_setup_theme action.
- Value / type : 1170
- # of filter parameter(s) : 1
-
-
Single page
-
__after_content [action]
Use it to hook after single page / post content
-
__before_content [action]
Use it to hook before page / post content
-
tc_page_content [filter]
Html markup for the single page content block
- Value / type : html
- # of filter parameter(s) : 1
-
tc_page_selectors [filter]
Class and ID attribute of the <article> tag for page
- Value / type : string
- # of filter parameter(s) : 1
-
-
404
-
tc_404_content [filter]
Html markup for the error 404 page content
- Value / type : html
- # of filter parameter(s) : 1
-
tc_404_content_icon [filter]
CSS for font icon
- Value / type : format-icon
- # of filter parameter(s) : 1
-
tc_404_selectors [filter]
Class and ID attribute of the <article> tag for the 404 page
- Value / type : string
- # of filter parameter(s) : 1
-
tc_404_wrapper_class [filter]
css class attribute of the 404 wrapper div
- Value / type : tc-content span12 format-quote
- # of filter parameter(s) : 1
-
tc_no_results_separator [filter]
<hr> tag after 404 content
- Value / type :
- # of filter parameter(s) : 1
- Value / type :
-
-
Attachment
-
__after_content [action]
After single attachment content
-
__before_content [action]
Before single attachment content
-
tc_attachment_content [filter]
attachment content html markup
- Value / type : html
- # of filter parameter(s) : 1
-
tc_attachment_selectors [filter]
Class and ID attribute of the <article> tag for attachment
- Value / type : string
- # of filter parameter(s) : 1
-
tc_customizr_attachment_size [filter]
specifies single attachment sizes
- Value / type : array( 960, 960 )
- # of filter parameter(s) : 1
-
-
Search
-
tc_no_result_content [filter]
Html markup or the no result content block
- Value / type : html
- # of filter parameter(s) : 1
-
tc_no_results [filter]
Default no result content. (W. Churchill’s quote)
- Value / type : string
- # of filter parameter(s) : 1
-
tc_no_results_content_icon [filter]
Icon class attribute of the no result wrapper
- Value / type : format-icon
- # of filter parameter(s) : 1
-
tc_no_results_selectors [filter]
Class and ID attribute of the <article> tag for no result page
- Value / type : string
- # of filter parameter(s) : 1
-
tc_no_results_separator [filter]
Html separator in the no result wrapper
- Value / type : html
- # of filter parameter(s) : 1
-
tc_no_results_wrapper_class [filter]
Class attribute of the no result wrapper
- Value / type : tc-content span12 format-quote
- # of filter parameter(s) : 1
-
-
Breadcrumb
-
tc_breadcrumb_class [filter]
CSS class of the breadcrumb wrapper
- Value / type : span12
- # of filter parameter(s) : 1
-
tc_breadcrumb_display [filter]
Breadcrumb html markup
- Value / type : html
- # of filter parameter(s) : 1
-
tc_breadcrumb_trail [filter]
Allows to alter the breadcrumb trail before rendering
- Value / type : $this -> tc_breadcrumb_trail_get_items( $args )
- # of filter parameter(s) : 1
-
tc_breadcrumb_trail_args [filter]
Allows to change the breadcrumb args. Defaults args are : $defaults = array(
‘container’ => ‘div’ , // div, nav, p, etc.
‘separator’ => ‘/’ ,
‘before’ => __( ‘Browse:’ , ‘customizr’ ),
‘after’ => false,
‘front_page’ => true,
‘show_home’ => __( ‘Home’ , ‘customizr’ ),
‘network’ => false,
‘echo’ => true
)- Value / type : wp_parse_args( $args, $defaults)
- # of filter parameter(s) : 2
-
tc_breadcrumb_trail_get_bbpress_items [filter]
Allow to filter the bbPress breadcrumb trail items
- Value / type : $trail
- # of filter parameter(s) : 2
-
tc_breadcrumb_trail_items [filter]
Allow devs to step in and filter the $trail array
- Value / type : $trail
- # of filter parameter(s) : 2
-
tc_display_taxonomies_in_breadcrumb [filter]
Boolean filter => if true, taxonomies are displayed in breadcrumb. Displays all levels of any hierarchical taxinomies by default and for all types of post (including hierarchical CPT). In the case of hierarchical post types (like page or hierarchical CPT), the taxonomy trail is only displayed for the higher parent.
- Value / type : true
- # of filter parameter(s) : 2
-
tc_show_breadcrumb [filter]
Boolean filter => if true, displays the breadcrumb.
- Value / type : true
- # of filter parameter(s) : 1
-
tc_show_breadcrumb_in_context [filter]
Boolean. Display breadcrumb if true.
- Value / type : boolean
- # of filter parameter(s) : 1
-
-
Post_thumbnails
-
tc_attachment_as_thumb_query_args [filter]
Attachment query arguments to set the thumbnail if no featured image has been set for the post / page
- Value / type : array()
- # of filter parameter(s) : 1
-
tc_display_post_thumbnail [filter]
Html markup for the thumbnail in post lists
- Value / type : html
- # of filter parameter(s) : 1
-
tc_get_thumbnail_data [filter]
return array( $tc_thumb(image object), $tc_thumb_width(string), $tc_thumb_height(string) ). Can be filtered by post id. ( !! use a ref_array )
- Value / type : array()
- # of filter parameter(s) : 2
-
tc_no_round_thumb [filter]
Disable the hover effect if true.
- Value / type : boolean
- # of filter parameter(s) : 2
-
tc_post_thumb_class [filter]
Css attribute for the thumbnail section in post lists
- Value / type : string
- # of filter parameter(s) : 1
-
tc_post_thumb_img [filter]
Thumbnail img. Can be filtered by post id.
- Value / type : string
- # of filter parameter(s) : 2
-
tc_post_thumb_wrapper [filter]
Html markup for the thumbnail wrapper in post lists
- Value / type : html
- # of filter parameter(s) : 1
-
tc_thumb_size [filter]
array(‘width’ => 270 , ‘height’ => 250, ‘crop’ => true )
- Value / type : array(‘width’ => 270 , ‘height’ => 250, ‘crop’ => true );
- # of filter parameter(s) : 2
-
tc_thumb_size_name [filter]
Default thumbnail image size name
- Value / type : tc-thumb
- # of filter parameter(s) : 1
-
tc_thumb_wrapper_class [filter]
Default thumbnail wrapper class name
- Value / type : thumb-wrapper
- # of filter parameter(s) : 1
-
-
Post navigation
-
tc_list_nav_next_text [filter]
Post navigation next title for post lists
- Value / type : string
- # of filter parameter(s) : 1
-
tc_list_nav_previous_text [filter]
Post navigation previous title for post lists
- Value / type : string
- # of filter parameter(s) : 1
-
tc_list_nav_title [filter]
Post navigation title for post lists
- Value / type : string
- # of filter parameter(s) : 1
-
tc_next_posts_link_args [filter]
WP post list navigation function arguments : label and max_pages
- Value / type : array
- # of filter parameter(s) : 1
-
tc_next_single_post_link_args [filter]
WP single post navigation function arguments : format, link, in_same_term, excluded_terms, taxonomy
- Value / type : array
- # of filter parameter(s) : 1
-
tc_post_nav [filter]
Html markup for the entire post navigation block
- Value / type : html
- # of filter parameter(s) : 1
-
tc_previous_posts_link_args [filter]
WP post list navigation function arguments : label and max_pages
- Value / type : array
- # of filter parameter(s) : 1
-
tc_previous_single_post_link_args [filter]
WP single post navigation function arguments : format, link, in_same_term, excluded_terms, taxonomy
- Value / type : array
- # of filter parameter(s) : 1
-
tc_show_post_navigation [filter]
Displays the post navigation arrows if true.
- Value / type : boolean
- # of filter parameter(s) : 1
-
tc_singular_nav_next_text [filter]
Post navigation next title for single post
- Value / type : string
- # of filter parameter(s) : 1
-
tc_singular_nav_previous_text [filter]
Post navigation previous title for single post
- Value / type : string
- # of filter parameter(s) : 1
-
tc_singular_nav_title [filter]
Post navigation title for single post
- Value / type : string
- # of filter parameter(s) : 1
-
-
Sidebars
-
__after_left_sidebar [action]
Use it to hook before/after sidebar
-
__after_right_sidebar [action]
Use it to hook before/after sidebar
-
__before_left_sidebar [action]
Use it to hook before/after sidebar
-
__before_right_sidebar [action]
Use it to hook before/after sidebar
-
tc_global_layout [filter]
//Default layout settings
$this -> global_layout = array(
‘r’ => array(
‘content’ => ‘span9’,
‘sidebar’ => ‘span3’,
‘customizer’ => __( ‘Right sidebar’ , ‘customizr’ ),
‘metabox’ => __( ‘Right sidebar’ , ‘customizr’ ),
),
‘l’ => array(
‘content’ => ‘span9’,
‘sidebar’ => ‘span3’,
‘customizer’ => __( ‘Left sidebar’ , ‘customizr’ ),
‘metabox’ => __( ‘Left sidebar’ , ‘customizr’ ),
),
‘b’ => array(
‘content’ => ‘span6’,
‘sidebar’ => ‘span3’,
‘customizer’ => __( ‘2 sidebars : Right and Left’ , ‘customizr’ ),
‘metabox’ => __( ‘2 sidebars : Right and Left’ , ‘customizr’ ),
),
‘f’ => array(
‘content’ => ‘span12’,
‘sidebar’ => false,
‘customizer’ => __( ‘No sidebars : full width layout’, ‘customizr’ ),
‘metabox’ => __( ‘No sidebars : full width layout’ , ‘customizr’ ),
),
)- Value / type : array()
- # of filter parameter(s) : 1
-
tc_left_sidebar_class [filter]
Css attribute sidebar wrapper
- Value / type : array()
- # of filter parameter(s) : 1
-
tc_right_sidebar_class [filter]
Css attribute sidebar wrapper
- Value / type : array()
- # of filter parameter(s) : 1
-
tc_sidebar_block_social_class [filter]
Default classes : social-block widget widget_social
- Value / type : array
- # of filter parameter(s) : 1
-
tc_sidebar_display [filter]
Html markup for the sidebar block, left and right. Can be filtered with 2 additional parameters : $sidebar_layout and $position
- Value / type : html
- # of filter parameter(s) : 3
-
tc_sidebar_position [filter]
left or right
- Value / type : string
- # of filter parameter(s) : 1
-
tc_sidebar_socials_title [filter]
Social links title in sidebar. Default : “Social links”
- Value / type : string
- # of filter parameter(s) : 1
-
tc_social_in_sidebar [filter]
Html markup for the social block in left and right sidebars. Can be filtered with the current_filter() parameter
- Value / type : html
- # of filter parameter(s) : 2
-
-
Main wrapper
-
__after_article [action]
Located inside the WordPress loop. The post object is set and can be accessed with global $post.
-
__after_article_container [action]
hook of left sidebar
-
__after_loop [action]
hook of the comments (priority 10) and the posts navigation (priority 20 )
-
__after_main_container [action]
-
__after_main_wrapper [action]
hook of the footer with get_footer
-
__before_article [action]
Located inside the WordPress loop. The post object is set and can be accessed with global $post.
-
__before_article_container [action]
hook of left sidebar
-
__before_loop [action]
hooks the heading of the list of post : archive, search…
-
__before_main_container [action]
Hook of the featured page (priority 10) and breadcrumb (priority 20)
-
__before_main_wrapper [action]
hook of the header with get_header()
-
__loop [action]
Located inside the WordPress loop. The post object is set and can be accessed with global $post.
Hook of all type of content : tc_404_content, tc_no_result_content, tc_attachment_content, tc_page_content, tc_post_content, tc_post_list_display -
tc_column_content_wrapper_classes [filter]
Class attribute for div#content
- Value / type : row column-content-wrapper
- # of filter parameter(s) : 1
-
tc_main_wrapper_classes [filter]
Class attribute for div#main-wrapper
- Value / type : ‘container’
- # of filter parameter(s) : 1
-
-
Post metas
-
tc_author_meta [filter]
Html markup for the author meta block
- Value / type : html
- # of filter parameter(s) : 1
-
tc_cat_meta_list [filter]
Array of hierarchical taxonomy terms (including the category list for posts)
- Value / type : array()
- # of filter parameter(s) : 1
-
tc_category_list [filter]
Html markup for the hierarchical taxonomy terms list
- Value / type : html
- # of filter parameter(s) : 1
-
tc_category_list_class [filter]
Class attribute of the hierarchical taxonomy terms link (button)
- Value / type : btn btn-mini
- # of filter parameter(s) : 1
-
tc_date_meta [filter]
Html markup for the date meta block
- Value / type : html
- # of filter parameter(s) : 1
-
tc_exclude_taxonomies_from_metas [filter]
Allow to exclude a list of taxonomies from the post metas rendering
- Value / type : array
- # of filter parameter(s) : 1
-
tc_meta_utility_text [filter]
- Value / type : string
- # of filter parameter(s) : 1
-
tc_post_metas [filter]
Html markup for the entire post metas block
- Value / type : html
- # of filter parameter(s) : 1
-
tc_show_post_metas [filter]
Display post metas if set to true.
- Value / type : boolean
- # of filter parameter(s) : 1
-
tc_tag_list [filter]
Html markup for the non-hierarchical taxonomy terms list
- Value / type : html
- # of filter parameter(s) : 1
-
tc_tag_list_class [filter]
Class attribute of the non-hierarchical taxonomy terms link (button)
- Value / type : btn btn-mini btn-tag
- # of filter parameter(s) : 1
-
tc_tag_meta_list [filter]
Array of non-hierarchical taxonomy terms (including the category list for posts)
- Value / type : array()
- # of filter parameter(s) : 1
-
tc_use_the_post_modified_date [filter]
Boolean, if true : uses the modified date instead of the actual post date. Default to false.
- Value / type : boolean
- # of filter parameter(s) : 1
-
-
comments
-
__comment [action]
Inside the div#comments wrapper. Hook of comment title (priority 10), comment list (priority 20), comment navigation (priority 30), comment close text (priority 40)
-
tc_comment_avatar_class [filter]
CSS class attribute control
- Value / type : comment-avatar span2
- # of filter parameter(s) : 1
-
tc_comment_avatar_size [filter]
Size of the avatar in pixels
- Value / type : 80
- # of filter parameter(s) : 1
-
tc_comment_callback [filter]
Html markup for comments and pingbacks
- Value / type : html
- # of filter parameter(s) : 5
-
tc_comment_close [filter]
Comment close html rendering
- Value / type : html
- # of filter parameter(s) : 1
-
tc_comment_content_class [filter]
CSS class attribute control
- Value / type : span10
- # of filter parameter(s) : 1
-
tc_comment_list [filter]
Comment list Rendering
- Value / type : html
- # of filter parameter(s) : 1
-
tc_comment_navigation [filter]
Comments navigation html rendering
- Value / type : html
- # of filter parameter(s) : 1
-
tc_comment_reply_below [filter]
Allow to set the reply form right below the comment.
- Value / type : li-comment
- # of filter parameter(s) : 1
-
tc_comment_reply_btn_class [filter]
CSS class attribute control
- Value / type : reply btn btn-small
- # of filter parameter(s) : 1
-
tc_comment_title [filter]
Comment title rendering
- Value / type : html
- # of filter parameter(s) : 1
-
tc_comment_wrapper_class [filter]
Allow to change the comment wrapper class attribute
- Value / type : row-fluid
- # of filter parameter(s) : 1
-
tc_comments_wrapper_class [filter]
Class attribute of the div#comments wrapper
- Value / type :
- # of filter parameter(s) : 1
-
tc_show_comments [filter]
Boolean filter => controls wheter the comments have to be displayed
- Value / type : true
- # of filter parameter(s) : 1
-
-
Post lists
-
__after_content [action]
Use it to hooksingle page / post content
-
__before_content [action]
Use it to hook before page / post content
-
tc_get_post_list_thumbnail [filter]
[deprecated] Thumbnail data. Can be filtered by post id. ( !! use a ref_array )
- Value / type : string
- # of filter parameter(s) : 1
-
tc_include_attachments_in_search_results [filter]
Includes attachment in post results if true.
- Value / type : true
- # of filter parameter(s) : 1
-
tc_include_cpt_in_archives [filter]
Boolean. Includes Custom Posts Types (set to public and excluded_from_search_result = false) in archives and search results
* In archives, it handles the case where a CPT has been registered and associated with an existing built-in taxonomy like category or post_tag- Value / type : false
- # of filter parameter(s) : 1
-
tc_post_list_content [filter]
Html markup for post list content section
- Value / type : html
- # of filter parameter(s) : 1
-
tc_post_list_content_class [filter]
Css class attribute of the post list sections
- Value / type : array
- # of filter parameter(s) : 2
-
tc_post_list_content_icon [filter]
Icon css class for post list section content
- Value / type : ‘format-icon’
- # of filter parameter(s) : 1
-
tc_post_list_layout [filter]
Allow to modify the post layout in lists with 4 parameters : content, thumb, position of thumb, thumb alternate //Default post list layout = array( ‘content’ => ‘span8’, ‘thumb’ => ‘span4’, ‘show_thumb_first’ => false, ‘alternate’ => true )
- Value / type : array()
- # of filter parameter(s) : 1
-
tc_post_list_selectors [filter]
Class and ID attribute of the <article> tag for posts in lists
- Value / type : string
- # of filter parameter(s) : 1
-
tc_post_list_separator [filter]
Html markup for a separator after post list content section
- Value / type : html
- # of filter parameter(s) : 1
-
tc_post_list_thumbnail [filter]
[deprecated] Html markup for the thumbnail in post lists
- Value / type : html
- # of filter parameter(s) : 1
-
tc_show_post_list_excerpt [filter]
Display post excerpt if set to true.
- Value / type : boolean
- # of filter parameter(s) : 1
-
tc_show_post_list_thumb [filter]
Display thumbnails in post lists if set to true
- Value / type : boolean
- # of filter parameter(s) : 1
-
tc_thumb_size [filter]
Post thumbnails definition for featured pages and post lists (archive, search, …)
- Value / type : array()
- # of filter parameter(s) : 1
-
-
Single post
-
__after_content [action]
Use it to hook after page / post content
-
__before_content [action]
Use it to hook before page / post content
-
tc_author_bio_avatar_size [filter]
Author meta avatar img size in pixel. Default 100
- Value / type : 100
- # of filter parameter(s) : 1
-
tc_author_meta_avatar_class [filter]
Author meta avatar Css class attribute
- Value / type : comment-avatar author-avatar span2
- # of filter parameter(s) : 1
-
tc_author_meta_content_class [filter]
Author meta content Css class attribute
- Value / type : author-description span10
- # of filter parameter(s) : 1
-
tc_author_meta_wrapper_class [filter]
Author meta wrapper Css class attribute
- Value / type : row-fluid
- # of filter parameter(s) : 1
-
tc_post_content [filter]
Html markup for the single post content block
- Value / type : html
- # of filter parameter(s) : 1
-
tc_post_footer [filter]
Html markup for the single post footer content block
- Value / type : html
- # of filter parameter(s) : 1
-
tc_post_format_icon [filter]
Icon class attribute of the single post wrapper
- Value / type : format-icon
- # of filter parameter(s) : 1
-
tc_post_formats [filter]
Defines the theme supported post formats.
Default : array( ‘aside’ , ‘gallery’ , ‘link’ , ‘image’ , ‘quote’ , ‘status’ , ‘video’ , ‘audio’ , ‘chat’ ).Hooked on after_setup_theme action.- Value / type : array()
- # of filter parameter(s) : 1
-
tc_show_author_metas_in_post [filter]
Boolean. Display author meta content if true.
- Value / type : boolean
- # of filter parameter(s) : 1
-
tc_show_single_post_content [filter]
Boolean. Display single post content if true.
- Value / type : boolean
- # of filter parameter(s) : 1
-
tc_show_single_post_footer [filter]
Boolean. Display single post footer content if true.
- Value / type : boolean
- # of filter parameter(s) : 1
-
tc_single_post_selectors [filter]
Class and ID attributes of the <article> tag for single posts
- Value / type : string
- # of filter parameter(s) : 1
-
tc_single_post_thumbnail_view [filter]
Html markup for the single post thumbnail content block
- Value / type : html
- # of filter parameter(s) : 1
-
-
Featured pages
-
__after_fp [action]
After the featured pages row
-
__before_fp [action]
Before the featured pages row
-
fp_img_id [filter]
Boolean filter for the featured page image id
- Value / type : false
- # of filter parameter(s) : 3
-
fp_img_src [filter]
Single featured page image src. Note : the $fp_single_id and $featured_page_id allows to set this on a single page basis
- Value / type : html
- # of filter parameter(s) : 3
-
tc_after_fp_separator [filter]
Html markup for a separator after the featured pages
- Value / type : html
- # of filter parameter(s) : 1
-
tc_edit_in_fp_title [filter]
Boolean filter to display the edit button linked to the page/post edit page.
- Value / type : true
- # of filter parameter(s) : 1
-
tc_featured_pages_ids [filter]
Set the featured pages ids. Default : array( ‘one’ , ‘two’ , ‘three’ )
- Value / type : array( ‘one’ , ‘two’ , ‘three’ );
- # of filter parameter(s) : 1
-
tc_fp_block_display [filter]
Html markup for the featured pages block
- Value / type : html
- # of filter parameter(s) : 2
-
tc_fp_button_block [filter]
Html markup for the single featured page button block
- Value / type : html
- # of filter parameter(s) : 5
-
tc_fp_holder_img [filter]
Html markup of the holder image
- Value / type :
- # of filter parameter(s) : 1
-
tc_fp_id [filter]
WordPress post ID of the featured page.
- Value / type : html
- # of filter parameter(s) : 2
-
tc_fp_img_size [filter]
Single featured page image src size. Note : the $fp_single_id and $featured_page_id allows to set this on a single page basis
- Value / type : tc-thumb
- # of filter parameter(s) : 3
-
tc_fp_link_url [filter]
Html markup of the featured page link. Note : the $fp_single_id allows to set this on a single page basis
- Value / type : html
- # of filter parameter(s) : 2
-
tc_fp_per_line [filter]
Number of featured pages per line
- Value / type : 3
- # of filter parameter(s) : 1
-
tc_fp_round_div [filter]
Html markup for the featured page effect wrapper
- Value / type : html
- # of filter parameter(s) : 3
-
tc_fp_single_display [filter]
Html markup for the single featured page block
- Value / type : html
- # of filter parameter(s) : 8
-
tc_fp_text [filter]
Single featured page text.Note : the $fp_single_id and $featured_page_id allows to set this on a single page basis
- Value / type : Single featured page text
- # of filter parameter(s) : 3
-
tc_fp_text_block [filter]
Html markup for the single featured page text block
- Value / type : html
- # of filter parameter(s) : 4
-
tc_fp_text_length [filter]
Single featured page text sanitization. Default : strip_tags( html_entity_decode( $featured_text ) ) . Note : the $fp_single_id and $featured_page_id allows to set this on a single page basis
- Value / type : Single featured page text
- # of filter parameter(s) : 3
-
tc_fp_text_sanitize [filter]
Single featured page text sanitization. Default : strip_tags( html_entity_decode( $featured_text ) ) . Note : the $fp_single_id and $featured_page_id allows to set this on a single page basis
- Value / type : Single featured page text
- # of filter parameter(s) : 3
-
tc_fp_title [filter]
Single featured page title. Note : the $fp_single_id and $featured_page_id allows to set this on a single page basis
- Value / type : Single featured page title
- # of filter parameter(s) : 3
-
tc_fp_title_block [filter]
Html markup for the single featured page title block
- Value / type : html
- # of filter parameter(s) : 4
-
tc_fp_title_tag [filter]
Single featured page title tag. Note : the $fp_single_id and $featured_page_id allows to set this on a single page basis
- Value / type : h2
- # of filter parameter(s) : 3
-
tc_show_fp [filter]
Boolean filter => display FP if true (default)
- Value / type : true
- # of filter parameter(s) : 1
-
-
Slider
-
__after_all_slides [action]
Use it to hook after all slides
- # of action parameter(s) : 1
-
__after_carousel_inner [action]
Used to render the slider controls
- # of action parameter(s) : 1
-
__after_slide_{$id} [action]
Use it to hook after a specific slide id
- # of action parameter(s) : 1
-
__before_all_slides [action]
Use it to hook before all slides
- # of action parameter(s) : 1
-
__before_slide_{$id} [action]
Use it to hook before a specific slide id
- # of action parameter(s) : 1
-
tc_default_slides [filter]
//Default slides content (@see class-fire-init.php)
- Value / type :
- # of filter parameter(s) : 1
-
tc_display_slider_loader [filter]
Display the slider gif loader if set to true and slider center option is checked in the customizer
- Value / type : boolean
- # of filter parameter(s) : 1
-
tc_show_slider [filter]
Display the slider if set to true
- Value / type : boolean
- # of filter parameter(s) : 1
-
tc_show_slider_controls [filter]
Display the slider controls if true. Default : ! wp_is_mobile()
- Value / type : boolean
- # of filter parameter(s) : 1
-
tc_show_slider_edit_link [filter]
Display the edit link on the slides if set to true
- Value / type : boolean
- # of filter parameter(s) : 1
-
tc_slide_background [filter]
Html markup for the <img>. Can be filtered with additional parameters : $id (of the current slide item), $slider_name_id (user choosen name of the current slider)
- Value / type : html
- # of filter parameter(s) : 3
-
tc_slide_background_alt [filter]
Get alt attribute (if any) from the attachment with : trim(strip_tags(get_post_meta( $id, ‘_wp_attachment_image_alt’ , true))
- Value / type : string
- # of filter parameter(s) : 1
-
tc_slide_button_class [filter]
Slide button class attribute. Can be filtered with additional parameters : $slider_name_id (user choosen name of the current slider)
- Value / type : btn btn-large btn-primary
- # of filter parameter(s) : 2
-
tc_slide_button_length [filter]
Button text length in number of characters.
- Value / type : 80
- # of filter parameter(s) : 1
-
tc_slide_button_text [filter]
Slide button text string. Can be filtered with additional parameters : $id (of the current slide item), $slider_name_id (user choosen name of the current slider)
- Value / type : string
- # of filter parameter(s) : 3
-
tc_slide_color [filter]
Slide color string. Can be filtered with additional parameters : $id (of the current slide item), $slider_name_id (user choosen name of the current slider)
- Value / type : string
- # of filter parameter(s) : 3
-
tc_slide_content_class [filter]
Css attribute for .item > div wrapper
- Value / type : ‘carousel-image’
- # of filter parameter(s) : 1
-
tc_slide_left_control [filter]
Left slide arrow
- Value / type : ‹
- # of filter parameter(s) : 1
-
tc_slide_link_id [filter]
WordPress id of the linked post. Can be filtered with additional parameters : $id (of the current slide item), $slider_name_id (user choosen name of the current slider)
- Value / type : string
- # of filter parameter(s) : 3
-
tc_slide_link_url [filter]
Slide link url string. Can be filtered with additional parameters : $id (of the current slide item), $slider_name_id (user choosen name of the current slider)
- Value / type : string
- # of filter parameter(s) : 3
-
tc_slide_right_control [filter]
Right slide arrow
- Value / type : ›
- # of filter parameter(s) : 1
-
tc_slide_text [filter]
Slide text string. Can be filtered with additional parameters : $id (of the current slide item), $slider_name_id (user choosen name of the current slider)
- Value / type : string
- # of filter parameter(s) : 3
-
tc_slide_text_length [filter]
Text length in number of characters.
- Value / type : 250
- # of filter parameter(s) : 1
-
tc_slide_title [filter]
Slide title string. Can be filtered with additional parameters : $id (of the current slide item), $slider_name_id (user choosen name of the current slider)
- Value / type : string
- # of filter parameter(s) : 3
-
tc_slide_title_length [filter]
Title length in number of characters.
- Value / type : 80
- # of filter parameter(s) : 1
-
tc_slide_title_tag [filter]
Slide title html tag. Default is h1. Can be filtered with additional parameters : $slider_name_id (user choosen name of the current slider)
- Value / type : string
- # of filter parameter(s) : 2
-
tc_slider_active_status [filter]
Is the slider set to on for the queried id?
- Value / type : boolean
- # of filter parameter(s) : 1
-
tc_slider_control_view [filter]
Html markup for the control arrows
- Value / type : html
- # of filter parameter(s) : 1
-
tc_slider_display [filter]
Html markup for the entire slider (includes all slides). Can be filtered with the slider_name parameter.
- Value / type : html
- # of filter parameter(s) : 2
-
tc_slider_full_size [filter]
Slider full size image size definition
- Value / type : array()
- # of filter parameter(s) : 1
-
tc_slider_img_size [filter]
Default values : slider and slider-full
- Value / type : string
- # of filter parameter(s) : 1
-
tc_slider_layout [filter]
false => boxed, true => full width
- Value / type : boolean
- # of filter parameter(s) : 2
-
tc_slider_layout_class [filter]
Css attribute for the slider wrapper (#customizr-slider)
- Value / type : array()
- # of filter parameter(s) : 1
-
tc_slider_loader_src [filter]
Gif loader image src
- Value / type : string
- # of filter parameter(s) : 1
-
tc_slider_name_id [filter]
Current slider id (name entered by user)
- Value / type : string
- # of filter parameter(s) : 2
-
tc_slider_size [filter]
Slider boxed image size definition
- Value / type : array()
- # of filter parameter(s) : 1
-
-
Headings
-
__after_archive_title [action]
Use it to hook after any post/page headings
-
__before_archive_title [action]
Use it to hook before any post/page headings
-
tc_404_header_content [filter]
Html markup for the 404 page title block
- Value / type : html
- # of filter parameter(s) : 1
-
tc_404_title [filter]
Title for 404 page
- Value / type : Ooops, page not found
- # of filter parameter(s) : 1
-
tc_archive_header_class [filter]
Contextual Class attribute for archive heading (<header> tag)
- Value / type : string
- # of filter parameter(s) : 1
-
tc_archive_header_content [filter]
Html markup for the archive heading content
- Value / type : html
- # of filter parameter(s) : 1
-
tc_archive_icon [filter]
Additional css class for the archive heading
- Value / type : ‘
- # of filter parameter(s) : 1
-
tc_archives_headings [filter]
Html markup for the archive heading block
- Value / type : html
- # of filter parameter(s) : 1
-
tc_archives_headings_separator [filter]
Html markup for the archive heading separator
- Value / type : html
- # of filter parameter(s) : 1
-
tc_author_archive_title [filter]
Title for author page
- Value / type : Author Archives :
- # of filter parameter(s) : 1
-
tc_author_bio_avatar_size [filter]
Author meta avatar img size in pixel. Default 100
- Value / type : 100
- # of filter parameter(s) : 1
-
tc_author_header_content [filter]
Html markup for the search page title block
- Value / type : html
- # of filter parameter(s) : 1
-
tc_author_meta_avatar_class [filter]
Author meta avatar Css class attribute
- Value / type : comment-avatar author-avatar span2
- # of filter parameter(s) : 1
-
tc_author_meta_content_class [filter]
Author meta content Css class attribute
- Value / type : author-description span10
- # of filter parameter(s) : 1
-
tc_author_meta_separator [filter]
html separator for author meta
- Value / type : html
- # of filter parameter(s) : 1
-
tc_author_meta_wrapper_class [filter]
Author meta wrapper Css class attribute
- Value / type : row-fluid
- # of filter parameter(s) : 1
-
tc_bubble_comment [filter]
Html markup for the comment bubble
- Value / type : html
- # of filter parameter(s) : 1
-
tc_category_archive_header_content [filter]
Html markup for the category archive title block
- Value / type : html
- # of filter parameter(s) : 1
-
tc_category_archive_title [filter]
Title for category archive
- Value / type : Category archive
- # of filter parameter(s) : 1
-
tc_comment_bubble_style [filter]
Filter for comment bubble style
- Value / type : ‘style=”color:#ECECEC” ‘
- # of filter parameter(s) : 1
-
tc_comments_in_title [filter]
Boolean to control the comment rendering. True = display.
- Value / type : boolean
- # of filter parameter(s) : 1
-
tc_content_header_class [filter]
Class attribute for page/post heading (<header> tag)
- Value / type : string
- # of filter parameter(s) : 1
-
tc_content_headings [filter]
Html markup for the page/post title
- Value / type : html
- # of filter parameter(s) : 1
-
tc_content_title_icon [filter]
Font icon class attribute of title tag
- Value / type : format-icon
- # of filter parameter(s) : 1
-
tc_content_title_tag [filter]
Heading title Html tag : H1 if single, H2 if not
- Value / type : h1 or h2
- # of filter parameter(s) : 1
-
tc_display_link_for_post_titles [filter]
Boolean to control whether the list titles should be a link or not. Default true
- Value / type : true
- # of filter parameter(s) : 1
-
tc_edit_in_title [filter]
Boolean to control the edit button rendering. True = display.
- Value / type : boolean
- # of filter parameter(s) : 1
-
tc_no_title_post [filter]
Fallback title for post with no title.
- Value / type : {no title} Read the post »
- # of filter parameter(s) : 1
-
tc_page_for_post_header_content [filter]
Html markup for the page for posts (when set by user) title
- Value / type : html
- # of filter parameter(s) : 1
-
tc_post_formats_with_no_header [filter]
Default : array( ‘aside’ , ‘status’ , ‘link’ , ‘quote’ )
- Value / type : array( ‘aside’ , ‘status’ , ‘link’ , ‘quote’ );
- # of filter parameter(s) : 1
-
tc_post_link_title [filter]
Title attribute of the permalink in post title
- Value / type : Permalink to %s
- # of filter parameter(s) : 1
-
tc_search_result_header_form_class [filter]
Class for search result title
- Value / type : span4
- # of filter parameter(s) : 1
-
tc_search_result_header_title_class [filter]
Class for search result title
- Value / type : span8
- # of filter parameter(s) : 1
-
tc_search_results_header_content [filter]
Html markup for the search page title block
- Value / type : html
- # of filter parameter(s) : 1
-
tc_search_results_title [filter]
Title for search results page
- Value / type : Search Results for :
- # of filter parameter(s) : 1
-
tc_show_author_meta [filter]
Boolean to display author meta. Check if author description is filled : get_the_author_meta( ‘description’, $user_id )
- Value / type : boolean
- # of filter parameter(s) : 1
-
tc_show_cat_description [filter]
Check if category_description() return !false
- Value / type : boolean
- # of filter parameter(s) : 1
-
tc_show_page_title [filter]
Boolean. Check is_front_page() && ‘page’ == get_option( ‘show_on_front’ )
- Value / type : boolean
- # of filter parameter(s) : 1
-
tc_show_tag_description [filter]
Check if tag_description() return !false
- Value / type : boolean
- # of filter parameter(s) : 1
-
tc_tag_archive_header_content [filter]
Html markup for the tag archive title block
- Value / type : html
- # of filter parameter(s) : 1
-
tc_tag_archive_title [filter]
Title for tag archive
- Value / type : Tag archive
- # of filter parameter(s) : 1
-
tc_time_archive_header_content [filter]
Html markup for the time archive title block
- Value / type : html
- # of filter parameter(s) : 1
-
-
-
Footer
-
Colophon
-
tc_colophon_center_block_class [filter]
Class attribute of the colophon center block
- Value / type : span4 credits
- # of filter parameter(s) : 1
-
tc_colophon_class [filter]
Class attribute of the .colophon > .container > div wrapper
- Value / type : row-fluid
- # of filter parameter(s) : 1
-
tc_colophon_display [filter]
Html markup for the widget colophon
- Value / type : html
- # of filter parameter(s) : 1
-
tc_colophon_left_block [filter]
Html markup for the left colophon block
- Value / type : html
- # of filter parameter(s) : 1
-
tc_colophon_left_block_class [filter]
Class attribute of the colophon left block
- Value / type : span4 social-block pull-left
- # of filter parameter(s) : 1
-
tc_colophon_right_block [filter]
Html markup for the right colophon block
- Value / type : html
- # of filter parameter(s) : 1
-
tc_colophon_right_block_class [filter]
Class attribute of the colophon center block
- Value / type : span4 backtop
- # of filter parameter(s) : 1
-
tc_copyright_link [filter]
html markup of the copyright text / link
- Value / type : html
- # of filter parameter(s) : 1
-
tc_credit_link [filter]
html markup of the credit text / link
- Value / type : html
- # of filter parameter(s) : 1
-
tc_credits_display [filter]
Html markup for the center colophon block
- Value / type : html
- # of filter parameter(s) : 1
-
-
Widgets
-
__after_footer_one_widgets [action]
Use it to hook before/after widgets
-
__after_footer_three_widgets [action]
Use it to hook before/after widgets
-
__after_footer_two_widgets [action]
Use it to hook before/after widgets
-
__after_footer_widgets [action]
Use it to hook before/after all widgets
-
__before_footer_one_widgets [action]
Use it to hook before/after widgets. These hooks are generated dynamically. (__before_{$key}_widgets, __after_{$key}_widgets ) If you add widgets to your footer, then the key will the name of your custom widget. Please refer to the ‘tc_footer_widgets’ filter to add new widgets to the footer.
-
__before_footer_three_widgets [action]
Use it to hook before/after widgets
-
__before_footer_two_widgets [action]
Use it to hook before/after widgets
-
__before_footer_widgets [action]
Use it to hook before/after all widgets
-
__colophon [action]
This hook is used by (priority) : tc_colophon_left (10) _block, tc_colophon_center_block (20) , tc_colophon_right_block (30)
-
footer_one_widget_class [filter]
Widget class. Dynamically generated filter : {$key}_widget_class. Where $key is the widget name.
- Value / type : span4
- # of filter parameter(s) : 1
-
footer_three_widget_class [filter]
Widget class. Dynamically generated filter : {$key}_widget_class. Where $key is the widget name.
- Value / type : span4
- # of filter parameter(s) : 1
-
footer_two_widget_class [filter]
Widget class. Dynamically generated filter : {$key}_widget_class. Where $key is the widget name.
- Value / type : span4
- # of filter parameter(s) : 1
-
tc_footer_widget_wrapper_class [filter]
List of classes for the widget wrapper
- Value / type : array()
- # of filter parameter(s) : 1
-
tc_footer_widgets [filter]
Array of the footer widgets. Check the 3 default footer widgets in class-fire-init.php.
- Value / type : array()
- # of filter parameter(s) : 1
-
tc_widgets_footer [filter]
Html markup for the widget footer block
- Value / type : html
- # of filter parameter(s) : 1
-
-
-
Global display
-
layout
-
tc_global_layout [filter]
Allow to hook in the default layout settings associative array
- Value / type : array()
- # of filter parameter(s) : 1
-
tc_screen_layout [filter]
Allow to hook in the user defined contextual site layout (sidebar(s), or full width)
- Value / type : array()
- # of filter parameter(s) : 3
-
-
options
-
tc_default_options [filter]
Allow to hooks in the default options array
- Value / type : array()
- # of filter parameter(s) : 1
-
tc_get_option [filter]
Allow to hook into the single theme option getter
- Value / type : string
- # of filter parameter(s) : 4
-
-
Widgets
-
tc_default_widgets [filter]
All theme widgets
- Value / type : array()
- # of filter parameter(s) : 1
-
tc_footer_widgets [filter]
Footer widgets array
- Value / type : array()
- # of filter parameter(s) : 1
-
tc_sidebar_widgets [filter]
Sidebar widgets array
- Value / type : array()
- # of filter parameter(s) : 1
-
-
Js
-
tc_load_bootstrap [filter]
Boolean
- Value / type : true
- # of filter parameter(s) : 1
-
tc_load_customizr_script [filter]
Boolean
- Value / type : true
- # of filter parameter(s) : 1
-
tc_load_holderjs [filter]
Boolean
- Value / type : true
- # of filter parameter(s) : 1
-
tc_load_modernizr [filter]
Boolean
- Value / type : true
- # of filter parameter(s) : 1
-
-
Socials
-
tc_additional_social_attributes [filter]
Allow to add any additional attribute to the social link <a> tag. Can be filtered with the social network name.
- Value / type : string
- # of filter parameter(s) : 2
-
tc_default_socials [filter]
Allow to hook in the default social network array
- Value / type : array()
- # of filter parameter(s) : 1
-
tc_social_link_class [filter]
Class attribute of the social link <a> tag. Can be filtered with the social network name.
- Value / type : string
- # of filter parameter(s) : 2
-
tc_socials_target [filter]
Target attribute of the social link <a> tag. Can be filtered with the social network name.
- Value / type : string
- # of filter parameter(s) : 2
-
-
css
-
tc_active_skin [filter]
Define the active skin’s url. Exemple : TC_BASE_URL.’inc/assets/css/blue.css’
- Value / type : string
- # of filter parameter(s) : 1
-
tc_custom_css_priority [filter]
Allow to set the priority of the custom css block in the wp_head hook
- Value / type : 20
- # of filter parameter(s) : 1
-
tc_customizr_script_params [filter]
Localized js param for tc-scripts.min.js
- Value / type : array()
- # of filter parameter(s) : 1
-
tc_logo_shrink_css [filter]
Logo shrink css on sticky header mode enabled
- Value / type : string
- # of filter parameter(s) : 1
-
tc_skin_list [filter]
Allow to change the list of available skins found in inc/assets/css.
- Value / type : array()
- # of filter parameter(s) : 1
-
tc_stop_slider_hover [filter]
Stop the slider to the current slide on hover if set to true.
- Value / type : true
- # of filter parameter(s) : 1
-
tc_title_shrink_css [filter]
title shrink css on sticky header mode enabled
- Value / type : string
- # of filter parameter(s) : 1
-
-
-
Admin/Setup
-
Welcome panel
-
__after_welcome_panel [action]
Allow to hook after the admin welcome panel
-
__before_welcome_panel [action]
Allow to hook before the admin welcome panel
-
-
php classes
-
tc_addons_classes [filter]
Extend the code classes of the theme.
- Value / type : array()
- # of filter parameter(s) : 1
-
tc_core [filter]
Hook into the theme code structure.
- Value / type : array()
- # of filter parameter(s) : 1
-
-
Meta boxes
-
__changelog [action]
Hook of the changelog in welcome/help screen
-
__post_slider_infos [action]
Hook of the slider infos in the meta box
-
__show_slides [action]
Hook of the slides list in meta boxes
- # of action parameter(s) : 2
-
tc_post_meta_boxes_priority [filter]
Position of the meta box. Can be filtered with the $screen parameter.
- Value / type : array()
- # of filter parameter(s) : 2
-
-
Customizer
-
__after_setting_control [action]
Hook after the setting control. Can be filtered with the setting id.
- # of action parameter(s) : 1
-
__before_setting_control [action]
Hook before the setting control. Can be filtered with the setting id.
- # of action parameter(s) : 1
-
tc_add_section_map [filter]
Customizer settings
- Value / type : array()
- # of filter parameter(s) : 1
-
tc_add_setting_control_map [filter]
Customizer settings
- Value / type : array()
- # of filter parameter(s) : 1
-
tc_comment_option_map [filter]
Customizer settings
- Value / type : array()
- # of filter parameter(s) : 2
-
tc_custom_css_option_map [filter]
Customizer settings
- Value / type : array()
- # of filter parameter(s) : 2
-
tc_customizer_arguments [filter]
Defines arguments for sections, settings and controls
- Value / type : array()
- # of filter parameter(s) : 1
-
tc_customizer_google_fonts [filter]
Customizer control Google font array
- Value / type : array()
- # of filter parameter(s) : 1
-
tc_customizer_map [filter]
All customizer settings
- Value / type : array()
- # of filter parameter(s) : 1
-
tc_front_page_option_map [filter]
Customizer settings
- Value / type : array()
- # of filter parameter(s) : 2
-
tc_get_setting_map [filter]
Customizer settings
- Value / type : array()
- # of filter parameter(s) : 1
-
tc_images_option_map [filter]
Customizer settings
- Value / type : array()
- # of filter parameter(s) : 2
-
tc_js_customizer_control_params [filter]
Localized paramas for the customizer controls
- Value / type : array()
- # of filter parameter(s) : 1
-
tc_layout_option_map [filter]
Customizer settings
- Value / type : array()
- # of filter parameter(s) : 2
-
tc_links_option_map [filter]
Customizer settings
- Value / type : array()
- # of filter parameter(s) : 2
-
tc_logo_favicon_option_map [filter]
Customizer settings
- Value / type : array()
- # of filter parameter(s) : 2
-
tc_navigation_option_map [filter]
Customizer settings
- Value / type : array()
- # of filter parameter(s) : 2
-
tc_remove_section_map [filter]
Customizer settings
- Value / type : array()
- # of filter parameter(s) : 1
-
tc_responsive_option_map [filter]
Customizer settings
- Value / type : array()
- # of filter parameter(s) : 2
-
tc_skin_option_map [filter]
Customizer settings
- Value / type : array()
- # of filter parameter(s) : 2
-
tc_social_option_map [filter]
Customizer settings
- Value / type : array()
- # of filter parameter(s) : 2
-
{$f_option_name}_customizer_set [filter]
Hook into each customizer setting option
- Value / type : array()
- # of filter parameter(s) : 1
-
-