Wordpress öne çıkarılmış görsel sorunsalı ?
4
●428
- 26-09-2017, 12:32:51arkadaşlar autorepair teması kullandığım bir sitem var. blog yazılarında öne çıkarılmış görseli blog içerisindeki yazının üzerinde kocaman bir şekilde gösteriyor. blog yazısı üzerinde bi görsel olsun istemiyorum sadece anasayfada öne çıkarılmı görselde blog resmi olarak dursun yazı içerisinde olmasın. 3 gündür bakıyorum beceremedim. yardımcı olabilecek var mı ?
- 26-09-2017, 12:50:28Önce tema panelinizi kontrol edin böyle bir ayar olabilir yoksa FTP ve site bilgilerini pm atın yapayımaresdo adlı üyeden alıntı: mesajı görüntüle
- 26-09-2017, 13:11:31mesajınız için teşekkür ederim. sanırım single.php dosyasından bir kodu kaldırmam gerekiyor fakat hangisi ?
<?php
/**
* Single post template
*
* @package wpv
* @subpackage auto-repair
*/
get_header();
?>
<?php
if ( have_posts() ) :
while ( have_posts() ) : the_post(); ?>
<div class="row page-wrapper">
<?php WpvTemplates::left_sidebar() ?>
<article <?php post_class( 'single-post-wrapper '.WpvTemplates::get_layout() )?>>
<?php
global $wpv_has_header_sidebars;
if ( $wpv_has_header_sidebars ) {
WpvTemplates::header_sidebars();
}
?>
<div class="page-content loop-wrapper clearfix full">
<?php get_template_part( 'templates/post' ); ?>
<div class="clearboth">
<?php comments_template(); ?>
</div>
</div>
</article>
<?php WpvTemplates::right_sidebar() ?>
<?php if ( wpv_get_optionb( 'show-related-posts' ) && is_singular( 'post' ) ) : ?>
<?php
$terms = array();
$cats = get_the_category();
foreach ( $cats as $cat ) {
$terms[] = $cat->term_id;
}
?>
<div class="related-posts">
<div class="clearfix">
<div class="grid-1-1">
<?php echo apply_filters( 'wpv_related_posts_title', '<h2 class="related-content-title">'.wpv_get_option( 'related-posts-title' ).'</h3>' ) // xss ok ?>
<?php
echo WPV_Blog::shortcode( array(
'count' => 8,
'column' => 4,
'cat' => $terms,
'layout' => 'scroll-x',
'show_content' => true,
'post__not_in' => get_the_ID(),
) ); // xss ok
?>
</div>
</div>
</div>
<?php endif ?>
</div>
<?php endwhile;
endif;
get_footer(); - 26-09-2017, 14:35:06Kullanmakta oldugunuz temada içerik kodları single.php dosyasında barınmıyor koddan anlaşıldığı üzere <?php get_template_part( 'templates/post' ); ?> templates/post diziminde yer alan dosyanın kodunu yapıştırın söyleyeyim neyi kaldıracağınızı
- 26-09-2017, 16:35:31teknolojig adlı üyeden alıntı: mesajı görüntüleif ( empty( $post_data['content'] ) && isset( $post_data['media'] ) && ( is_single() ? !WpvTemplates::has_share( 'post' ) : true ) && empty( $page_links ) ) return;teknolojig adlı üyeden alıntı: mesajı görüntüle
şöyle bi kod var üstat.
--R10.NET; Flood Engellendi -->-> Yeni yazılan mesaj 16:35:31 -->-> Daha önceki mesaj 16:28:54 --
<?php if ( isset( $post_data['media'] ) ) : ?>
<div class="post-media">
<div class='media-inner'>
<?php echo $post_data['media']; // xss ok ?>
</div>
</div>
<?php endif; ?>
buldum.