şu an dediğini uyguladım ama ginede gelmedi malsef :(
Hocam çok yaklaştık bu sefer konunun en üstüne geldi :D
Ek Olarak:
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/tr_TR/sdk.js#xfbml=1&version=v2.0";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<script></script>
style="display:inline-block;width:468px;height:15px"
data-ad-client="ca-pub-8392926454061307"
data-ad-slot="9274292871">
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
if( $thumbnail = get_post_meta($post->ID, 'thumbnail', true) ){
echo '
';
}
elseif( has_post_thumbnail() ){
the_post_thumbnail('resim');
}
else {
echo '
';
}
?>
echo '
}
elseif( has_post_thumbnail() ){
the_post_thumbnail('resim');
}
else {
echo '
; echo '/images/resim-yok.png)
}
?>
if (get_option('tez_reklam_icerik')=='') {
echo '
; echo '/images/reklam-250.png)
}
elseif (get_option('tez_reklam_icerik')=='kapalı') {
echo '';
}
else {
echo ''.$icreklam.'';
}
?>
$kategori = get_the_category();
$cat_id = $kategori[0]->cat_ID;
get_cat_name( $cat_id );
?>
PopülerYazılar
have_posts()) : $seo_tez->the_post();?>
if( $thumbnail = get_post_meta($post->ID, 'thumbnail', true) ){
echo '
}
elseif( has_post_thumbnail() ){
the_post_thumbnail('resim');
}
else {
echo '';
}
?>
foreach( $cats as $cat ) { ?>
Daha Fazla
} ?>
Benzer Yazılar
$categories = get_the_category($post->ID);
if ($categories) {
$category_ids = array();
foreach($categories as $individual_category) $category_ids[] = $individual_category->term_id;
$args=array(
'category__in' => $category_ids,
'post__not_in' => array($post->ID),
'showposts'=>$benzer_sayi, // Gösterilecek benzer yazı sayısı
'caller_get_posts'=>1
);
$my_query = new wp_query($args);
if( $my_query->have_posts() ) {
while ($my_query->have_posts()) {
$my_query->the_post();
?>
if( $thumbnail = get_post_meta($post->ID, 'thumbnail', true) ){
echo '
';
}
elseif( has_post_thumbnail() ){
the_post_thumbnail('resim');
}
else {
echo '
';
}
?>
echo '
}
elseif( has_post_thumbnail() ){
the_post_thumbnail('resim');
}
else {
echo '
; echo '/images/resim-yok.png)
}
?>
}
echo '';
}
wp_reset_query();
}
?>
foreach( $cats as $cat ) { ?>
DAHA FAZLA
} ?>