-
-
Save rtgibbons/756629 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
global $options; | |
foreach ($options as $value) { | |
if (get_settings( $value['id'] ) === FALSE) { | |
$$value['id'] = stripslashes( $value['std'] ); | |
} else { | |
$$value['id'] = stripslashes( get_settings( $value['id'] ) ); | |
} | |
} | |
?> | |
<?php get_header(); ?> | |
<?php | |
$term = get_term_by( 'slug', get_query_var( 'term' ), get_query_var( 'taxonomy' ) ); | |
?> | |
<div id="content" class="content-two-column-left"> | |
<h1><?php echo $name = $term->name; ?></h1> | |
<br /> | |
<?php include(TEMPLATEPATH."/regionfilter.php");?> | |
<?php | |
query_posts($query_string . "&order=ASC&order_by=title"); | |
if (have_posts()) : ?> | |
<?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?> | |
<?php while (have_posts()) : the_post(); ?> | |
<div class="entry people"> | |
<div class="alignleft-img"><?php echo get_the_post_thumbnail($page->ID, array(157,300) ); ?></div> | |
<a href="<?php the_permalink() ?>"><h2><?php the_title(); ?></h2></a> | |
<?php the_content(); ?> | |
<div class="clear right"><a href="<?php the_permalink(); ?>">READ MORE >></a></div> | |
</div> | |
<?php edit_post_link('Edit this entry.', '<p>', '</p>'); ?> | |
<?php endwhile; ?> | |
<div class="navigation"> | |
<div class="alignleft"><?php next_posts_link('« Older Entries') ?></div> | |
<div class="alignright"><?php previous_posts_link('Newer Entries »') ?></div> | |
</div> | |
<?php else : ?> | |
<h3 class="center">Not Found</h3> | |
<p class="center">Sorry, but you are looking for something that isn't here.</p> | |
<?php endif; ?> | |
</div> | |
<?php get_footer(); ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment