Guest User

Untitled

a guest
Jul 18th, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.58 KB | None | 0 0
  1. <?php
  2. global $options;
  3. foreach ($options as $value) {
  4. if (get_settings( $value['id'] ) === FALSE) {
  5. $$value['id'] = stripslashes( $value['std'] );
  6. } else {
  7. $$value['id'] = stripslashes( get_settings( $value['id'] ) );
  8. }
  9. }
  10. ?>
  11. <?php get_header(); ?>
  12. <?php
  13. $term = get_term_by( 'slug', get_query_var( 'term' ), get_query_var( 'taxonomy' ) );
  14. ?>
  15.  
  16. <div id="content" class="content-two-column-left">
  17. <h1><?php echo $name = $term->name; ?></h1>
  18. <br />
  19. <?php include(TEMPLATEPATH."/regionfilter.php");?>
  20. <?php
  21. $args=array(
  22. 'orderby' => 'title',
  23. 'order' => 'ASC'
  24. );
  25. if (have_posts()) : ?>
  26.  
  27. <?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?>
  28.  
  29.  
  30. <?php while (have_posts()) : the_post(); ?>
  31. <div class="entry people">
  32. <div class="alignleft-img"><?php echo get_the_post_thumbnail($page->ID, array(157,300) ); ?></div>
  33. <a href="<?php the_permalink() ?>"><h2><?php the_title(); ?></h2></a>
  34. <?php the_content(); ?>
  35. <div class="clear right"><a href="<?php the_permalink(); ?>">READ MORE >></a></div>
  36.  
  37. </div>
  38. <?php edit_post_link('Edit this entry.', '<p>', '</p>'); ?>
  39. <?php endwhile; ?>
  40. <div class="navigation">
  41. <div class="alignleft"><?php next_posts_link('« Older Entries') ?></div>
  42. <div class="alignright"><?php previous_posts_link('Newer Entries »') ?></div>
  43. </div>
  44. <?php else : ?>
  45.  
  46. <h3 class="center">Not Found</h3>
  47. <p class="center">Sorry, but you are looking for something that isn't here.</p>
  48.  
  49. <?php endif; ?>
  50.  
  51. </div>
  52.  
  53.  
  54.  
  55. <?php get_footer(); ?>
Add Comment
Please, Sign In to add comment