Created
August 5, 2014 15:38
-
-
Save anonymous/dcf5b429611ad4f4da16 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 $theme_options = get_option('gallerific_theme'); ?> | |
<? $cat_id = get_query_var('cat') ?> | |
<?php get_header(); ?> | |
<!-- CONTENT --> | |
<div id="content" class="noAG"> | |
<h2><?php single_cat_title(); ?></h2> | |
<?php $temp_count = 0; if (have_posts()) : ?> | |
<?php while (have_posts()) : the_post(); ?> | |
<? // Blog Style Category ?> | |
<? if ($theme_options['cat_setting_'.$cat_id] == "blog") { ?> | |
<!-- Do Stuff --> | |
<? // Gallery Style Category ?> | |
<? } else { ?> | |
<?php if( get_post_meta($post->ID, "post_image_value", true) ) { | |
$temp_count++; ?> | |
<!-- Do Stuff --> | |
<? } ?> | |
<? } ?> | |
<?php endwhile; ?> | |
<div class="paging"> | |
<div class="alignright"><?php next_posts_link('Next Page »') ?></div> | |
<div class="alignleft"><?php previous_posts_link('« Previous Page ') ?></div> | |
</div> | |
<div class="clear"></div> | |
<?php else : ?> | |
<h2><em><?php _e('Not Found'); ?></em></h2> | |
<p><em><?php _e('Sorry, but you are looking for something that isn’t here.'); ?></em></p> | |
<?php endif; ?> | |
</div><!-- /CONTENT --> | |
<hr /> | |
<?php get_footer(); ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment