if (!defined('ABSPATH')) { exit; } $config = presscore_get_config(); $footer_sidebar = $config->get('footer_widgetarea_id'); if (!$footer_sidebar) { $footer_sidebar = apply_filters('presscore_default_footer_sidebar', 'sidebar_2'); } $show_sidebar = $config->get('footer_show') && is_active_sidebar($footer_sidebar); $show_bottom_bar = apply_filters('presscore_show_bottom_bar', true); if ($show_sidebar || $show_bottom_bar) { ?> <!-- !Footer --> <footer id="footer" <?php echo presscore_footer_html_class(); ?> > <?php if ($show_sidebar) { // footer layout $sidebar_layout = presscore_get_sidebar_layout_parser($config->get('template.footer.layout')); $sidebar_layout->add_sidebar_columns(); ?> <div class="wf-wrap"> <div class="wf-container-footer"> <div class="wf-container"> <?php
// File Security Check if (!defined('ABSPATH')) { exit; } $footer_sidebar = presscore_config()->get('footer_widgetarea_id'); if (!$footer_sidebar) { $footer_sidebar = apply_filters('presscore_default_footer_sidebar', 'sidebar_2'); } $show_sidebar = presscore_config()->get('footer_show') && is_active_sidebar($footer_sidebar); $show_bottom_bar = apply_filters('presscore_show_bottom_bar', true); if ($show_sidebar || $show_bottom_bar) { ?> <!-- !Footer --> <footer id="footer" <?php echo presscore_footer_html_class('footer'); ?> > <?php if ($show_sidebar) { // footer layout $sidebar_layout = presscore_get_sidebar_layout_parser(presscore_config()->get('template.footer.layout')); $sidebar_layout->add_sidebar_columns(); ?> <div class="wf-wrap"> <div class="wf-container-footer"> <div class="wf-container"> <?php