netbozum
wmaraci reklam

fastry fastry Üyeliği Durdurulmuş Banlı Kullanıcı
  • Üyelik 21.07.2014
  • Yaş/Cinsiyet 29 / E
  • Meslek Öğrenciyim
  • Konum İstanbul Anadolu
  • Ad Soyad A** O**
  • Mesajlar 49
  • Beğeniler 2 / 3
  • Ticaret 0, (%0)
merhaba arkadaşlar wordpress sitemde öne çıkan görselleri yazı sayfasının içinden kaldırmak istiyorum bunu halledebilicek bi arkadaş var mı single.php dosyam aşağıda..

/**
* The template for displaying any single post.
*
*/

// Count view
wpb_set_post_views(get_the_ID());

$layout = of_get_option('side_bar');
$layout = (empty($layout)) ? 'right_side' : $layout;
$post_layout = get_post_meta( $post->ID, 'bluth_post_layout', true );
$right_sidebar = ( !get_post_meta( $post->ID, 'bluth_post_right_sidebar', true ) ) ? 'sidebar-right' : get_post_meta( $post->ID, 'bluth_post_right_sidebar', true );
$left_sidebar = ( !get_post_meta( $post->ID, 'bluth_post_left_sidebar', true ) ) ? 'sidebar-left' : get_post_meta( $post->ID, 'bluth_post_left_sidebar', true );

// set content width
if($post_layout == 'single_column'){
$content_class = 'span10 offset1';
}
else if($post_layout == 'both_side'){
$content_class = 'span6';
}
else if($post_layout == 'right_side' || $post_layout == 'left_side'){
$content_class = 'span8';
}
else{
if($layout == 'single'){
$content_class = 'span10 offset1';
}
else{
$content_class = 'span8';
}
}
if(empty($post_layout)){ $post_layout = $layout; }

get_header();

// Advert above content
$ad_content_placement = of_get_option('ad_content_placement', array('home' => true,'pages' => true,'posts' => true));
$ad_content_mode = of_get_option('ad_content_mode', 'none');
$ad_content_box = of_get_option('ad_content_box', true);
$ad_content_padding = of_get_option('ad_content_padding', true);

if($ad_content_mode != 'none' and $ad_content_placement['posts'] == true){
echo '
';
if($ad_content_mode == 'image'){
echo '';
}elseif($ad_content_mode == 'html'){
echo apply_filters('shortcode_filter',do_shortcode(of_get_option('ad_content_code')));
}
echo '
';
}
?>







// Do we have any posts in the databse that match our query?
?>



get_template_part( 'inc/post-format/single', get_post_format() );
$enable_rtl = of_get_option('enable_rtl', false);

if(!of_get_option('disable_pagination')){
if($enable_rtl){
$next_post = get_adjacent_post( false, '', true );
$prev_post = get_adjacent_post( false, '', false );
}else{
$next_post = get_adjacent_post( false, '', false );
$prev_post = get_adjacent_post( false, '', true );
}
?>
}
if(of_get_option('author_box')){
if( of_get_option('author_box_image') ){ $author_image = 'background-image:url(' . of_get_option("author_box_image") . '); background-size:cover;'; }else{ $author_image = 'background-image:none;'; } ?>



if(!of_get_option('author_box_avatar')){
echo '';
}else{
echo '';
}

?>






}
// show related posts by tag
if(!of_get_option('disable_related_posts')){
get_template_part( 'inc/related-posts' );
}
endwhile; // OK, let's stop the post loop once we've displayed it

// If comments are open or we have at least one comment, load up the default comment template provided by Wordpress
if ( comments_open() )
comments_template( '', true );

}else{ // Well, if there are no posts to display and loop through, let's apologize to the reader (also your 404 error) ?>




















 

 

Site Ayarları
  • Tema Seçeneği
  • Site Sesleri
  • Bildirimler
  • Özel Mesaj Al