| Server IP : 104.26.4.103 / Your IP : 216.73.216.4 Web Server : nginx/1.27.1 System : Linux in-5 5.15.0-143-generic #153-Ubuntu SMP Fri Jun 13 19:10:45 UTC 2025 x86_64 User : arabianexpress ( 1872) PHP Version : 8.0.30 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,parse_ini_file,show_source MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /storage/v9321/aurointeriors/public_html/wp-content/themes/archub/templates/footer/ |
Upload File : |
<?php
/**
* Default footer template
*
* @package ArcHub
*/
$footer = liquid_get_footer_layout();
$footer_id = $footer['id'];
$footer_link = isset( $footer['link'] ) ? $footer['link'] : false;
unset( $footer['id'], $footer['link'] );
if( !empty( $footer ) || !empty( $footer_link ) ) {
echo '<style>';
if( !empty( $footer ) ) {
printf( '.main-footer {%s}', liquid_helper()->output_css( $footer ) );
}
if( !empty( $footer_link ) ) {
$css = '';
foreach( $footer_link as $k => $v ) {
if( 'regular' === $k ) {
printf( '.main-footer a:not(.btn) { color: %s }', $v );
}
else {
printf( '.main-footer a:not(.btn):%s { color: %s }', $k, $v );
}
}
}
echo '</style>';
}
?>
<footer <?php liquid_helper()->attr( 'footer' ); ?>>
<?php
if( function_exists( 'icl_object_id' ) ) {
$footer_id = icl_object_id( $footer_id, 'page', false, ICL_LANGUAGE_CODE );
}
if ( function_exists( 'pll_get_post' ) ) {
$footer_id = pll_get_post( $footer_id );
}
if ( defined( 'ELEMENTOR_VERSION' ) ) :
echo Elementor\Plugin::instance()->frontend->get_builder_content_for_display( $footer_id );
else:
$footer_content = get_post_field( 'post_content', $footer_id );
echo do_shortcode( $footer_content );
endif;
?>
</footer>