equal
deleted
inserted
replaced
|
1 <?php |
|
2 global $options; |
|
3 foreach ($options as $value) { |
|
4 if (get_settings( $value['id'] ) === FALSE) { $$value['id'] = $value['std']; } else { $$value['id'] = get_settings( $value['id'] ); } } |
|
5 ?> |
|
6 |
|
7 <div id="featured-container"> |
|
8 <div class="prev"></div> |
|
9 <div id="featured"> |
|
10 <ul> |
|
11 <?php $slidecat = get_option('pov_slide_category'); |
|
12 $slidecount = get_option('pov_slide_count'); |
|
13 |
|
14 $my_query = new WP_Query('category_name= '. $slidecat .'&showposts='.$slidecount.''); |
|
15 while ($my_query->have_posts()) : $my_query->the_post();$do_not_duplicate = $post->ID; ?> |
|
16 <li> |
|
17 <span class="titles-featured"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></span> |
|
18 <div class="post-info">Posted by <?php the_author() ?> in <?php the_category(', ') ?> on <?php the_time('m jS, Y') ?> | <?php comments_popup_link('No Comments', '1 Comment', '% Comments'); ?></div> |
|
19 <div style="clear: both;"></div> |
|
20 <?php the_content_limit(415, ""); ?> |
|
21 </li> |
|
22 <?php endwhile; ?> |
|
23 </ul> |
|
24 </div> |
|
25 <div class="next"></div> |
|
26 </div> |