Hello everyone ,
İ m use wordpress one news theme and my Rss Code this.
Code:
<div class="solbaslikorta">
<?php $recent = new WP_Query("showposts=8&cat=1"); while($recent->have_posts()) :
$recent->the_post();?>
<div class="haber"> <?php if( get_post_meta($post->ID, "resim", true) ): ?>
<a href="<?php the_permalink() ?>" rel="bookmark"><img src="<?php echo get_post_meta($post->ID, "resim", true); ?>" alt="<?php the_title(); ?>" /></a>
<?php else: ?>
<a href="<?php the_permalink() ?>" rel="bookmark">
<img src="<?php bloginfo('template_url'); ?>/images/kirita.png" alt="<?php the_title(); ?>" /></a>
<?php endif; ?> <h2><a href="<?php the_permalink() ?>" rel="bookmark"> <?php if (strlen($post->post_title) > 25) {
echo mb_substr(the_title($before = '', $after = '', FALSE), 0, 50) . '...'; } else {
the_title();
} ?> </a></h2>
<div class="entry"><?php the_content_limit(140, ""); ?><a href="<?php the_permalink() ?>">Devamı</a> </div> </div> <?php endwhile; ?>
</div> <div class="solbaslikalt"></div>
But i needed in my post first image make a thumbnail. İ know i need too add functions.php some code but , i dont know this code. Please Help me mates. Thanks