Eklentiye Gerek Yok Arkadaşım Öncelikle

Sag Tarafta Göstermek İstiyorsan


Degısıklık Yapmadan Önce Yedege Almayı Unutmayınız

sidebar-right.php

Ac ve <div id="left-menu-bottom"></div>
</div>


Kodundan Hemen Sonra Şu Kodu Ekle...


<div id="left-menu">
<div class="mavi-text" id="left-menu-top">Şuan İzlenenler</div>
<div class="subnav">
<ul>
<script type="text/javascript">
stepcarousel.setup({
galleryid: 'mygallery', //id of carousel DIV
beltclass: 'belt', //class of inner "belt" DIV containing all the panel DIVs
panelclass: 'panel', //class of panel DIVs each holding content
panelbehavior: {speed:500, wraparound:true, persist:true},
defaultbuttons: {enable: true, moveby: 2, leftnav: ['<?php bloginfo('template_url'); ?>/images/sol.png', -42, 0], rightnav: ['<?php bloginfo('template_url'); ?>/images/sag.png', 0, 0]},
statusvars: ['statusA', 'statusB', 'statusC'], //register 3 variables that contain current panel (start), current panel (last), and total panels
contenttype: ['external'] //content setting ['inline'] or ['external', 'path_to_external_file']
})


</script>

<div id="myslides">
<div id="mygallery" class="stepcarousel">
<div class="belt">

<?php
$postslist = get_posts('numberposts=10&orderby=rand');
foreach ($postslist as $post) :
setup_postdata($post);
?>
<div class="panel">
<?php $image = get_post_meta($post->ID, 'resim', true); ?><?php if ( get_post_meta($post->ID, 'resim', true) ) { ?><a href="<?php the_permalink() ?>"><img src="<?php echo get_post_meta($post->ID, "resim", true); ?>" alt="<?php the_title(); ?>" height="150" width="150" /></a><?php } else {?><a href="<?php the_permalink() ?>"><img src="<?php bloginfo('template_url'); ?>/images/no-thumbnail.png" alt="<?php the_title(); ?>" height="150" width="150" /></a><?php } ?>
<div class="ozet"><?php the_title(); ?></div>
</div>
<?php endforeach; ?>

</div>
</div>
</div>
</ul>
</div>

<div id="left-menu-bottom"></div>
</div>