<div id="div-single-text">
<h1 class="h1-1"><?php the_title(); ?></h1>
<div class="p-single">
<?php the_content(); ?>
<style type="text/css">
.ps-social-sharing-2011{
-webkit-transition: opacity 0.3s;
-moz-transition: opacity 0.3s;
filter: alpha(opacity=70);
opacity: 0.5;
}
.ps-social-sharing-2011:hover{
filter: alpha(opacity=100);
opacity: 1;
}
</style>
<div class="tagss">
<div style="padding:16px 0 16px 0; text-align:justify; width:100%;">
<a href="" target="_blank" rel="nofollow" title="اشتراک گذاری در Facebook" >
<img class="ps-social-sharing-2011" src="http://www.alamto.com/wp-content/plugins/ps-add-to-social-bookmarking/images/facebook.png" border="0" alt="Facebook" /> </a>
</a>
</div>
</div>
</div>
<div id="info1">
<p id="p-s1"> <span class="p-single-text1" id="note-2">نويسنده:</span><span class="p-single-text2"><?php the_author(); ?></span>
<span class="p-single-text1" id="note-2">تاریخ:</span><span class="p-single-text2"><?php the_time(__('j F, Y','kubrick')) ?></span>
<span class="p-single-text1" id="note-3">بازدید:</span><span class="p-single-text2">0 بازدید</span>
</p>
</div>
</div>
<div class="related">
</div>
<div id="div-single-c4">
<div id="div-single-c4-r">
<div class="h1-5"><a style="font-size:18px;font-family:'B Yekan',BYekan,tahoma;">:: مطالب مرتبط</div>
<ul class="ul-li-single"></a>
<li><a style="font-family:'B Yekan',BYekan,tahoma;"><?php
//for use in the loop, list 5 post titles related to first tag on current post
$tags = wp_get_post_tags($post->ID);
if ($tags) {
echo 'Related Posts';
$first_tag = $tags[0]->term_id;
$args=array(
'tag__in' => array($first_tag),
'post__not_in' => array($post->ID),
'showposts'=>5,
'caller_get_posts'=>1
);
$my_query = new WP_Query($args);
if( $my_query->have_posts() ) {
while ($my_query->have_posts()) : $my_query->the_post(); ?>
<a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a><br/>
<?php
endwhile;
}
}
?></li>
</ul>
</div>
<div id="div-single-c4-l">
<div class="h1-5"><a style="font-size:18px;font-family:'B Yekan',BYekan,tahoma;">:: اخبار سايت</div></a>
<ul class="ul-li-single">
<li><a href="" style="font-family:'B Yekan',BYekan,tahoma;">فان تاك افتتاح شد</a></li>
</ul>
</div>
<br style="clear:both">
</div>