| 1 |
<?php |
| 2 |
/** |
| 3 |
* slider section render callbacks. |
| 4 |
*/ |
| 5 |
|
| 6 |
function spiceb_innofit_slider_section_title_render_callback() { |
| 7 |
return get_theme_mod( 'home_slider_title' ); |
| 8 |
} |
| 9 |
|
| 10 |
function spiceb_innofit_slider_section_discription_render_callback() { |
| 11 |
return get_theme_mod( 'home_slider_discription' ); |
| 12 |
} |
| 13 |
|
| 14 |
function spiceb_innofit_slider_btn_render_callback() { |
| 15 |
return get_theme_mod( 'home_slider_btn_txt' ); |
| 16 |
} |
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
/** |
| 21 |
* about section render callbacks. |
| 22 |
*/ |
| 23 |
|
| 24 |
|
| 25 |
function innofit_home_about_content_render_callback(){ |
| 26 |
return get_theme_mod( 'about_section_content' ); |
| 27 |
} |
| 28 |
|
| 29 |
|
| 30 |
/** |
| 31 |
* service section render callbacks. |
| 32 |
*/ |
| 33 |
|
| 34 |
|
| 35 |
function innofit_home_service_section_title_render_callback() { |
| 36 |
return get_theme_mod( 'home_service_section_title' ); |
| 37 |
} |
| 38 |
|
| 39 |
function innofit_home_service_section_discription_render_callback() { |
| 40 |
return get_theme_mod( 'home_service_section_discription' ); |
| 41 |
} |
| 42 |
|
| 43 |
|
| 44 |
/** |
| 45 |
* shop section render callbacks. |
| 46 |
*/ |
| 47 |
|
| 48 |
|
| 49 |
function home_shop_section_title_render_callback() { |
| 50 |
return get_theme_mod( 'home_shop_section_title' ); |
| 51 |
} |
| 52 |
|
| 53 |
function home_shop_section_discription_render_callback() { |
| 54 |
return get_theme_mod( 'home_shop_section_discription' ); |
| 55 |
} |
| 56 |
|
| 57 |
|
| 58 |
/** |
| 59 |
* testimonial section render callbacks. |
| 60 |
*/ |
| 61 |
|
| 62 |
|
| 63 |
function home_testimonial_section_title_render_callback() { |
| 64 |
return get_theme_mod( 'home_testimonial_section_title' ); |
| 65 |
} |
| 66 |
|
| 67 |
function home_testimonial_section_discription_render_callback() { |
| 68 |
return get_theme_mod( 'home_testimonial_section_discription' ); |
| 69 |
} |
| 70 |
|
| 71 |
|
| 72 |
/** |
| 73 |
* team section render callbacks. |
| 74 |
*/ |
| 75 |
|
| 76 |
|
| 77 |
function home_team_section_title_render_callback() { |
| 78 |
return get_theme_mod( 'home_team_section_title' ); |
| 79 |
} |
| 80 |
|
| 81 |
function home_team_section_discription_render_callback() { |
| 82 |
return get_theme_mod( 'home_team_section_discription' ); |
| 83 |
} |
| 84 |
|
| 85 |
|
| 86 |
/** |
| 87 |
* news section render callbacks. |
| 88 |
*/ |
| 89 |
|
| 90 |
function home_news_section_title_render_callback() { |
| 91 |
return get_theme_mod( 'home_news_section_title' ); |
| 92 |
} |
| 93 |
|
| 94 |
function home_news_section_discription_render_callback() { |
| 95 |
return get_theme_mod( 'home_news_section_discription' ); |
| 96 |
} |
| 97 |
|
| 98 |
/** |
| 99 |
* callout section render callbacks. |
| 100 |
*/ |
| 101 |
|
| 102 |
|
| 103 |
function home_call_out_title_render_callback() { |
| 104 |
return get_theme_mod( 'home_call_out_title' ); |
| 105 |
} |
| 106 |
|
| 107 |
function home_call_out_desc_render_callback() { |
| 108 |
return get_theme_mod( 'home_call_out_desc' ); |
| 109 |
} |
| 110 |
|
| 111 |
function home_call_out_btn_text_render_callback() { |
| 112 |
return get_theme_mod( 'home_call_out_btn_text' ); |
| 113 |
} |
| 114 |
|
| 115 |
|
| 116 |
/** |
| 117 |
* contact form section render callbacks. |
| 118 |
*/ |
| 119 |
|
| 120 |
|
| 121 |
function contact_form_title_one_render_callback() { |
| 122 |
return get_theme_mod( 'contact_form_title_one' ); |
| 123 |
} |
| 124 |
|
| 125 |
function contact_form_title_two_render_callback() { |
| 126 |
return get_theme_mod( 'contact_form_title_two' ); |
| 127 |
} |
| 128 |
|
| 129 |
function contact_info_content_render_callback() { |
| 130 |
return get_theme_mod( 'contact_info_content' ); |
| 131 |
} |
| 132 |
|
| 133 |
|
| 134 |
/** |
| 135 |
* subscribe section render callbacks. |
| 136 |
*/ |
| 137 |
|
| 138 |
|
| 139 |
function subscribe_title_content_render_callback() { |
| 140 |
return get_theme_mod( 'innofit_subscribe_title' ); |
| 141 |
} |
| 142 |
|
| 143 |
function subscribe_subtitle_content_render_callback() { |
| 144 |
return get_theme_mod( 'innofit_subscribe_subtitle' ); |
| 145 |
} |
| 146 |
|
| 147 |
?> |