id="post-">
$categories = get_the_category();
$tags = get_the_tags();
$post_id = get_the_ID();
?>
}
}
?>
'' . __( 'Pages:', 'tl_back' ) . '', 'after' => '' ) ); ?>
$GLOBALS['sbg_sidebar'] = get_post_meta($post_id, 'sbg_selected_sidebar_replacement', true);
?>
$total_review = absint(themeloy_get_total_review($post_id));
?>
if($enable_review[0] == 1 && $total_review > 0) { ?>
% (
$next_post = get_next_post();
if (!empty($next_post)){
?>
post_title; ?>
$prev_post = get_previous_post();
if (!empty($prev_post)){
?>
post_title; ?>
$pinterest = of_get_option('share_pin','1');
$linkedin = of_get_option('share_linkedin','1');
?>
Bu Yazıyı Kim Yazdı?
$themeloy_tags = null;
if (!empty($tags)) {
foreach ($tags as $tag) {
$themeloy_tags[] = $tag->term_id;
}
};
$arg_tag = array('tag__in' => $themeloy_tags, 'showposts' => of_get_option('blog_related_num'), 'post__not_in' => array($post_id));
$post_query = null;
$post_query = new WP_Query($arg_tag);
echo "\n";
while ($post_query->have_posts()) {
$post_query->the_post();
?>
foreach((get_the_category()) as $category) {
$cikti = $category->slug;
}
?>
$thumb = get_post_thumbnail_id(get_the_ID());
if (!$thumb) {
$url[0] = get_template_directory_uri() . '/img/demo/dum-7.jpg';
}else{
$url = wp_get_attachment_image_src( $thumb , '180x115');
}
echo '';
?>
}
wp_reset_query();
echo "
\n";
?>
$themeloy_categories = null;
foreach ($categories as $category) {
$themeloy_categories[] = $category->term_id;
}
if(isset($themeloy_tags)) {
$arg_cat =
array(
'category__in' => $themeloy_categories,
'showposts' => of_get_option('blog_cat_num'),
'post__not_in' => array($post_id),
'tag__not_in' => $themeloy_tags
);
}else {
$arg_cat =
array(
'category__in' => $themeloy_categories,
'showposts' => of_get_option('blog_cat_num'),
'post__not_in' => array($post_id)
);
}
$post_cat = null;
$post_cat = new WP_Query($arg_cat);
echo "\n";
while ($post_cat->have_posts()) {
$post_cat->the_post();
?>
foreach((get_the_category()) as $category) {
$cikti = $category->slug;
}
?>
$thumb = get_post_thumbnail_id(get_the_ID());
if (!$thumb) {
$url[0] = get_template_directory_uri() . '/img/demo/dum-7.jpg';
}else{
$url = wp_get_attachment_image_src( $thumb , '180x115');
}
echo '';
?>
}
wp_reset_query();
echo "
\n";
?>
<script>
function resim()
{
var resim = document.getElementById('resimAlan');
var width = resim.clientWidth;
if(width<729) document.getElementById('resimAlan').style.display = "none";
}
resim();
</script>