Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!--News-Section-start-->
- <?php // retrieve one post with an ID of 1
- query_posts('p='.get_post_meta($post->ID, 'ecpt_featuredpost', true).''); ?>
- <?php while (have_posts()) : the_post(); ?>
- <!--feature-post-start-->
- <div style="margin-bottom:10px;">
- <a href="<?php the_permalink() ?>" target="_blank"><img class="border" src="<?php bloginfo('template_directory'); ?>/includes/timthumb.php?src=<?echo get_post_meta($post->ID, 'ecpt_largepic', true); ?>&h=325&w=582&a=t&zc=1" width="582" height="325"></a>
- <br>
- <div dir="rtl">
- <h4><?php the_category(', '); ?></h4>
- <h2><?php the_title(); ?></h2>
- <p><?php echo get_post_meta($post->ID, 'ecpt_introtext', true); ?></p>
- </div>
- </div>
- <!--feature-post-end-->
- <?php endwhile;?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement