?AlkantarClanX12
| Current Path : /home/rankinh/numerik/wp-content/themes/blackdsn/template-parts/next/ |
| Current File : /home/rankinh/numerik/wp-content/themes/blackdsn/template-parts/next/next-project.php |
<?php
$shortcode = blackdsn_doc_elementor();
$next_post = blackdsn_get_next();
$is_dark = has_post_thumbnail( $next_post ) ? 'v-dark-head' : '';
?>
<div class="next-project section-padding p-relative footer-animate svg-animate ">
<?php get_template_part( 'template-parts/footer/footer', 'svg', [ 'shortcode' => $shortcode ] ); ?>
<div data-dsn-ajax="img" class="p-absolute dsn-hero-parallax-img transform-3d bg-container over-hidden "
data-overlay="<?php echo esc_attr( blackdsn_overlay( 4, $next_post->ID ) ) ?>">
<?php blackdsn_the_post_thumbnail( blackdsn_get_option_pages( 'image_size', 'post-thumbnail', $next_post->ID ),
[
'class' => 'cover-bg-img',
], $next_post ); ?>
</div>
<div class="dsn-container dsn-z-index-2 p-relative h-100 <?php echo esc_attr( $is_dark ) ?>">
<div class="p-relative h-100 d-flex flex-column justify-content-center">
<div class="intro-project w-100 h">
<div class="intro-title text-center">
<?php printf( '<div class="metas has-separate p-relative mb-10">%s</div>',
\DesignGrid\BlackdsnOption::PostCategory( '', false, true, false, '<span >', '</span>' ) ); ?>
<div class="hero-title fill-text">
<a href="<?php echo esc_url( get_permalink( $next_post ) ) ?>"
class="d-inline-block effect-ajax"
data-dsn-ajax="next">
<h2 class="title"><?php echo blackdsn_custom_title( $next_post->ID ); ?></h2>
</a>
</div>
</div>
</div>
</div>
</div>
</div>