get_header();
//custom header
if (class_exists(‘Kirki’)) {
do_action(‘mancink-custom-header’, ‘mancink_header_start’);
} else { ?>
mancink_breadcrumb();
} ?>
if (is_active_sidebar(‘default-sidebar’)) {
if (get_post_meta(get_the_ID(), ‘post_sidebar’, true) == ” || get_post_meta($post->ID, ‘post_sidebar’, true) == ‘show’) {
echo’col-md-8′;
} else {
echo’col-md-12′;
}
} else {
echo’col-md-12′;
}
} ?>”>
if ( has_post_thumbnail() ) {
the_post_thumbnail();
if (!function_exists(‘mancink_breadcrumb’)) { //if no breadcumb
echo'’;
}
}
} ?>
‘full-size-img’)); ?>
$lists = get_post_meta(get_the_ID(), ‘post_gallery_setting’, 1);
if (!empty($lists)) {
foreach ((array) $lists as $list => $attachment_url) { ?>
href=””>
} ?>
} else if (get_post_meta(get_the_ID(), ‘post_format’, true) == ‘post_slider’) { ?>
echoesc_attr(get_theme_mod(‘mancink_blog_slider_delay’));
} else {
echo’8000′;
} ?> }’>
$sliders = get_post_meta(get_the_ID(), ‘post_slider_setting’, 1);
if (!empty($sliders)) {
foreach ((array) $sliders as $slider => $attachment_url) { ?>
data-animation-duration=”0.7s”
data-background=””>
} ?>
} else if (get_post_meta(get_the_ID(), ‘post_format’, true) == ‘post_video’) {
echo'
//if post audio
} else if (get_post_meta(get_the_ID(), ‘post_format’, true) == ‘post_audio’) { ?>
echowp_kses($mancink_audio, array(
‘iframe’ => array(
‘src’ => array(),
‘width’ => array(),
‘height’ => array(),
‘scrolling’ => array(),
‘frameborder’ => array(),
),
)); ?>
if (is_active_sidebar(‘default-sidebar’)) {
if (get_post_meta(get_the_ID(), ‘post_sidebar’, true) == ” || get_post_meta($post->ID, ‘post_sidebar’, true) == ‘show’) {
get_template_part(‘loop/related’, ‘post’);
} else {
get_template_part(‘loop/related’, ‘post-two’);
}
} else {
get_template_part(‘loop/related’, ‘post-two’);
}
} ?>
// If comments are open or we have at least one comment, load up the comment template.
if (comments_open() || get_comments_number()) :
comments_template();
endif;
} ?>
if ($mancink_prevPost) { ?>
ID, array(300, 300));
$mancink_prev = esc_html__(‘Previous post’, ‘mancink’); ?>
$mancink_prevthumbnail
%title
$mancink_prev
$mancink_nextPost = get_next_post();
if ($mancink_nextPost) { ?>
ID, array(300, 300));
$mancink_next = esc_html__(‘Next post’, ‘mancink’); ?>
%title
$mancink_next
fa-arrow-right’>
“); ?>$mancink_nextthumbnail
ID, ‘post_sidebar’, true) == ‘show’) { ?>
if (is_active_sidebar(‘default-sidebar’)) {
get_sidebar();
}
} ?>
//custom footer
if (class_exists(‘Kirki’)) {
do_action(‘mancink-custom-footer’, ‘mancink_footer_start’);
} else {
//fallback if no kirki installed
get_template_part(‘loop/bottom’, ‘footer’);
}
get_footer(); ?>
- ersinscorpy
- Haziran 29, 2024