HEX
Server: Apache
System: Linux server-634962.emtiyz.com 5.14.0-611.11.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Dec 3 09:47:37 EST 2025 x86_64
User: codo66ho (1003)
PHP: 8.2.29
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/codo66ho/public_html/aamcc.emtiyz.com/wp-content/themes/consultar/footer.php
<?php
/*
 * The template for displaying the footer.
 * Author & Copyright:wpoceans
 * URL: http://themeforest.net/user/wpoceans
 */

$consultar_id    = (isset($post)) ? $post->ID : 0;
$consultar_id    = (is_home()) ? get_option('page_for_posts') : $consultar_id;
$consultar_id    = (is_woocommerce_shop()) ? wc_get_page_id('shop') : $consultar_id;
$consultar_meta  = get_post_meta($consultar_id, 'page_type_metabox', true);
$consultar_ft_bg = cs_get_option('consultar_ft_bg');
$consultar_attachment = wp_get_attachment_image_src($consultar_ft_bg, 'full');
$consultar_attachment = $consultar_attachment ? $consultar_attachment[0] : '';

if ($consultar_attachment) {
	$bg_url = ' style="';
	$bg_url .= ($consultar_attachment) ? 'background-image: url( ' . esc_url($consultar_attachment) . ' );' : '';
	$bg_url .= '"';
} else {
	$bg_url = '';
}

if ($consultar_meta) {
	$consultar_hide_footer  = $consultar_meta['hide_footer'];
} else {
	$consultar_hide_footer = '';
}
if (!$consultar_hide_footer) { // Hide Footer Metabox
	$hide_copyright = cs_get_option('hide_copyright');

?>
	<!-- Footer -->
	<footer class="wpo-site-footer clearfix" <?php echo wp_kses($bg_url, array('img' => array('src' => array(), 'alt' => array()),)); ?>>
		<?php
		$footer_widget_block = cs_get_option('footer_widget_block');
		if ($footer_widget_block) {
			get_template_part('theme-layouts/footer/footer', 'widgets');
		}
		if (!$hide_copyright) {
			get_template_part('theme-layouts/footer/footer', 'copyright');
		}
		?>
	</footer>
	<!-- Footer -->
<?php } // Hide Footer Metabox 
?>
</div><!--consultar-theme-wrapper -->
<?php wp_footer(); ?>
</body>

</html>