<?php get_header(); ?>
<div id="postcolumn">
<!-- left zone -->
<div class="leftsidebar">
<?php global $excluded; $showpost = new WP_query(); $showpost->query(array('category__not_in'=>$excluded,'post__not_in'=>array($post->ID),'showposts'=>7)); $i; ?>
<?php if ($showpost->have_posts()) : ?>
<div class="latest_news">
<span class="heading"><a href="/archives"><?php _e('Son Haberler','redc'); ?>!</a></span>
<ul>
<?php while ($showpost->have_posts()) : $showpost->the_post(); ?>
<li class="<?=($i%2)?"white-alt":"white";$i++;?>"><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></li>
<?php endwhile; ?>
</ul>
<span class="viewarchive"><a href="<?php bloginfo('url'); ?>/archives/"><?php _e('Diğer Son Haberler','redc'); ?></a></span>
</div>
<?php endif; ?>
<?php if ($redcarpet['adblock7'] != '') : ?>
<div class="left_ads"><?php _e('Duyuru / İlan Panosu','redc'); ?><?php echo stripslashes($redcarpet['adblock7']); ?></div>
<?php endif; ?>
<ul class="sidebar_r">
<?php popular_posts('prefix=<li><h2>'.__('TOP <span class="s">5</span> Herkez Bunları Konuşuyor','redc').'</h2><ul class="mostreads">&suffix=</ul></li>&limit=5&output_template=<li><div class="pic"><a href="{url}" title="{title}">{php:ThumbById({postid});}</a></div><div><h6><a href="{url}" title="{title}">{title}</a></h6></div><div class="clear"></div></li>&no_text=true'); ?>
<?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar(1) ) : else : ?>
<?php endif; ?>
</ul>
</div>
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<!-- post zone -->
<div class="postzone">
<div class="posti" id="post-<?php the_ID(); ?>">
<div class="fixnav">
<div class="pnav">
<div class="pnav_left"><?php previous_post_link('%link', __('ÖNCEKİ KONU','redc'), TRUE); ?></div>
<div class="pnav_right"><?php next_post_link('%link', __('SONRAKİ KONU','redc'), TRUE); ?></div>
<div class="clear"></div>
</div>
</div>
<div class="area">
<h1><?php the_title(); ?><br>
</span><span class="edit"><?php edit_post_link(__('Düzenle','redc')); ?></span>
<script type='text/javascript'>
<!--
ad_client = '14040c6c-4148-42ff-b42d-9839c9ec5da1';
ad_format = '10';
ad_width = '140';
ad_height = '25';
//-->
</script><script type='text/javascript' src='http://bumerang.hurriyet.com.tr/show_ads.js'></script>
</h1>
<div class="date"><?php printf(__('Eklenme zamanı %1$s saat %2$s','redc'), get_the_time('d M Y'), get_the_time('g:ia')); ?> Yazar: <a href="/author/<?php the_author(); ?>/" title="<?php the_author(); ?> adlı yazarın yazdığı yazıları göster"><?php the_author(); ?></a> </div>
<div class="entry">
<?php the_content(); ?><div class="clear"></div>
<?php wp_link_pages(array('before' => '<p><strong>'.__('Sayfa','redc').':</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
<?php if (function_exists(related_posts_by_category)) : ?>
<strong><?php _e('Bunlarda İlginizi Çekebilir Okuyun','redc'); ?></strong>
<ul><?php related_posts_by_category(array('orderby' => 'post_date','order' => 'DESC','limit' => 5,'echo' => true,'before' => '<li>','inside' => '','outside' => '','after' => '</li>','rel' => 'nofollow','type' => 'post','message' => '')); ?></ul>
<?php endif; ?>
</div>
<div class="sharingb"><div class="sharing"><span class="post-to"><?php _e('PAYLAŞ','redc'); ?>:</span><?php social_bookmarks(); ?><?php if(function_exists('wp_email')) { email_link(); } ?><div class="clear"></div></div><div class="clear"></div></div>
</div>
<div class="fixnav2">
<div class="pnav">
<div class="pnav_left"><?php previous_post_link('%link', __('ÖNCEKİ','redc').'<span>%title</span>', TRUE); ?></div>
<div class="pnav_right"><?php next_post_link('%link', __('SONRAKİ','redc').'<span>%title</span>', TRUE); ?></div>
<div class="clear"></div>
</div>
</div>
<?php if ($redcarpet['adblock9'] != '') : ?>
<div class="articleads"><?php _e('Duyuru / İlan Panosu','redc'); ?><?php echo stripslashes($redcarpet['adblock9']); ?></div>
<?php endif; ?>
<div id="fb-root"></div>
<script>
window.fbAsyncInit = function() {
FB.init({appId: 'c9dc8ee82725185afcb44d9366685a0c', status: true, cookie: true,
xfbml: true});
};
(function() {
var e = document.createElement('script');
e.type = 'text/javascript';
e.src = document.location.protocol +
'//connect.facebook.net/tr_TR/all.js';
e.async = true;
document.getElementById('fb-root').appendChild(e);
}());
</script>
<fb:comments width="468"></fb:comments>
<!--
<?php trackback_rdf(); ?>
-->
</div>
</div>
<?php endwhile; ?>
<?php else : ?>
<?php endif; ?>
<!-- right zone -->
<div class="rightsidebar">
<div class="subscribe">
<p><?php printf(__('Eklenen her yeni magazinden haberdar olmak istiyorsanız <strong>%s</strong> sitesindeki yenilikler mail adresime gelsin diyorsanız, mail adresinizi girin ve <b>Kaydol</b>! butonuna tıklayın','redc'), get_bloginfo('name')); ?></p>
<form action="http://feedburner.google.com/fb/a/mailverify?uri=<?php echo $redcarpet['feedburner']?>" method="post" class="fe">
<fieldset>
<input type="text" name="email" value="<?php _e('Email adresiniz...','redc'); ?>" class="email clearfield" />
<input type="hidden" value="<?php echo $redcarpet['feedburner']?>" name="uri" />
<input type="hidden" name="loc" value="en_US" />
<input type="submit" value="<?php _e('Kaydol','redc'); ?>" class="bu" />
</fieldset>
</form>
</div>
<?php if ($redcarpet['adblock8'] != '') : ?>
<div class="right_ads"><?php _e('Duyuru / İlan Panosu','redc'); ?><?php echo stripslashes($redcarpet['adblock8']); ?></div>
<?php endif; ?>
<ul class="sidebar_r">
<?php $showpost = new WP_query(); $showpost->query('showposts=5&orderby=rand'); ?>
<?php if ($showpost->have_posts()) : ?>
<li><h2><?php _e('Diğer Yazılar','redc'); ?></h2>
<ul class="article_random">
<?php while ($showpost->have_posts()) : $showpost->the_post(); ?>
<li>
<div class="thumb"><?php show_thumb($redcarpet['big_thumb_w'],$redcarpet['big_thumb_h'],$redcarpet['crop'],$redcarpet['cropfrom'],$redcarpet['quality']); ?></div>
<div class="heading"><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></div>
<div class="clear"></div>
</li>
<?php endwhile; ?>
</ul>
</li>
<?php endif; ?>
<li><h2><?php _e('Haber Arşivi','redc'); ?></h2>
<ul class="calendar-widget"><li><?php get_calendar(false); ?></li></ul>
</li>
<?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar(2) ) : else : ?>
<?php endif; ?>
</ul>
</div>
<div class="clear"></div>
</div>
<?php get_footer(); ?> Yan menüyü istediğim yere taşımak
3
●459
- 22-12-2010, 22:41:26Üyeliği durduruldumerhaba arkadaşlar, http://www.heheyt.com/kurdelayi-kest...i-actilar.html adresindeki sağ sidebarda olan "Heheyt Magazin Sosyal Medyada" olan widget ile eklenmiş bir eklenti onu yukarı almak istiyorum ama beceremedim alınca karışıyor. kodlar aşağıdaki gibi ben bunu sadece tekil yazıda kullanmak istiyorum. artı bu sidebar ana sayfada çıkmıyor onuda nasıl çıkarabilirm?