Arama butonu
Bu konudaki kullanıcılar: 1 misafir, 1 mobil kullanıcı
10
Cevap
4261
Tıklama
0
Öne Çıkarma
WordPress öne çıkarılmış görsel yazıdan kaldırma?
G
11 yıl
Yarbay
Konu Sahibi

< Resime gitmek için tıklayın >

Merhaba arkadaşlar resimde gördüğünüz yeri yazdığım yazılarda nasıl kaldırabilirim. Ana sayfada işlevi olduğu için tamamen kaldıramıyorum sadece yazdığım yazılarda o resimlerin gözükmesini sitemiyorum çünkü resimler hep yarım ve kötü gözüküyor bu yüzden yardım ederseniz sevinirim.



G
11 yıl
Yüzbaşı

Single.php kodlarini yolla bi buraya



< Bu ileti mobil sürüm kullanılarak atıldı >
Bu mesaja 1 cevap geldi.
G
11 yıl
Yarbay
Konu Sahibi

quote:

Orijinalden alıntı: 24onur24

Single.php kodlarini yolla bi buraya

Ekledim hocam.


quote:

<?php get_header(); ?>
<div id="main_news_wrapper">
<div id="row">
<!-- Left wrapper Start -->
<div id="left_wrapper">
<div class="header">
<h2>
<?php echo orizon_breadcrumbs(); ?>
</h2>
</div>
<div id="post_wrapper">
<?php while ( have_posts() ) : the_post(); ?>
<!-- Header Start -->
<div id="header">
<div class="info">
<h2><?php echo the_title();?></h2>
<div class="date_n_author"><?php _e('by ', 'orizon'); ?> <?php echo get_the_author(); ?>><?php _e(' in ', 'orizon'); ?><?php $category = get_the_category();
$result_names = '';
foreach($category as $cat){
$result_names .='<a data-test="test" rel="nofollow" style="word-wrap: break-word; text-decoration: underline;" target="_blank" onclick="return dhExternalLinkRedirect(this)" href="/ExternalLinkRedirect?module=pgdcode&messageId=98146902&url='.get_category_link($cat->cat_ID).'" data-href="'.get_category_link($cat->cat_ID).'">'.$cat->cat_name.'</a>,';}
echo rtrim($result_names, ',');?>
- <?php the_time('j F Y') ?>
</div>
</div>
<div class="image">
<div class="comments">
<?php comments_popup_link( '' . '' . '0', _x( '1', 'comments number', 'orizon' ), _x( '%', 'comments number', 'orizon' ) ); ?>
</div>
<?php if ( has_post_thumbnail() or get_post_meta($post->ID, 'inner-post-image')) { ?>
<div class="img_in">
<?php if( get_post_meta($post->ID, 'inner-post-image')){?> <img src="<?php $img = get_post_meta($post->ID, 'inner-post-image'); echo $img[0]; ?>" /> <?php }else{ the_post_thumbnail();} ?>
<?php }else{?>
<div class="img_in">
<img src="<?php echo get_template_directory_uri() ; ?>/images/nophoto.jpg">
<?php } ?>
</div>
</div>
</div>
<!-- Header end -->
<!-- Body Start -->
<div id="body">
<?php
$overall_rating = get_post_meta($post->ID, 'my_meta_box_select', true);
$rating_one = get_post_meta($post->ID, 'creteria_1', true);
$rating_two = get_post_meta($post->ID, 'creteria_2', true);
$rating_three = get_post_meta($post->ID, 'creteria_3', true);
$rating_four = get_post_meta($post->ID, 'creteria_4', true);
$rating_five = get_post_meta($post->ID, 'creteria_5', true);
if($overall_rating=="0" or $rating_one=="0" && $rating_two=="0" && $rating_three=="0" && $rating_four=="0" && $rating_five=="0"){

}else{include('post-rating.php'); } ?>

<p>
<?php the_content(); ?>
<p>
</div>
<!-- Body end -->
<!-- Comments Start -->
<div id="response">
<div class="header">
<?php echo get_comments_number(); _e(' Comments', 'orizon');?>
<span> <?php _e('ON ','orizon'); ?>" <span class="cyan"> <?php if(strlen(get_the_title()) > 50){
echo mb_substr(get_the_title(), 0,50);echo '...';
}else{
echo mb_substr(get_the_title(), 0,50);
} ?></span> "</span></div>
<?php comments_template('',true); ?>
</div>
<!-- Leave a response end -->
<div class="clear"></div>
<?php endwhile; ?>
</div>
</div>
<?php if ( function_exists('dynamic_sidebar') && is_active_sidebar('blog')) : ?>
<div id="right_wrapper">
<?php dynamic_sidebar('blog'); ?>
</div>
<?php endif; ?>
<div class="clear"></div>
</div>
</div>
<?php get_footer(); ?>



G
11 yıl
Yüzbaşı

İlk olarak single.php yedekle sonra

quote:

<div class="image">
<div class="comments">
<?php comments_popup_link( '' . '' . '0', _x( '1', 'comments number', 'orizon' ), _x( '%', 'comments number', 'orizon' ) ); ?>
</div>
<?php if ( has_post_thumbnail() or get_post_meta($post->ID, 'inner-post-image')) { ?>
<div class="img_in">
<?php if( get_post_meta($post->ID, 'inner-post-image')){?> <img src="<?php $img = get_post_meta($post->ID, 'inner-post-image'); echo $img[0]; ?>" /> <?php }else{ the_post_thumbnail();} ?>
<?php }else{?>
<div class="img_in">
<img src="<?php echo get_template_directory_uri() ; ?>/images/nophoto.jpg">
<?php } ?>
</div>


Bu kodu sil olucaktir ama unutma yedek al ne olur ne olmaz olmazsa yaz buraya kolay gelsin



< Bu ileti mobil sürüm kullanılarak atıldı >
Bu mesaja 1 cevap geldi.
G
11 yıl
Yarbay
Konu Sahibi

quote:

Orijinalden alıntı: 24onur24

İlk olarak single.php yedekle sonra

quote:

<div class="image">
<div class="comments">
<?php comments_popup_link( '' . '' . '0', _x( '1', 'comments number', 'orizon' ), _x( '%', 'comments number', 'orizon' ) ); ?>
</div>
<?php if ( has_post_thumbnail() or get_post_meta($post->ID, 'inner-post-image')) { ?>
<div class="img_in">
<?php if( get_post_meta($post->ID, 'inner-post-image')){?> <img src="<?php $img = get_post_meta($post->ID, 'inner-post-image'); echo $img[0]; ?>" /> <?php }else{ the_post_thumbnail();} ?>
<?php }else{?>
<div class="img_in">
<img src="<?php echo get_template_directory_uri() ; ?>/images/nophoto.jpg">
<?php } ?>
</div>


Bu kodu sil olucaktir ama unutma yedek al ne olur ne olmaz olmazsa yaz buraya kolay gelsin

Hocam siteyi paylaşmam yanlış olur diye düşündüğüm için özel mesaj olarak attım.





< Bu mesaj bu kişi tarafından değiştirildi Gye_Baek -- 8 Ekim 2014; 2:26:29 >
Bu mesaja 1 cevap geldi.
A
11 yıl
Onbaşı

mesaj atarsanız yardımcı olabiliriz.


Bu mesaja 1 cevap geldi.
G
11 yıl
Yarbay
Konu Sahibi

quote:

Orijinalden alıntı: aceksem

mesaj atarsanız yardımcı olabiliriz.

Hocam temadan kaynaklıymış değişmiyor maalesef.



< Bu ileti tablet sürüm kullanılarak atıldı >
Bu mesaja 1 cevap geldi.
A
11 yıl
Onbaşı

hocam olur sıkıntı yapma ver linkini kaldırayım sana 2 dkkaya kadar.


Bu mesaja 1 cevap geldi.
M
11 yıl
Yüzbaşı

theme optinons/ tema ayarlarından bak orda değiştirebiliyorsundur muhtemelen


Bu mesaja 1 cevap geldi.
E
5 yıl
Er

Bende baktım aynende oradaymış, theme options kısmından düzelttim.
Theme options / Blog options / Show featured image on the post page - uncheck




Bu mesajda bahsedilenler: @midmid
N
5 yıl
Binbaşı

Merhaba
https://wpaktuel.com/wordpress-one-cikarilmis-gorsel-kaldirmak/
Bu sitede 3 tane yöntem var bende işe yaradı. Sana da faydası dokunabilir



< Bu ileti mobil sürüm kullanılarak atıldı >

DH Mobil uygulaması ile devam edin. Mobil tarayıcınız ile mümkün olanların yanı sıra, birçok yeni ve faydalı özelliğe erişin. Gizle ve güncelleme çıkana kadar tekrar gösterme.