?AlkantarClanX12

Your IP : 216.73.217.134


Current Path : /home/rankinh/numerik/wp-content/themes/blackdsn/template-parts/footer/
Upload File :
Current File : /home/rankinh/numerik/wp-content/themes/blackdsn/template-parts/footer/footer-custom.php

<?php

/**
 * @var $shortcode \DesignGrid\DsnDocElementor
 */



$shortcode = blackdsn_get_option_array( $args, 'shortcode' );
if ( ! $shortcode )
	return;

$widget = $shortcode->getWidgetBase();
$widget->add_render_attribute( 'footer', 'class', 'footer-custom p-relative' );

$choose_template_footer = $shortcode->getVal( "choose_template_footer" );

if ( ! $choose_template_footer ) {
	return;
}


//$document = Plugin::$instance->frontend;


//dd( Post_CSS::create(1920));

?>


<footer <?php $widget->print_render_attribute_string( 'footer' ); ?> >
    <?php get_template_part( 'template-parts/footer/footer', 'svg', [ 'shortcode' => $shortcode ] ); ?>
    <div <?php $widget->print_render_attribute_string( 'footer-content' ); ?>>
		<?php

		// The Query
		$the_query = new WP_Query( array(
			'post_type' => 'elementor_library',
			'post__in'  => array( $choose_template_footer )
		) );

		// The Loop
		if ( $the_query->have_posts() ) {

			while ( $the_query->have_posts() ) {
				$the_query->the_post();
				the_content();
			}

		}
		/* Restore original Post Data */
		wp_reset_postdata();
		?>
    </div>
</footer>