/**
* The template for displaying the footer.
*
* @package Betheme
* @author Muffin group
* @link https://muffingroup.com
*/
// footer classes
$footer_options = mfn_opts_get('footer-options');
$footer_classes = [];
if( ! empty( $footer_options['full-width'] ) ){
$footer_classes[] = 'full-width';
}
$footer_classes = implode( ' ', $footer_classes );
// back_to_top classes
$back_to_top_class = mfn_opts_get('back-top-top');
if ($back_to_top_class == 'hide') {
$back_to_top_position = false;
} elseif ( $back_to_top_class && strpos($back_to_top_class, 'sticky') !== false ) {
$back_to_top_position = 'body';
} elseif (mfn_opts_get('footer-hide') == 1) {
$back_to_top_position = 'footer';
} else {
$back_to_top_position = 'copyright';
}
?>