| Current Path : /home/x/b/o/xbodynamge/namtation/wp-content/ |
| Current File : /home/x/b/o/xbodynamge/namtation/wp-content/hooks.php.tar |
home/xbodynamge/crosstraining/wp-content/themes/zerif-lite/inc/hooks.php 0000604 00000030200 15113072533 0022547 0 ustar 00 <?php
/**
* Zerif Lite Hooks
*
* @package zerif-lite
*/
/**
* 404 page
*/
/**
* Title of 404 pages
*
* HTML context: within `header.entry-header`
*/
function zerif_404_title_trigger() {
do_action( 'zerif_404_title' );
}
/**
* Content of 404 pages
*
* HTML context: within `div.entry-content`
*/
function zerif_404_content_trigger() {
do_action( 'zerif_404_content' );
}
/*************** Sidebar *************************/
/**
* Before sidebar
*
* HTML context: before `div#secondary`
*/
function zerif_before_sidebar_trigger() {
do_action( 'zerif_before_sidebar' );
}
/**
* After sidebar
*
* HTML context: after `div#secondary`
*/
function zerif_after_sidebar_trigger() {
do_action( 'zerif_after_sidebar' );
}
/**
* Top of sidebar
*
* HTML context: within `div#secondary`
*/
function zerif_top_sidebar_trigger() {
do_action( 'zerif_top_sidebar' );
}
/**
* Bottom of sidebar
*
* HTML context: within `div#secondary`
*/
function zerif_bottom_sidebar_trigger() {
do_action( 'zerif_bottom_sidebar' );
}
/**
* Sidebar
*/
function zerif_sidebar_trigger() {
do_action( 'zerif_sidebar' );
}
/******************** Footer *********************/
/**
* Before footer
*
* HTML context: before `footer`
*/
function zerif_before_footer_trigger() {
do_action( 'zerif_before_footer' );
}
/**
* After footer
*
* HTML context: after `footer`
*/
function zerif_after_footer_trigger() {
do_action( 'zerif_after_footer' );
}
/**
* Top of footer
*
* HTML context: within `footer div.container`
*/
function zerif_top_footer_trigger() {
do_action( 'zerif_top_footer' );
}
/**
* Bottom of footer
*
* HTML context: within `footer div.container`
*/
function zerif_bottom_footer_trigger() {
do_action( 'zerif_bottom_footer' );
}
/**
* The 3 footer sidebars in footer
*
* HTML context: inside footer
*/
function zerif_footer_widgets_trigger() {
do_action( 'zerif_footer_widgets' );
}
/***************** Search page ******************/
/**
* Before search
*
* HTML context: within `main` at the beginning
*/
function zerif_before_search_trigger() {
do_action( 'zerif_before_search' );
}
/**
* After search
*
* HTML context: after `main` at the end
*/
function zerif_after_search_trigger() {
do_action( 'zerif_after_search' );
}
/********************* Body ********************/
/**
* Top of body
*
* HTML context: within `body`
*/
function zerif_top_body_trigger() {
do_action( 'zerif_top_body' );
}
/**
* Bottom of body
*
* HTML context: within `body`
*/
function zerif_bottom_body_trigger() {
do_action( 'zerif_bottom_body' );
}
/******************* Head ******************/
/**
* Top of head
*
* HTML context: within `head`
*/
function zerif_top_head_trigger() {
do_action( 'zerif_top_head' );
}
/**
* Bottom of head
*
* HTML context: within `head`
*/
function zerif_bottom_head_trigger() {
do_action( 'zerif_bottom_head' );
}
/***************** Page ********************/
/**
* Top of page content
*
* HTML context: within `content-left-wrap` at the beginning
*/
function zerif_top_page_content_trigger() {
do_action( 'zerif_top_page_content' );
}
/**
* Bottom of page content
*
* HTML context: within `content-left-wrap` at the end
*/
function zerif_bottom_page_content_trigger() {
do_action( 'zerif_bottom_page_content' );
}
/**
* Before page content
*
* HTML context: before `content-left-wrap`
*/
function zerif_before_page_content_trigger() {
do_action( 'zerif_before_page_content' );
}
/**
* After page content
*
* HTML context: after `content-left-wrap`
*/
function zerif_after_page_content_trigger() {
do_action( 'zerif_after_page_content' );
}
/**
* Page header
*
* HTML context: within `.entry-header`
*/
function zerif_page_header_trigger() {
do_action( 'zerif_page_header' );
}
/************ Our Focus section ********************/
/**
* Before Our focus section
*
* HTML context: before `.focus`
*/
function zerif_before_our_focus_trigger() {
do_action( 'zerif_before_our_focus' );
}
/**
* After Our focus section
*
* HTML context: after `.focus`
*/
function zerif_after_our_focus_trigger() {
do_action( 'zerif_after_our_focus' );
}
/**
* Top of Our focus section
*
* HTML context: within `.focus`
*/
function zerif_top_our_focus_trigger() {
do_action( 'zerif_top_our_focus' );
}
/**
* Bottom of Our focus section
*
* HTML context: within `.focus`
*/
function zerif_bottom_our_focus_trigger() {
do_action( 'zerif_bottom_our_focus' );
}
/**
* Our focus section title
*
* HTML context: inside `.focus .section-header`
*/
function zerif_our_focus_header_title_trigger() {
do_action( 'zerif_our_focus_header_title' );
}
/**
* Our focus section subtitle
*
* HTML context: inside `.focus .section-header`
*/
function zerif_our_focus_header_subtitle_trigger() {
do_action( 'zerif_our_focus_header_subtitle' );
}
/************ About us section ********************/
/**
* Before About us section
*
* HTML context: before `.about-us`
*/
function zerif_before_about_us_trigger() {
do_action( 'zerif_before_about_us' );
}
/**
* After About us section
*
* HTML context: after `.about-us`
*/
function zerif_after_about_us_trigger() {
do_action( 'zerif_after_about_us' );
}
/**
* Top of About us section
*
* HTML context: within `.about-us`
*/
function zerif_top_about_us_trigger() {
do_action( 'zerif_top_about_us' );
}
/**
* Bottom of About us section
*
* HTML context: within `.about-us`
*/
function zerif_bottom_about_us_trigger() {
do_action( 'zerif_bottom_about_us' );
}
/**
* About us section title
*
* HTML context: inside `.about-us .section-header`
*/
function zerif_about_us_header_title_trigger() {
do_action( 'zerif_about_us_header_title' );
}
/**
* About us section subtitle
*
* HTML context: inside `.about-us .section-header`
*/
function zerif_about_us_header_subtitle_trigger() {
do_action( 'zerif_about_us_header_subtitle' );
}
/************ Latest news section *****************/
/**
* Before Latest news section
*
* HTML context: before `.latest-news`
*/
function zerif_before_latest_news_trigger() {
do_action( 'zerif_before_latest_news' );
}
/**
* After Latest news section
*
* HTML context: after `.latest-news`
*/
function zerif_after_latest_news_trigger() {
do_action( 'zerif_after_latest_news' );
}
/**
* Top of Latest news section
*
* HTML context: within `.latest-news`
*/
function zerif_top_latest_news_trigger() {
do_action( 'zerif_top_latest_news' );
}
/**
* Bottom of Latest news section
*
* HTML context: within `.latest-news`
*/
function zerif_bottom_latest_news_trigger() {
do_action( 'zerif_bottom_latest_news' );
}
/**
* Latest news section title
*
* HTML context: inside `.latest-news .section-header`
*/
function zerif_latest_news_header_title_trigger() {
do_action( 'zerif_latest_news_header_title' );
}
/**
* Latest news section subtitle
*
* HTML context: inside `.latest-news .section-header`
*/
function zerif_latest_news_header_subtitle_trigger() {
do_action( 'zerif_latest_news_header_subtitle' );
}
/************ Our team section *****************/
/**
* Before Our team section
*
* HTML context: before `.our-team`
*/
function zerif_before_our_team_trigger() {
do_action( 'zerif_before_our_team' );
}
/**
* After Our team section
*
* HTML context: after `.our-team`
*/
function zerif_after_our_team_trigger() {
do_action( 'zerif_after_our_team' );
}
/**
* Top of Our team section
*
* HTML context: within `.our-team`
*/
function zerif_top_our_team_trigger() {
do_action( 'zerif_top_our_team' );
}
/**
* Bottom of Our team section
*
* HTML context: within `.our-team`
*/
function zerif_bottom_our_team_trigger() {
do_action( 'zerif_bottom_our_team' );
}
/**
* Our team section title
*
* HTML context: inside `.our-team .section-header`
*/
function zerif_our_team_header_title_trigger() {
do_action( 'zerif_our_team_header_title' );
}
/**
* Our team section subtitle
*
* HTML context: inside `.our-team .section-header`
*/
function zerif_our_team_header_subtitle_trigger() {
do_action( 'zerif_our_team_header_subtitle' );
}
/************ Testimonials section *****************/
/**
* Before Testimonials section
*
* HTML context: before `.testimonial`
*/
function zerif_before_testimonials_trigger() {
do_action( 'zerif_before_testimonials' );
}
/**
* After Testimonials section
*
* HTML context: after `.testimonial`
*/
function zerif_after_testimonials_trigger() {
do_action( 'zerif_after_testimonials' );
}
/**
* Top of Testimonials section
*
* HTML context: within `.testimonial`
*/
function zerif_top_testimonials_trigger() {
do_action( 'zerif_top_testimonials' );
}
/**
* Bottom of Testimonials section
*
* HTML context: within `.testimonial`
*/
function zerif_bottom_testimonials_trigger() {
do_action( 'zerif_bottom_testimonials' );
}
/**
* Testimonials section title
*
* HTML context: inside `.testimonial .section-header`
*/
function zerif_testimonials_header_title_trigger() {
do_action( 'zerif_testimonials_header_title' );
}
/**
* Testimonials section subtitle
*
* HTML context: inside `.testimonial .section-header`
*/
function zerif_testimonials_header_subtitle_trigger() {
do_action( 'zerif_testimonials_header_subtitle' );
}
/************ Big title section *****************/
/**
* Add content inside div.buttons
*
* HTML context: within `.buttons`
*/
function zerif_big_title_buttons_top_trigger() {
do_action( 'zerif_big_title_buttons_top' );
}
/**
* Add content inside div.buttons
*
* HTML context: within `.buttons`
*/
function zerif_big_title_buttons_bottom_trigger() {
do_action( 'zerif_big_title_buttons_bottom' );
}
/**
* Big title section text
*/
function zerif_big_title_text_trigger() {
do_action( 'zerif_big_title_text' );
}
/************ General *****************/
/**
* Add content after the header tag is closed
*
* HTML context: after `header` is closed
*/
function zerif_after_header_trigger() {
do_action( 'zerif_after_header' );
}
/**
* Add the main navigation menu
*/
function zerif_primary_navigation_trigger() {
do_action( 'zerif_primary_navigation' );
}
/************ Archive *****************/
/**
* Archive page header title
*
* HTML context: inside .archive header.page-header
*/
function zerif_page_header_title_archive_trigger() {
do_action( 'zerif_page_header_title_archive' );
}
/**
* Archive page - optional term description
*
* HTML context: inside .archive header.page-header
*/
function zerif_page_term_description_archive_trigger() {
do_action( 'zerif_page_term_description_archive' );
}
/**
* Before Archive content
*
* HTML context: before `.content-left-wrap`
*/
function zerif_before_archive_content_trigger() {
do_action( 'zerif_before_archive_content' );
}
/**
* After Archive content
*
* HTML context: after `.content-left-wrap`
*/
function zerif_after_archive_content_trigger() {
do_action( 'zerif_after_archive_content' );
}
/**
* Top of Archive content
*
* HTML context: within `.content-left-wrap`
*/
function zerif_top_archive_content_trigger() {
do_action( 'zerif_top_archive_content' );
}
/**
* Bottom of Archive content
*
* HTML context: within `.content-left-wrap`
*/
function zerif_bottom_archive_content_trigger() {
do_action( 'zerif_bottom_archive_content' );
}
/***************** Single post ********************/
/**
* Top of single post
*
* HTML context: within `content-left-wrap` at the beginning
*/
function zerif_top_single_post_trigger() {
do_action( 'zerif_top_single_post' );
}
/**
* Bottom of single post
*
* HTML context: within `content-left-wrap` at the end
*/
function zerif_bottom_single_post_trigger() {
do_action( 'zerif_bottom_single_post' );
}
/**
* Before single post
*
* HTML context: before `content-left-wrap`
*/
function zerif_before_single_post_trigger() {
do_action( 'zerif_before_single_post' );
}
/**
* After single post
*
* HTML context: after `content-left-wrap`
*/
function zerif_after_single_post_trigger() {
do_action( 'zerif_after_single_post' );
}
/**
* Before navbar
*
* HTML context: before `navbar-header`
*/
function zerif_before_navbar_trigger() {
do_action( 'zerif_before_navbar' );
}
/**
* After header container
*
* HTML context: after `container`
*/
function zerif_after_header_container_trigger() {
do_action( 'zerif_after_header_container' );
}
home/xbodynamge/www/wp-content/themes/zerif-lite/inc/hooks.php 0000644 00000030200 15113173504 0020512 0 ustar 00 <?php
/**
* Zerif Lite Hooks
*
* @package zerif-lite
*/
/**
* 404 page
*/
/**
* Title of 404 pages
*
* HTML context: within `header.entry-header`
*/
function zerif_404_title_trigger() {
do_action( 'zerif_404_title' );
}
/**
* Content of 404 pages
*
* HTML context: within `div.entry-content`
*/
function zerif_404_content_trigger() {
do_action( 'zerif_404_content' );
}
/*************** Sidebar *************************/
/**
* Before sidebar
*
* HTML context: before `div#secondary`
*/
function zerif_before_sidebar_trigger() {
do_action( 'zerif_before_sidebar' );
}
/**
* After sidebar
*
* HTML context: after `div#secondary`
*/
function zerif_after_sidebar_trigger() {
do_action( 'zerif_after_sidebar' );
}
/**
* Top of sidebar
*
* HTML context: within `div#secondary`
*/
function zerif_top_sidebar_trigger() {
do_action( 'zerif_top_sidebar' );
}
/**
* Bottom of sidebar
*
* HTML context: within `div#secondary`
*/
function zerif_bottom_sidebar_trigger() {
do_action( 'zerif_bottom_sidebar' );
}
/**
* Sidebar
*/
function zerif_sidebar_trigger() {
do_action( 'zerif_sidebar' );
}
/******************** Footer *********************/
/**
* Before footer
*
* HTML context: before `footer`
*/
function zerif_before_footer_trigger() {
do_action( 'zerif_before_footer' );
}
/**
* After footer
*
* HTML context: after `footer`
*/
function zerif_after_footer_trigger() {
do_action( 'zerif_after_footer' );
}
/**
* Top of footer
*
* HTML context: within `footer div.container`
*/
function zerif_top_footer_trigger() {
do_action( 'zerif_top_footer' );
}
/**
* Bottom of footer
*
* HTML context: within `footer div.container`
*/
function zerif_bottom_footer_trigger() {
do_action( 'zerif_bottom_footer' );
}
/**
* The 3 footer sidebars in footer
*
* HTML context: inside footer
*/
function zerif_footer_widgets_trigger() {
do_action( 'zerif_footer_widgets' );
}
/***************** Search page ******************/
/**
* Before search
*
* HTML context: within `main` at the beginning
*/
function zerif_before_search_trigger() {
do_action( 'zerif_before_search' );
}
/**
* After search
*
* HTML context: after `main` at the end
*/
function zerif_after_search_trigger() {
do_action( 'zerif_after_search' );
}
/********************* Body ********************/
/**
* Top of body
*
* HTML context: within `body`
*/
function zerif_top_body_trigger() {
do_action( 'zerif_top_body' );
}
/**
* Bottom of body
*
* HTML context: within `body`
*/
function zerif_bottom_body_trigger() {
do_action( 'zerif_bottom_body' );
}
/******************* Head ******************/
/**
* Top of head
*
* HTML context: within `head`
*/
function zerif_top_head_trigger() {
do_action( 'zerif_top_head' );
}
/**
* Bottom of head
*
* HTML context: within `head`
*/
function zerif_bottom_head_trigger() {
do_action( 'zerif_bottom_head' );
}
/***************** Page ********************/
/**
* Top of page content
*
* HTML context: within `content-left-wrap` at the beginning
*/
function zerif_top_page_content_trigger() {
do_action( 'zerif_top_page_content' );
}
/**
* Bottom of page content
*
* HTML context: within `content-left-wrap` at the end
*/
function zerif_bottom_page_content_trigger() {
do_action( 'zerif_bottom_page_content' );
}
/**
* Before page content
*
* HTML context: before `content-left-wrap`
*/
function zerif_before_page_content_trigger() {
do_action( 'zerif_before_page_content' );
}
/**
* After page content
*
* HTML context: after `content-left-wrap`
*/
function zerif_after_page_content_trigger() {
do_action( 'zerif_after_page_content' );
}
/**
* Page header
*
* HTML context: within `.entry-header`
*/
function zerif_page_header_trigger() {
do_action( 'zerif_page_header' );
}
/************ Our Focus section ********************/
/**
* Before Our focus section
*
* HTML context: before `.focus`
*/
function zerif_before_our_focus_trigger() {
do_action( 'zerif_before_our_focus' );
}
/**
* After Our focus section
*
* HTML context: after `.focus`
*/
function zerif_after_our_focus_trigger() {
do_action( 'zerif_after_our_focus' );
}
/**
* Top of Our focus section
*
* HTML context: within `.focus`
*/
function zerif_top_our_focus_trigger() {
do_action( 'zerif_top_our_focus' );
}
/**
* Bottom of Our focus section
*
* HTML context: within `.focus`
*/
function zerif_bottom_our_focus_trigger() {
do_action( 'zerif_bottom_our_focus' );
}
/**
* Our focus section title
*
* HTML context: inside `.focus .section-header`
*/
function zerif_our_focus_header_title_trigger() {
do_action( 'zerif_our_focus_header_title' );
}
/**
* Our focus section subtitle
*
* HTML context: inside `.focus .section-header`
*/
function zerif_our_focus_header_subtitle_trigger() {
do_action( 'zerif_our_focus_header_subtitle' );
}
/************ About us section ********************/
/**
* Before About us section
*
* HTML context: before `.about-us`
*/
function zerif_before_about_us_trigger() {
do_action( 'zerif_before_about_us' );
}
/**
* After About us section
*
* HTML context: after `.about-us`
*/
function zerif_after_about_us_trigger() {
do_action( 'zerif_after_about_us' );
}
/**
* Top of About us section
*
* HTML context: within `.about-us`
*/
function zerif_top_about_us_trigger() {
do_action( 'zerif_top_about_us' );
}
/**
* Bottom of About us section
*
* HTML context: within `.about-us`
*/
function zerif_bottom_about_us_trigger() {
do_action( 'zerif_bottom_about_us' );
}
/**
* About us section title
*
* HTML context: inside `.about-us .section-header`
*/
function zerif_about_us_header_title_trigger() {
do_action( 'zerif_about_us_header_title' );
}
/**
* About us section subtitle
*
* HTML context: inside `.about-us .section-header`
*/
function zerif_about_us_header_subtitle_trigger() {
do_action( 'zerif_about_us_header_subtitle' );
}
/************ Latest news section *****************/
/**
* Before Latest news section
*
* HTML context: before `.latest-news`
*/
function zerif_before_latest_news_trigger() {
do_action( 'zerif_before_latest_news' );
}
/**
* After Latest news section
*
* HTML context: after `.latest-news`
*/
function zerif_after_latest_news_trigger() {
do_action( 'zerif_after_latest_news' );
}
/**
* Top of Latest news section
*
* HTML context: within `.latest-news`
*/
function zerif_top_latest_news_trigger() {
do_action( 'zerif_top_latest_news' );
}
/**
* Bottom of Latest news section
*
* HTML context: within `.latest-news`
*/
function zerif_bottom_latest_news_trigger() {
do_action( 'zerif_bottom_latest_news' );
}
/**
* Latest news section title
*
* HTML context: inside `.latest-news .section-header`
*/
function zerif_latest_news_header_title_trigger() {
do_action( 'zerif_latest_news_header_title' );
}
/**
* Latest news section subtitle
*
* HTML context: inside `.latest-news .section-header`
*/
function zerif_latest_news_header_subtitle_trigger() {
do_action( 'zerif_latest_news_header_subtitle' );
}
/************ Our team section *****************/
/**
* Before Our team section
*
* HTML context: before `.our-team`
*/
function zerif_before_our_team_trigger() {
do_action( 'zerif_before_our_team' );
}
/**
* After Our team section
*
* HTML context: after `.our-team`
*/
function zerif_after_our_team_trigger() {
do_action( 'zerif_after_our_team' );
}
/**
* Top of Our team section
*
* HTML context: within `.our-team`
*/
function zerif_top_our_team_trigger() {
do_action( 'zerif_top_our_team' );
}
/**
* Bottom of Our team section
*
* HTML context: within `.our-team`
*/
function zerif_bottom_our_team_trigger() {
do_action( 'zerif_bottom_our_team' );
}
/**
* Our team section title
*
* HTML context: inside `.our-team .section-header`
*/
function zerif_our_team_header_title_trigger() {
do_action( 'zerif_our_team_header_title' );
}
/**
* Our team section subtitle
*
* HTML context: inside `.our-team .section-header`
*/
function zerif_our_team_header_subtitle_trigger() {
do_action( 'zerif_our_team_header_subtitle' );
}
/************ Testimonials section *****************/
/**
* Before Testimonials section
*
* HTML context: before `.testimonial`
*/
function zerif_before_testimonials_trigger() {
do_action( 'zerif_before_testimonials' );
}
/**
* After Testimonials section
*
* HTML context: after `.testimonial`
*/
function zerif_after_testimonials_trigger() {
do_action( 'zerif_after_testimonials' );
}
/**
* Top of Testimonials section
*
* HTML context: within `.testimonial`
*/
function zerif_top_testimonials_trigger() {
do_action( 'zerif_top_testimonials' );
}
/**
* Bottom of Testimonials section
*
* HTML context: within `.testimonial`
*/
function zerif_bottom_testimonials_trigger() {
do_action( 'zerif_bottom_testimonials' );
}
/**
* Testimonials section title
*
* HTML context: inside `.testimonial .section-header`
*/
function zerif_testimonials_header_title_trigger() {
do_action( 'zerif_testimonials_header_title' );
}
/**
* Testimonials section subtitle
*
* HTML context: inside `.testimonial .section-header`
*/
function zerif_testimonials_header_subtitle_trigger() {
do_action( 'zerif_testimonials_header_subtitle' );
}
/************ Big title section *****************/
/**
* Add content inside div.buttons
*
* HTML context: within `.buttons`
*/
function zerif_big_title_buttons_top_trigger() {
do_action( 'zerif_big_title_buttons_top' );
}
/**
* Add content inside div.buttons
*
* HTML context: within `.buttons`
*/
function zerif_big_title_buttons_bottom_trigger() {
do_action( 'zerif_big_title_buttons_bottom' );
}
/**
* Big title section text
*/
function zerif_big_title_text_trigger() {
do_action( 'zerif_big_title_text' );
}
/************ General *****************/
/**
* Add content after the header tag is closed
*
* HTML context: after `header` is closed
*/
function zerif_after_header_trigger() {
do_action( 'zerif_after_header' );
}
/**
* Add the main navigation menu
*/
function zerif_primary_navigation_trigger() {
do_action( 'zerif_primary_navigation' );
}
/************ Archive *****************/
/**
* Archive page header title
*
* HTML context: inside .archive header.page-header
*/
function zerif_page_header_title_archive_trigger() {
do_action( 'zerif_page_header_title_archive' );
}
/**
* Archive page - optional term description
*
* HTML context: inside .archive header.page-header
*/
function zerif_page_term_description_archive_trigger() {
do_action( 'zerif_page_term_description_archive' );
}
/**
* Before Archive content
*
* HTML context: before `.content-left-wrap`
*/
function zerif_before_archive_content_trigger() {
do_action( 'zerif_before_archive_content' );
}
/**
* After Archive content
*
* HTML context: after `.content-left-wrap`
*/
function zerif_after_archive_content_trigger() {
do_action( 'zerif_after_archive_content' );
}
/**
* Top of Archive content
*
* HTML context: within `.content-left-wrap`
*/
function zerif_top_archive_content_trigger() {
do_action( 'zerif_top_archive_content' );
}
/**
* Bottom of Archive content
*
* HTML context: within `.content-left-wrap`
*/
function zerif_bottom_archive_content_trigger() {
do_action( 'zerif_bottom_archive_content' );
}
/***************** Single post ********************/
/**
* Top of single post
*
* HTML context: within `content-left-wrap` at the beginning
*/
function zerif_top_single_post_trigger() {
do_action( 'zerif_top_single_post' );
}
/**
* Bottom of single post
*
* HTML context: within `content-left-wrap` at the end
*/
function zerif_bottom_single_post_trigger() {
do_action( 'zerif_bottom_single_post' );
}
/**
* Before single post
*
* HTML context: before `content-left-wrap`
*/
function zerif_before_single_post_trigger() {
do_action( 'zerif_before_single_post' );
}
/**
* After single post
*
* HTML context: after `content-left-wrap`
*/
function zerif_after_single_post_trigger() {
do_action( 'zerif_after_single_post' );
}
/**
* Before navbar
*
* HTML context: before `navbar-header`
*/
function zerif_before_navbar_trigger() {
do_action( 'zerif_before_navbar' );
}
/**
* After header container
*
* HTML context: after `container`
*/
function zerif_after_header_container_trigger() {
do_action( 'zerif_after_header_container' );
}
home/xbodynamge/lebauwcentre/wp-content/themes/zerif-lite/inc/hooks.php 0000644 00000030200 15113402301 0022334 0 ustar 00 <?php
/**
* Zerif Lite Hooks
*
* @package zerif-lite
*/
/**
* 404 page
*/
/**
* Title of 404 pages
*
* HTML context: within `header.entry-header`
*/
function zerif_404_title_trigger() {
do_action( 'zerif_404_title' );
}
/**
* Content of 404 pages
*
* HTML context: within `div.entry-content`
*/
function zerif_404_content_trigger() {
do_action( 'zerif_404_content' );
}
/*************** Sidebar *************************/
/**
* Before sidebar
*
* HTML context: before `div#secondary`
*/
function zerif_before_sidebar_trigger() {
do_action( 'zerif_before_sidebar' );
}
/**
* After sidebar
*
* HTML context: after `div#secondary`
*/
function zerif_after_sidebar_trigger() {
do_action( 'zerif_after_sidebar' );
}
/**
* Top of sidebar
*
* HTML context: within `div#secondary`
*/
function zerif_top_sidebar_trigger() {
do_action( 'zerif_top_sidebar' );
}
/**
* Bottom of sidebar
*
* HTML context: within `div#secondary`
*/
function zerif_bottom_sidebar_trigger() {
do_action( 'zerif_bottom_sidebar' );
}
/**
* Sidebar
*/
function zerif_sidebar_trigger() {
do_action( 'zerif_sidebar' );
}
/******************** Footer *********************/
/**
* Before footer
*
* HTML context: before `footer`
*/
function zerif_before_footer_trigger() {
do_action( 'zerif_before_footer' );
}
/**
* After footer
*
* HTML context: after `footer`
*/
function zerif_after_footer_trigger() {
do_action( 'zerif_after_footer' );
}
/**
* Top of footer
*
* HTML context: within `footer div.container`
*/
function zerif_top_footer_trigger() {
do_action( 'zerif_top_footer' );
}
/**
* Bottom of footer
*
* HTML context: within `footer div.container`
*/
function zerif_bottom_footer_trigger() {
do_action( 'zerif_bottom_footer' );
}
/**
* The 3 footer sidebars in footer
*
* HTML context: inside footer
*/
function zerif_footer_widgets_trigger() {
do_action( 'zerif_footer_widgets' );
}
/***************** Search page ******************/
/**
* Before search
*
* HTML context: within `main` at the beginning
*/
function zerif_before_search_trigger() {
do_action( 'zerif_before_search' );
}
/**
* After search
*
* HTML context: after `main` at the end
*/
function zerif_after_search_trigger() {
do_action( 'zerif_after_search' );
}
/********************* Body ********************/
/**
* Top of body
*
* HTML context: within `body`
*/
function zerif_top_body_trigger() {
do_action( 'zerif_top_body' );
}
/**
* Bottom of body
*
* HTML context: within `body`
*/
function zerif_bottom_body_trigger() {
do_action( 'zerif_bottom_body' );
}
/******************* Head ******************/
/**
* Top of head
*
* HTML context: within `head`
*/
function zerif_top_head_trigger() {
do_action( 'zerif_top_head' );
}
/**
* Bottom of head
*
* HTML context: within `head`
*/
function zerif_bottom_head_trigger() {
do_action( 'zerif_bottom_head' );
}
/***************** Page ********************/
/**
* Top of page content
*
* HTML context: within `content-left-wrap` at the beginning
*/
function zerif_top_page_content_trigger() {
do_action( 'zerif_top_page_content' );
}
/**
* Bottom of page content
*
* HTML context: within `content-left-wrap` at the end
*/
function zerif_bottom_page_content_trigger() {
do_action( 'zerif_bottom_page_content' );
}
/**
* Before page content
*
* HTML context: before `content-left-wrap`
*/
function zerif_before_page_content_trigger() {
do_action( 'zerif_before_page_content' );
}
/**
* After page content
*
* HTML context: after `content-left-wrap`
*/
function zerif_after_page_content_trigger() {
do_action( 'zerif_after_page_content' );
}
/**
* Page header
*
* HTML context: within `.entry-header`
*/
function zerif_page_header_trigger() {
do_action( 'zerif_page_header' );
}
/************ Our Focus section ********************/
/**
* Before Our focus section
*
* HTML context: before `.focus`
*/
function zerif_before_our_focus_trigger() {
do_action( 'zerif_before_our_focus' );
}
/**
* After Our focus section
*
* HTML context: after `.focus`
*/
function zerif_after_our_focus_trigger() {
do_action( 'zerif_after_our_focus' );
}
/**
* Top of Our focus section
*
* HTML context: within `.focus`
*/
function zerif_top_our_focus_trigger() {
do_action( 'zerif_top_our_focus' );
}
/**
* Bottom of Our focus section
*
* HTML context: within `.focus`
*/
function zerif_bottom_our_focus_trigger() {
do_action( 'zerif_bottom_our_focus' );
}
/**
* Our focus section title
*
* HTML context: inside `.focus .section-header`
*/
function zerif_our_focus_header_title_trigger() {
do_action( 'zerif_our_focus_header_title' );
}
/**
* Our focus section subtitle
*
* HTML context: inside `.focus .section-header`
*/
function zerif_our_focus_header_subtitle_trigger() {
do_action( 'zerif_our_focus_header_subtitle' );
}
/************ About us section ********************/
/**
* Before About us section
*
* HTML context: before `.about-us`
*/
function zerif_before_about_us_trigger() {
do_action( 'zerif_before_about_us' );
}
/**
* After About us section
*
* HTML context: after `.about-us`
*/
function zerif_after_about_us_trigger() {
do_action( 'zerif_after_about_us' );
}
/**
* Top of About us section
*
* HTML context: within `.about-us`
*/
function zerif_top_about_us_trigger() {
do_action( 'zerif_top_about_us' );
}
/**
* Bottom of About us section
*
* HTML context: within `.about-us`
*/
function zerif_bottom_about_us_trigger() {
do_action( 'zerif_bottom_about_us' );
}
/**
* About us section title
*
* HTML context: inside `.about-us .section-header`
*/
function zerif_about_us_header_title_trigger() {
do_action( 'zerif_about_us_header_title' );
}
/**
* About us section subtitle
*
* HTML context: inside `.about-us .section-header`
*/
function zerif_about_us_header_subtitle_trigger() {
do_action( 'zerif_about_us_header_subtitle' );
}
/************ Latest news section *****************/
/**
* Before Latest news section
*
* HTML context: before `.latest-news`
*/
function zerif_before_latest_news_trigger() {
do_action( 'zerif_before_latest_news' );
}
/**
* After Latest news section
*
* HTML context: after `.latest-news`
*/
function zerif_after_latest_news_trigger() {
do_action( 'zerif_after_latest_news' );
}
/**
* Top of Latest news section
*
* HTML context: within `.latest-news`
*/
function zerif_top_latest_news_trigger() {
do_action( 'zerif_top_latest_news' );
}
/**
* Bottom of Latest news section
*
* HTML context: within `.latest-news`
*/
function zerif_bottom_latest_news_trigger() {
do_action( 'zerif_bottom_latest_news' );
}
/**
* Latest news section title
*
* HTML context: inside `.latest-news .section-header`
*/
function zerif_latest_news_header_title_trigger() {
do_action( 'zerif_latest_news_header_title' );
}
/**
* Latest news section subtitle
*
* HTML context: inside `.latest-news .section-header`
*/
function zerif_latest_news_header_subtitle_trigger() {
do_action( 'zerif_latest_news_header_subtitle' );
}
/************ Our team section *****************/
/**
* Before Our team section
*
* HTML context: before `.our-team`
*/
function zerif_before_our_team_trigger() {
do_action( 'zerif_before_our_team' );
}
/**
* After Our team section
*
* HTML context: after `.our-team`
*/
function zerif_after_our_team_trigger() {
do_action( 'zerif_after_our_team' );
}
/**
* Top of Our team section
*
* HTML context: within `.our-team`
*/
function zerif_top_our_team_trigger() {
do_action( 'zerif_top_our_team' );
}
/**
* Bottom of Our team section
*
* HTML context: within `.our-team`
*/
function zerif_bottom_our_team_trigger() {
do_action( 'zerif_bottom_our_team' );
}
/**
* Our team section title
*
* HTML context: inside `.our-team .section-header`
*/
function zerif_our_team_header_title_trigger() {
do_action( 'zerif_our_team_header_title' );
}
/**
* Our team section subtitle
*
* HTML context: inside `.our-team .section-header`
*/
function zerif_our_team_header_subtitle_trigger() {
do_action( 'zerif_our_team_header_subtitle' );
}
/************ Testimonials section *****************/
/**
* Before Testimonials section
*
* HTML context: before `.testimonial`
*/
function zerif_before_testimonials_trigger() {
do_action( 'zerif_before_testimonials' );
}
/**
* After Testimonials section
*
* HTML context: after `.testimonial`
*/
function zerif_after_testimonials_trigger() {
do_action( 'zerif_after_testimonials' );
}
/**
* Top of Testimonials section
*
* HTML context: within `.testimonial`
*/
function zerif_top_testimonials_trigger() {
do_action( 'zerif_top_testimonials' );
}
/**
* Bottom of Testimonials section
*
* HTML context: within `.testimonial`
*/
function zerif_bottom_testimonials_trigger() {
do_action( 'zerif_bottom_testimonials' );
}
/**
* Testimonials section title
*
* HTML context: inside `.testimonial .section-header`
*/
function zerif_testimonials_header_title_trigger() {
do_action( 'zerif_testimonials_header_title' );
}
/**
* Testimonials section subtitle
*
* HTML context: inside `.testimonial .section-header`
*/
function zerif_testimonials_header_subtitle_trigger() {
do_action( 'zerif_testimonials_header_subtitle' );
}
/************ Big title section *****************/
/**
* Add content inside div.buttons
*
* HTML context: within `.buttons`
*/
function zerif_big_title_buttons_top_trigger() {
do_action( 'zerif_big_title_buttons_top' );
}
/**
* Add content inside div.buttons
*
* HTML context: within `.buttons`
*/
function zerif_big_title_buttons_bottom_trigger() {
do_action( 'zerif_big_title_buttons_bottom' );
}
/**
* Big title section text
*/
function zerif_big_title_text_trigger() {
do_action( 'zerif_big_title_text' );
}
/************ General *****************/
/**
* Add content after the header tag is closed
*
* HTML context: after `header` is closed
*/
function zerif_after_header_trigger() {
do_action( 'zerif_after_header' );
}
/**
* Add the main navigation menu
*/
function zerif_primary_navigation_trigger() {
do_action( 'zerif_primary_navigation' );
}
/************ Archive *****************/
/**
* Archive page header title
*
* HTML context: inside .archive header.page-header
*/
function zerif_page_header_title_archive_trigger() {
do_action( 'zerif_page_header_title_archive' );
}
/**
* Archive page - optional term description
*
* HTML context: inside .archive header.page-header
*/
function zerif_page_term_description_archive_trigger() {
do_action( 'zerif_page_term_description_archive' );
}
/**
* Before Archive content
*
* HTML context: before `.content-left-wrap`
*/
function zerif_before_archive_content_trigger() {
do_action( 'zerif_before_archive_content' );
}
/**
* After Archive content
*
* HTML context: after `.content-left-wrap`
*/
function zerif_after_archive_content_trigger() {
do_action( 'zerif_after_archive_content' );
}
/**
* Top of Archive content
*
* HTML context: within `.content-left-wrap`
*/
function zerif_top_archive_content_trigger() {
do_action( 'zerif_top_archive_content' );
}
/**
* Bottom of Archive content
*
* HTML context: within `.content-left-wrap`
*/
function zerif_bottom_archive_content_trigger() {
do_action( 'zerif_bottom_archive_content' );
}
/***************** Single post ********************/
/**
* Top of single post
*
* HTML context: within `content-left-wrap` at the beginning
*/
function zerif_top_single_post_trigger() {
do_action( 'zerif_top_single_post' );
}
/**
* Bottom of single post
*
* HTML context: within `content-left-wrap` at the end
*/
function zerif_bottom_single_post_trigger() {
do_action( 'zerif_bottom_single_post' );
}
/**
* Before single post
*
* HTML context: before `content-left-wrap`
*/
function zerif_before_single_post_trigger() {
do_action( 'zerif_before_single_post' );
}
/**
* After single post
*
* HTML context: after `content-left-wrap`
*/
function zerif_after_single_post_trigger() {
do_action( 'zerif_after_single_post' );
}
/**
* Before navbar
*
* HTML context: before `navbar-header`
*/
function zerif_before_navbar_trigger() {
do_action( 'zerif_before_navbar' );
}
/**
* After header container
*
* HTML context: after `container`
*/
function zerif_after_header_container_trigger() {
do_action( 'zerif_after_header_container' );
}
home/xbodynamge/dev/wp-content/themes/zerif-lite/inc/hooks.php 0000644 00000030200 15113617146 0020451 0 ustar 00 <?php
/**
* Zerif Lite Hooks
*
* @package zerif-lite
*/
/**
* 404 page
*/
/**
* Title of 404 pages
*
* HTML context: within `header.entry-header`
*/
function zerif_404_title_trigger() {
do_action( 'zerif_404_title' );
}
/**
* Content of 404 pages
*
* HTML context: within `div.entry-content`
*/
function zerif_404_content_trigger() {
do_action( 'zerif_404_content' );
}
/*************** Sidebar *************************/
/**
* Before sidebar
*
* HTML context: before `div#secondary`
*/
function zerif_before_sidebar_trigger() {
do_action( 'zerif_before_sidebar' );
}
/**
* After sidebar
*
* HTML context: after `div#secondary`
*/
function zerif_after_sidebar_trigger() {
do_action( 'zerif_after_sidebar' );
}
/**
* Top of sidebar
*
* HTML context: within `div#secondary`
*/
function zerif_top_sidebar_trigger() {
do_action( 'zerif_top_sidebar' );
}
/**
* Bottom of sidebar
*
* HTML context: within `div#secondary`
*/
function zerif_bottom_sidebar_trigger() {
do_action( 'zerif_bottom_sidebar' );
}
/**
* Sidebar
*/
function zerif_sidebar_trigger() {
do_action( 'zerif_sidebar' );
}
/******************** Footer *********************/
/**
* Before footer
*
* HTML context: before `footer`
*/
function zerif_before_footer_trigger() {
do_action( 'zerif_before_footer' );
}
/**
* After footer
*
* HTML context: after `footer`
*/
function zerif_after_footer_trigger() {
do_action( 'zerif_after_footer' );
}
/**
* Top of footer
*
* HTML context: within `footer div.container`
*/
function zerif_top_footer_trigger() {
do_action( 'zerif_top_footer' );
}
/**
* Bottom of footer
*
* HTML context: within `footer div.container`
*/
function zerif_bottom_footer_trigger() {
do_action( 'zerif_bottom_footer' );
}
/**
* The 3 footer sidebars in footer
*
* HTML context: inside footer
*/
function zerif_footer_widgets_trigger() {
do_action( 'zerif_footer_widgets' );
}
/***************** Search page ******************/
/**
* Before search
*
* HTML context: within `main` at the beginning
*/
function zerif_before_search_trigger() {
do_action( 'zerif_before_search' );
}
/**
* After search
*
* HTML context: after `main` at the end
*/
function zerif_after_search_trigger() {
do_action( 'zerif_after_search' );
}
/********************* Body ********************/
/**
* Top of body
*
* HTML context: within `body`
*/
function zerif_top_body_trigger() {
do_action( 'zerif_top_body' );
}
/**
* Bottom of body
*
* HTML context: within `body`
*/
function zerif_bottom_body_trigger() {
do_action( 'zerif_bottom_body' );
}
/******************* Head ******************/
/**
* Top of head
*
* HTML context: within `head`
*/
function zerif_top_head_trigger() {
do_action( 'zerif_top_head' );
}
/**
* Bottom of head
*
* HTML context: within `head`
*/
function zerif_bottom_head_trigger() {
do_action( 'zerif_bottom_head' );
}
/***************** Page ********************/
/**
* Top of page content
*
* HTML context: within `content-left-wrap` at the beginning
*/
function zerif_top_page_content_trigger() {
do_action( 'zerif_top_page_content' );
}
/**
* Bottom of page content
*
* HTML context: within `content-left-wrap` at the end
*/
function zerif_bottom_page_content_trigger() {
do_action( 'zerif_bottom_page_content' );
}
/**
* Before page content
*
* HTML context: before `content-left-wrap`
*/
function zerif_before_page_content_trigger() {
do_action( 'zerif_before_page_content' );
}
/**
* After page content
*
* HTML context: after `content-left-wrap`
*/
function zerif_after_page_content_trigger() {
do_action( 'zerif_after_page_content' );
}
/**
* Page header
*
* HTML context: within `.entry-header`
*/
function zerif_page_header_trigger() {
do_action( 'zerif_page_header' );
}
/************ Our Focus section ********************/
/**
* Before Our focus section
*
* HTML context: before `.focus`
*/
function zerif_before_our_focus_trigger() {
do_action( 'zerif_before_our_focus' );
}
/**
* After Our focus section
*
* HTML context: after `.focus`
*/
function zerif_after_our_focus_trigger() {
do_action( 'zerif_after_our_focus' );
}
/**
* Top of Our focus section
*
* HTML context: within `.focus`
*/
function zerif_top_our_focus_trigger() {
do_action( 'zerif_top_our_focus' );
}
/**
* Bottom of Our focus section
*
* HTML context: within `.focus`
*/
function zerif_bottom_our_focus_trigger() {
do_action( 'zerif_bottom_our_focus' );
}
/**
* Our focus section title
*
* HTML context: inside `.focus .section-header`
*/
function zerif_our_focus_header_title_trigger() {
do_action( 'zerif_our_focus_header_title' );
}
/**
* Our focus section subtitle
*
* HTML context: inside `.focus .section-header`
*/
function zerif_our_focus_header_subtitle_trigger() {
do_action( 'zerif_our_focus_header_subtitle' );
}
/************ About us section ********************/
/**
* Before About us section
*
* HTML context: before `.about-us`
*/
function zerif_before_about_us_trigger() {
do_action( 'zerif_before_about_us' );
}
/**
* After About us section
*
* HTML context: after `.about-us`
*/
function zerif_after_about_us_trigger() {
do_action( 'zerif_after_about_us' );
}
/**
* Top of About us section
*
* HTML context: within `.about-us`
*/
function zerif_top_about_us_trigger() {
do_action( 'zerif_top_about_us' );
}
/**
* Bottom of About us section
*
* HTML context: within `.about-us`
*/
function zerif_bottom_about_us_trigger() {
do_action( 'zerif_bottom_about_us' );
}
/**
* About us section title
*
* HTML context: inside `.about-us .section-header`
*/
function zerif_about_us_header_title_trigger() {
do_action( 'zerif_about_us_header_title' );
}
/**
* About us section subtitle
*
* HTML context: inside `.about-us .section-header`
*/
function zerif_about_us_header_subtitle_trigger() {
do_action( 'zerif_about_us_header_subtitle' );
}
/************ Latest news section *****************/
/**
* Before Latest news section
*
* HTML context: before `.latest-news`
*/
function zerif_before_latest_news_trigger() {
do_action( 'zerif_before_latest_news' );
}
/**
* After Latest news section
*
* HTML context: after `.latest-news`
*/
function zerif_after_latest_news_trigger() {
do_action( 'zerif_after_latest_news' );
}
/**
* Top of Latest news section
*
* HTML context: within `.latest-news`
*/
function zerif_top_latest_news_trigger() {
do_action( 'zerif_top_latest_news' );
}
/**
* Bottom of Latest news section
*
* HTML context: within `.latest-news`
*/
function zerif_bottom_latest_news_trigger() {
do_action( 'zerif_bottom_latest_news' );
}
/**
* Latest news section title
*
* HTML context: inside `.latest-news .section-header`
*/
function zerif_latest_news_header_title_trigger() {
do_action( 'zerif_latest_news_header_title' );
}
/**
* Latest news section subtitle
*
* HTML context: inside `.latest-news .section-header`
*/
function zerif_latest_news_header_subtitle_trigger() {
do_action( 'zerif_latest_news_header_subtitle' );
}
/************ Our team section *****************/
/**
* Before Our team section
*
* HTML context: before `.our-team`
*/
function zerif_before_our_team_trigger() {
do_action( 'zerif_before_our_team' );
}
/**
* After Our team section
*
* HTML context: after `.our-team`
*/
function zerif_after_our_team_trigger() {
do_action( 'zerif_after_our_team' );
}
/**
* Top of Our team section
*
* HTML context: within `.our-team`
*/
function zerif_top_our_team_trigger() {
do_action( 'zerif_top_our_team' );
}
/**
* Bottom of Our team section
*
* HTML context: within `.our-team`
*/
function zerif_bottom_our_team_trigger() {
do_action( 'zerif_bottom_our_team' );
}
/**
* Our team section title
*
* HTML context: inside `.our-team .section-header`
*/
function zerif_our_team_header_title_trigger() {
do_action( 'zerif_our_team_header_title' );
}
/**
* Our team section subtitle
*
* HTML context: inside `.our-team .section-header`
*/
function zerif_our_team_header_subtitle_trigger() {
do_action( 'zerif_our_team_header_subtitle' );
}
/************ Testimonials section *****************/
/**
* Before Testimonials section
*
* HTML context: before `.testimonial`
*/
function zerif_before_testimonials_trigger() {
do_action( 'zerif_before_testimonials' );
}
/**
* After Testimonials section
*
* HTML context: after `.testimonial`
*/
function zerif_after_testimonials_trigger() {
do_action( 'zerif_after_testimonials' );
}
/**
* Top of Testimonials section
*
* HTML context: within `.testimonial`
*/
function zerif_top_testimonials_trigger() {
do_action( 'zerif_top_testimonials' );
}
/**
* Bottom of Testimonials section
*
* HTML context: within `.testimonial`
*/
function zerif_bottom_testimonials_trigger() {
do_action( 'zerif_bottom_testimonials' );
}
/**
* Testimonials section title
*
* HTML context: inside `.testimonial .section-header`
*/
function zerif_testimonials_header_title_trigger() {
do_action( 'zerif_testimonials_header_title' );
}
/**
* Testimonials section subtitle
*
* HTML context: inside `.testimonial .section-header`
*/
function zerif_testimonials_header_subtitle_trigger() {
do_action( 'zerif_testimonials_header_subtitle' );
}
/************ Big title section *****************/
/**
* Add content inside div.buttons
*
* HTML context: within `.buttons`
*/
function zerif_big_title_buttons_top_trigger() {
do_action( 'zerif_big_title_buttons_top' );
}
/**
* Add content inside div.buttons
*
* HTML context: within `.buttons`
*/
function zerif_big_title_buttons_bottom_trigger() {
do_action( 'zerif_big_title_buttons_bottom' );
}
/**
* Big title section text
*/
function zerif_big_title_text_trigger() {
do_action( 'zerif_big_title_text' );
}
/************ General *****************/
/**
* Add content after the header tag is closed
*
* HTML context: after `header` is closed
*/
function zerif_after_header_trigger() {
do_action( 'zerif_after_header' );
}
/**
* Add the main navigation menu
*/
function zerif_primary_navigation_trigger() {
do_action( 'zerif_primary_navigation' );
}
/************ Archive *****************/
/**
* Archive page header title
*
* HTML context: inside .archive header.page-header
*/
function zerif_page_header_title_archive_trigger() {
do_action( 'zerif_page_header_title_archive' );
}
/**
* Archive page - optional term description
*
* HTML context: inside .archive header.page-header
*/
function zerif_page_term_description_archive_trigger() {
do_action( 'zerif_page_term_description_archive' );
}
/**
* Before Archive content
*
* HTML context: before `.content-left-wrap`
*/
function zerif_before_archive_content_trigger() {
do_action( 'zerif_before_archive_content' );
}
/**
* After Archive content
*
* HTML context: after `.content-left-wrap`
*/
function zerif_after_archive_content_trigger() {
do_action( 'zerif_after_archive_content' );
}
/**
* Top of Archive content
*
* HTML context: within `.content-left-wrap`
*/
function zerif_top_archive_content_trigger() {
do_action( 'zerif_top_archive_content' );
}
/**
* Bottom of Archive content
*
* HTML context: within `.content-left-wrap`
*/
function zerif_bottom_archive_content_trigger() {
do_action( 'zerif_bottom_archive_content' );
}
/***************** Single post ********************/
/**
* Top of single post
*
* HTML context: within `content-left-wrap` at the beginning
*/
function zerif_top_single_post_trigger() {
do_action( 'zerif_top_single_post' );
}
/**
* Bottom of single post
*
* HTML context: within `content-left-wrap` at the end
*/
function zerif_bottom_single_post_trigger() {
do_action( 'zerif_bottom_single_post' );
}
/**
* Before single post
*
* HTML context: before `content-left-wrap`
*/
function zerif_before_single_post_trigger() {
do_action( 'zerif_before_single_post' );
}
/**
* After single post
*
* HTML context: after `content-left-wrap`
*/
function zerif_after_single_post_trigger() {
do_action( 'zerif_after_single_post' );
}
/**
* Before navbar
*
* HTML context: before `navbar-header`
*/
function zerif_before_navbar_trigger() {
do_action( 'zerif_before_navbar' );
}
/**
* After header container
*
* HTML context: after `container`
*/
function zerif_after_header_container_trigger() {
do_action( 'zerif_after_header_container' );
}
home/xbodynamge/www/wp-content/themes/hestia/inc/hooks/hooks.php 0000644 00000004440 15113727324 0021054 0 ustar 00 <?php
/**
* Main Hooks.
*
* @package Hestia
*/
/* Header ( Navigation ) area */
/**
* Hook just before the header ( navigation ) area
*
* HTML context: before `header nav`
*/
function hestia_before_header_trigger() {
do_action( 'hestia_before_header_hook' );
}
/**
* Hook just before the header ( navigation ) content
*
* HTML context: before `header nav div.container`
*/
function hestia_before_header_content_trigger() {
do_action( 'hestia_before_header_content_hook' );
}
/**
* Hook just after the responsive navbar-toggle.
*
* HTML context: after `header nav button.navbar-toggle`
*/
function hestia_before_navbar_toggle_trigger() {
do_action( 'hestia_before_navbar_toggle_hook' );
}
/**
* Hook just after the header ( navigation ) content
*
* HTML context: after `header nav div.container`
*/
function hestia_after_header_content_trigger() {
do_action( 'hestia_after_header_content_hook' );
}
/**
* Hook just after the header ( navigation ) area
*
* HTML context: after `header nav`
*/
function hestia_after_header_trigger() {
do_action( 'hestia_after_header_hook' );
}
/* Footer area */
/**
* Hook just before the footer area
*
* HTML context: before `footer`
*/
function hestia_before_footer_trigger() {
do_action( 'hestia_before_footer_hook' );
}
/**
* Hook just before the footer content
*
* HTML context: before `footer div.container`
*/
function hestia_before_footer_content_trigger() {
do_action( 'hestia_before_footer_content_hook' );
}
/**
* Hook just before the footer widgets area
*
* HTML context: before `footer div.hestia-bottom-footer-content`
*/
function hestia_before_footer_widgets_trigger() {
do_action( 'hestia_before_footer_widgets_hook' );
}
/**
* Hook just after the footer widgets area
*
* HTML context: after `footer div.hestia-bottom-footer-content`
*/
function hestia_after_footer_widgets_trigger() {
do_action( 'hestia_after_footer_widgets_hook' );
}
/**
* Hook just after the footer content
*
* HTML context: after `footer div.container`
*/
function hestia_after_footer_content_trigger() {
do_action( 'hestia_after_footer_content_hook' );
}
/**
* Hook just after the footer area
*
* HTML context: after `footer`
*/
function hestia_after_footer_trigger() {
do_action( 'hestia_after_footer_hook' );
}
require_once( 'hooks-front-page.php' );
home/xbodynamge/namtation/wp-content/themes/zerif-lite/inc/hooks.php 0000644 00000030200 15115033071 0021654 0 ustar 00 <?php
/**
* Zerif Lite Hooks
*
* @package zerif-lite
*/
/**
* 404 page
*/
/**
* Title of 404 pages
*
* HTML context: within `header.entry-header`
*/
function zerif_404_title_trigger() {
do_action( 'zerif_404_title' );
}
/**
* Content of 404 pages
*
* HTML context: within `div.entry-content`
*/
function zerif_404_content_trigger() {
do_action( 'zerif_404_content' );
}
/*************** Sidebar *************************/
/**
* Before sidebar
*
* HTML context: before `div#secondary`
*/
function zerif_before_sidebar_trigger() {
do_action( 'zerif_before_sidebar' );
}
/**
* After sidebar
*
* HTML context: after `div#secondary`
*/
function zerif_after_sidebar_trigger() {
do_action( 'zerif_after_sidebar' );
}
/**
* Top of sidebar
*
* HTML context: within `div#secondary`
*/
function zerif_top_sidebar_trigger() {
do_action( 'zerif_top_sidebar' );
}
/**
* Bottom of sidebar
*
* HTML context: within `div#secondary`
*/
function zerif_bottom_sidebar_trigger() {
do_action( 'zerif_bottom_sidebar' );
}
/**
* Sidebar
*/
function zerif_sidebar_trigger() {
do_action( 'zerif_sidebar' );
}
/******************** Footer *********************/
/**
* Before footer
*
* HTML context: before `footer`
*/
function zerif_before_footer_trigger() {
do_action( 'zerif_before_footer' );
}
/**
* After footer
*
* HTML context: after `footer`
*/
function zerif_after_footer_trigger() {
do_action( 'zerif_after_footer' );
}
/**
* Top of footer
*
* HTML context: within `footer div.container`
*/
function zerif_top_footer_trigger() {
do_action( 'zerif_top_footer' );
}
/**
* Bottom of footer
*
* HTML context: within `footer div.container`
*/
function zerif_bottom_footer_trigger() {
do_action( 'zerif_bottom_footer' );
}
/**
* The 3 footer sidebars in footer
*
* HTML context: inside footer
*/
function zerif_footer_widgets_trigger() {
do_action( 'zerif_footer_widgets' );
}
/***************** Search page ******************/
/**
* Before search
*
* HTML context: within `main` at the beginning
*/
function zerif_before_search_trigger() {
do_action( 'zerif_before_search' );
}
/**
* After search
*
* HTML context: after `main` at the end
*/
function zerif_after_search_trigger() {
do_action( 'zerif_after_search' );
}
/********************* Body ********************/
/**
* Top of body
*
* HTML context: within `body`
*/
function zerif_top_body_trigger() {
do_action( 'zerif_top_body' );
}
/**
* Bottom of body
*
* HTML context: within `body`
*/
function zerif_bottom_body_trigger() {
do_action( 'zerif_bottom_body' );
}
/******************* Head ******************/
/**
* Top of head
*
* HTML context: within `head`
*/
function zerif_top_head_trigger() {
do_action( 'zerif_top_head' );
}
/**
* Bottom of head
*
* HTML context: within `head`
*/
function zerif_bottom_head_trigger() {
do_action( 'zerif_bottom_head' );
}
/***************** Page ********************/
/**
* Top of page content
*
* HTML context: within `content-left-wrap` at the beginning
*/
function zerif_top_page_content_trigger() {
do_action( 'zerif_top_page_content' );
}
/**
* Bottom of page content
*
* HTML context: within `content-left-wrap` at the end
*/
function zerif_bottom_page_content_trigger() {
do_action( 'zerif_bottom_page_content' );
}
/**
* Before page content
*
* HTML context: before `content-left-wrap`
*/
function zerif_before_page_content_trigger() {
do_action( 'zerif_before_page_content' );
}
/**
* After page content
*
* HTML context: after `content-left-wrap`
*/
function zerif_after_page_content_trigger() {
do_action( 'zerif_after_page_content' );
}
/**
* Page header
*
* HTML context: within `.entry-header`
*/
function zerif_page_header_trigger() {
do_action( 'zerif_page_header' );
}
/************ Our Focus section ********************/
/**
* Before Our focus section
*
* HTML context: before `.focus`
*/
function zerif_before_our_focus_trigger() {
do_action( 'zerif_before_our_focus' );
}
/**
* After Our focus section
*
* HTML context: after `.focus`
*/
function zerif_after_our_focus_trigger() {
do_action( 'zerif_after_our_focus' );
}
/**
* Top of Our focus section
*
* HTML context: within `.focus`
*/
function zerif_top_our_focus_trigger() {
do_action( 'zerif_top_our_focus' );
}
/**
* Bottom of Our focus section
*
* HTML context: within `.focus`
*/
function zerif_bottom_our_focus_trigger() {
do_action( 'zerif_bottom_our_focus' );
}
/**
* Our focus section title
*
* HTML context: inside `.focus .section-header`
*/
function zerif_our_focus_header_title_trigger() {
do_action( 'zerif_our_focus_header_title' );
}
/**
* Our focus section subtitle
*
* HTML context: inside `.focus .section-header`
*/
function zerif_our_focus_header_subtitle_trigger() {
do_action( 'zerif_our_focus_header_subtitle' );
}
/************ About us section ********************/
/**
* Before About us section
*
* HTML context: before `.about-us`
*/
function zerif_before_about_us_trigger() {
do_action( 'zerif_before_about_us' );
}
/**
* After About us section
*
* HTML context: after `.about-us`
*/
function zerif_after_about_us_trigger() {
do_action( 'zerif_after_about_us' );
}
/**
* Top of About us section
*
* HTML context: within `.about-us`
*/
function zerif_top_about_us_trigger() {
do_action( 'zerif_top_about_us' );
}
/**
* Bottom of About us section
*
* HTML context: within `.about-us`
*/
function zerif_bottom_about_us_trigger() {
do_action( 'zerif_bottom_about_us' );
}
/**
* About us section title
*
* HTML context: inside `.about-us .section-header`
*/
function zerif_about_us_header_title_trigger() {
do_action( 'zerif_about_us_header_title' );
}
/**
* About us section subtitle
*
* HTML context: inside `.about-us .section-header`
*/
function zerif_about_us_header_subtitle_trigger() {
do_action( 'zerif_about_us_header_subtitle' );
}
/************ Latest news section *****************/
/**
* Before Latest news section
*
* HTML context: before `.latest-news`
*/
function zerif_before_latest_news_trigger() {
do_action( 'zerif_before_latest_news' );
}
/**
* After Latest news section
*
* HTML context: after `.latest-news`
*/
function zerif_after_latest_news_trigger() {
do_action( 'zerif_after_latest_news' );
}
/**
* Top of Latest news section
*
* HTML context: within `.latest-news`
*/
function zerif_top_latest_news_trigger() {
do_action( 'zerif_top_latest_news' );
}
/**
* Bottom of Latest news section
*
* HTML context: within `.latest-news`
*/
function zerif_bottom_latest_news_trigger() {
do_action( 'zerif_bottom_latest_news' );
}
/**
* Latest news section title
*
* HTML context: inside `.latest-news .section-header`
*/
function zerif_latest_news_header_title_trigger() {
do_action( 'zerif_latest_news_header_title' );
}
/**
* Latest news section subtitle
*
* HTML context: inside `.latest-news .section-header`
*/
function zerif_latest_news_header_subtitle_trigger() {
do_action( 'zerif_latest_news_header_subtitle' );
}
/************ Our team section *****************/
/**
* Before Our team section
*
* HTML context: before `.our-team`
*/
function zerif_before_our_team_trigger() {
do_action( 'zerif_before_our_team' );
}
/**
* After Our team section
*
* HTML context: after `.our-team`
*/
function zerif_after_our_team_trigger() {
do_action( 'zerif_after_our_team' );
}
/**
* Top of Our team section
*
* HTML context: within `.our-team`
*/
function zerif_top_our_team_trigger() {
do_action( 'zerif_top_our_team' );
}
/**
* Bottom of Our team section
*
* HTML context: within `.our-team`
*/
function zerif_bottom_our_team_trigger() {
do_action( 'zerif_bottom_our_team' );
}
/**
* Our team section title
*
* HTML context: inside `.our-team .section-header`
*/
function zerif_our_team_header_title_trigger() {
do_action( 'zerif_our_team_header_title' );
}
/**
* Our team section subtitle
*
* HTML context: inside `.our-team .section-header`
*/
function zerif_our_team_header_subtitle_trigger() {
do_action( 'zerif_our_team_header_subtitle' );
}
/************ Testimonials section *****************/
/**
* Before Testimonials section
*
* HTML context: before `.testimonial`
*/
function zerif_before_testimonials_trigger() {
do_action( 'zerif_before_testimonials' );
}
/**
* After Testimonials section
*
* HTML context: after `.testimonial`
*/
function zerif_after_testimonials_trigger() {
do_action( 'zerif_after_testimonials' );
}
/**
* Top of Testimonials section
*
* HTML context: within `.testimonial`
*/
function zerif_top_testimonials_trigger() {
do_action( 'zerif_top_testimonials' );
}
/**
* Bottom of Testimonials section
*
* HTML context: within `.testimonial`
*/
function zerif_bottom_testimonials_trigger() {
do_action( 'zerif_bottom_testimonials' );
}
/**
* Testimonials section title
*
* HTML context: inside `.testimonial .section-header`
*/
function zerif_testimonials_header_title_trigger() {
do_action( 'zerif_testimonials_header_title' );
}
/**
* Testimonials section subtitle
*
* HTML context: inside `.testimonial .section-header`
*/
function zerif_testimonials_header_subtitle_trigger() {
do_action( 'zerif_testimonials_header_subtitle' );
}
/************ Big title section *****************/
/**
* Add content inside div.buttons
*
* HTML context: within `.buttons`
*/
function zerif_big_title_buttons_top_trigger() {
do_action( 'zerif_big_title_buttons_top' );
}
/**
* Add content inside div.buttons
*
* HTML context: within `.buttons`
*/
function zerif_big_title_buttons_bottom_trigger() {
do_action( 'zerif_big_title_buttons_bottom' );
}
/**
* Big title section text
*/
function zerif_big_title_text_trigger() {
do_action( 'zerif_big_title_text' );
}
/************ General *****************/
/**
* Add content after the header tag is closed
*
* HTML context: after `header` is closed
*/
function zerif_after_header_trigger() {
do_action( 'zerif_after_header' );
}
/**
* Add the main navigation menu
*/
function zerif_primary_navigation_trigger() {
do_action( 'zerif_primary_navigation' );
}
/************ Archive *****************/
/**
* Archive page header title
*
* HTML context: inside .archive header.page-header
*/
function zerif_page_header_title_archive_trigger() {
do_action( 'zerif_page_header_title_archive' );
}
/**
* Archive page - optional term description
*
* HTML context: inside .archive header.page-header
*/
function zerif_page_term_description_archive_trigger() {
do_action( 'zerif_page_term_description_archive' );
}
/**
* Before Archive content
*
* HTML context: before `.content-left-wrap`
*/
function zerif_before_archive_content_trigger() {
do_action( 'zerif_before_archive_content' );
}
/**
* After Archive content
*
* HTML context: after `.content-left-wrap`
*/
function zerif_after_archive_content_trigger() {
do_action( 'zerif_after_archive_content' );
}
/**
* Top of Archive content
*
* HTML context: within `.content-left-wrap`
*/
function zerif_top_archive_content_trigger() {
do_action( 'zerif_top_archive_content' );
}
/**
* Bottom of Archive content
*
* HTML context: within `.content-left-wrap`
*/
function zerif_bottom_archive_content_trigger() {
do_action( 'zerif_bottom_archive_content' );
}
/***************** Single post ********************/
/**
* Top of single post
*
* HTML context: within `content-left-wrap` at the beginning
*/
function zerif_top_single_post_trigger() {
do_action( 'zerif_top_single_post' );
}
/**
* Bottom of single post
*
* HTML context: within `content-left-wrap` at the end
*/
function zerif_bottom_single_post_trigger() {
do_action( 'zerif_bottom_single_post' );
}
/**
* Before single post
*
* HTML context: before `content-left-wrap`
*/
function zerif_before_single_post_trigger() {
do_action( 'zerif_before_single_post' );
}
/**
* After single post
*
* HTML context: after `content-left-wrap`
*/
function zerif_after_single_post_trigger() {
do_action( 'zerif_after_single_post' );
}
/**
* Before navbar
*
* HTML context: before `navbar-header`
*/
function zerif_before_navbar_trigger() {
do_action( 'zerif_before_navbar' );
}
/**
* After header container
*
* HTML context: after `container`
*/
function zerif_after_header_container_trigger() {
do_action( 'zerif_after_header_container' );
}
home/xbodynamge/www/wp-content/themes/hestia/inc/compatibility/woocommerce/hooks.php 0000644 00000011334 15115165263 0025121 0 ustar 00 <?php
/**
* Hooks for WooCommerce which only needs to be used when WooCommerce is active.
*
* @package Hestia
* @since Hestia 1.0.2
*/
/**
* Layout for the main content of shop page
*
* @see hestia_woocommerce_before_main_content()
* @see hestia_woocommerce_after_main_content()
*/
remove_action( 'woocommerce_sidebar', 'woocommerce_get_sidebar', 10 ); /* Remove the sidebar */
add_action( 'woocommerce_before_main_content', 'hestia_woocommerce_before_main_content', 10 );
add_action( 'woocommerce_after_main_content', 'hestia_woocommerce_after_main_content', 9 );
/* Remove Related Products and move it below product.*/
remove_action( 'woocommerce_after_single_product_summary', 'woocommerce_output_related_products', 20 );
add_action( 'woocommerce_after_single_product', 'woocommerce_output_related_products', 20 );
/* Remove title on shop main */
add_filter( 'woocommerce_show_page_title', 'hestia_woocommerce_hide_page_title' );
/**
* Layout for each product content on the shop page
*
* @see hestia_woocommerce_template_loop_product_thumbnail()
* @see hestia_woocommerce_before_shop_loop_item()
* @see hestia_woocommerce_after_shop_loop_item()
* @see hestia_woocommerce_template_loop_product_title()
*/
add_action( 'woocommerce_before_shop_loop_item_title', 'woocommerce_show_product_loop_sale_flash', 20 );
remove_action( 'woocommerce_before_shop_loop_item_title', 'woocommerce_template_loop_product_thumbnail', 10 ); /* Remove the default thumbnail */
add_action( 'woocommerce_before_shop_loop_item_title', 'hestia_woocommerce_template_loop_product_thumbnail', 10 );
remove_action( 'woocommerce_before_shop_loop_item', 'woocommerce_template_loop_product_link_open', 10 ); /* Remove unused link */
add_action( 'woocommerce_before_shop_loop_item', 'hestia_woocommerce_before_shop_loop_item', 10 );
remove_action( 'woocommerce_after_shop_loop_item', 'woocommerce_template_loop_product_link_close', 5 ); /* Remove unused link */
add_action( 'woocommerce_after_shop_loop_item', 'hestia_woocommerce_after_shop_loop_item', 20 );
remove_action( 'woocommerce_after_shop_loop_item', 'woocommerce_template_loop_add_to_cart' ); /* Remove default add to cart on single product */
remove_action( 'woocommerce_shop_loop_item_title', 'woocommerce_template_loop_product_title', 10 ); /* Remove default product title on single product */
remove_action( 'woocommerce_after_shop_loop_item_title', 'woocommerce_template_loop_rating', 5 ); /* Remove default rating on single product */
remove_action( 'woocommerce_after_shop_loop_item_title', 'woocommerce_template_loop_price', 10 ); /* Remove default price on single product */
add_action( 'woocommerce_shop_loop_item_title', 'hestia_woocommerce_template_loop_product_title', 10 );
remove_action( 'woocommerce_before_single_product', 'wc_print_notices', 10 );
add_action( 'woocommerce_before_single_product_summary', 'wc_print_notices', 10 ); /* Move notices position */
/* Move breadcrumbs on the single page */
if ( is_single( 'product' ) ) {
remove_action( 'woocommerce_before_main_content', 'woocommerce_breadcrumb', 20, 0 );
}
add_action( 'woocommerce_before_single_product_summary', 'woocommerce_breadcrumb', 10, 0 );
add_filter( 'woocommerce_add_to_cart_fragments', 'hestia_woocommerce_header_add_to_cart_fragment' ); /* Ensure cart contents update when products are added to the cart via AJAX ) */
/**
* Checkout page
*
* @see hestia_coupon_after_order_table_js()
* @see hestia_coupon_after_order_table()
*/
add_action( 'woocommerce_before_checkout_form', 'hestia_coupon_after_order_table_js' );
add_action( 'woocommerce_checkout_order_review', 'hestia_coupon_after_order_table' );
/**
* Reposition breadcrumb, sorting and results count
*/
add_action( 'woocommerce_before_main_content', 'hestia_woocommerce_remove_shop_elements' );
add_action( 'hestia_woocommerce_custom_reposition_left_shop_elements', 'hestia_woocommerce_reposition_left_shop_elements' );
add_action( 'hestia_woocommerce_custom_reposition_right_shop_elements', 'hestia_woocommerce_reposition_right_shop_elements' );
/**
* Remove category on single product
*/
remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_meta', 40 );
/**
* Ensure cart contents update when products are added to the cart via AJAX
*/
add_filter( 'woocommerce_add_to_cart_fragments', 'hestia_cart_link_fragment' );
/**
* Reposition Cross Sells after Cart Totals
*/
remove_action( 'woocommerce_cart_collaterals', 'woocommerce_cross_sell_display' );
add_action( 'woocommerce_after_cart', 'woocommerce_cross_sell_display' );
/**
* Add before and after cart totals code for card.
*/
add_action( 'woocommerce_before_cart_totals', 'hestia_woocommerce_before_cart_totals', 1 );
add_action( 'woocommerce_after_cart_totals', 'hestia_woocommerce_after_cart_totals', 1 );