Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $count = 1;
- if (have_posts()) : while (have_posts()) : the_post();
- if($count == 1) : ?>
- <div id="post_latest">
- <div class="top_head op_cl"><?php _e('ताजा समाचार', 'BharatNews'); ?></div>
- <div class="img_lft"><?php dt_thumb('width=425&height=246'); ?></div>
- <div class="img_right">
- <h3 class="archiveTitle">
- <a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf( esc_attr__( 'Permalink to %s', 'linepress' ), the_title_attribute( 'echo=0' ) ); ?>" ><?php the_title(); ?></a>
- </h3>
- <p class="exc_let"><?php echo limit_words(get_the_excerpt(), '75'); ?></p><span class="read-more">
- <a href="<?php the_permalink() ?>" title="<?php the_title(); ?>" class="btns"><?php _e('आगे पढे...', 'BharatNews'); ?></a></span>
- </div>
- </div>
- <div class="clear"></div>
- <?php else : ?>
- <div class="box">
- <div class="bindr">
- <div class="post_image"><?php dt_thumb('width=130&height=100'); ?></div>
- <div class="post_matter">
- <div class="topr">
- <h2 class="title"><a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2>
- <p class="postmeta">
- <span class="post_meta_time"><?php the_time('M j, Y') ?></span>
- <span> | </span><span class="post_meta_comment"><?php comments_popup_link(__('0 टिप्पणियाँ', 'Behance'), __('1 टिप्पणी
- ', 'Behance'), __('% टिप्पणियाँ', 'Behance')); ?></span>
- <span class="Author_guest sandarbh">
- <?php $customField = get_post_custom_values("sandarbh"); ?>
- <?php if (isset($customField[0])) : ?>
- <img title="Resource"src="<?php bloginfo('template_directory'); ?>/images/sandarbh_link.png" alt="" />
- <?php echo "<span class='gauthers'> Source: </span>".$customField[0];
- <?php endif; ?>
- </span>
- <span class="Author_guest">
- <?php $customField = get_post_custom_values("gauthor"); ?>
- <?php if (isset($customField[0])) :?>
- <img src="http://www.behance.in/wp-content/themes/behance/images/gauther.png" alt="" />
- <?php echo "<span class='gauthers'> Author: </span>".$customField[0]; ?>
- <?php endif; ?>
- </span>
- </p>
- </div>
- </div>
- </div>
- <div class="index_entry fl"> <?php echo limit_words(get_the_excerpt(), '35'); ?>
- <span class="read-more">
- <a href="<?php the_permalink() ?>" title="<?php the_title(); ?>" class="btns"><?php _e('आगे पढे...', 'BharatNews'); ?></a>
- </span>
- </div>
- </div>
- <div class="clear"> </div>
- <?php if ( $count == 3 $count == 9 || $count == 15 ) : ?>
- <?php dt_show_ads('position=Archives&before=<div class="adzone_b">&after=</div>&title=्ञ');?>
- <div class="clear"> </div>
- <?php endif; ?>
- <?php endif; ?>
- <?php $count++; ?>
- <?php endwhile; ?>
- <?php else : ?>
- <div class="post">
- <h2 class="archiveTitle"><?php _e('Sorry, nothing matched your criteria','linepress');?></h2>
- </div>
- <?php endif; ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement