123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- <?php get_header();$options = get_option('philna_options'); ?>
- <?php if ($options['notice'] && $options['notice_content'] && !is_bot() ) : ?>
- <div id="notice">
- <?php echo($options['notice_content']); ?>
- </div>
- <?php endif; ?>
- <?php if(have_posts()) : while(have_posts()) : the_post(); ?>
- <div class="post">
- <?php the_title('<h2 class="post-title entry-title"><a href="' . get_permalink() . '" title="' . the_title_attribute('echo=0') . '" rel="bookmark">', '</a></h2>'); ?>
- <div class="info">
- <?php edit_post_link(__('Edit', 'philna'), '<span class="editpost">', '</span>'); ?>
- <span class="comments-link"><?php comments_popup_link(__('No comments', 'philna'), __('1 comment', 'philna'), __('% comments', 'philna')); ?></span>
- <span class="published"><?php the_time(__('F jS, Y', 'philna')) ?></span>
- <span class="post-author"><a href="<?php echo get_author_posts_url(get_the_author_meta('ID'));?>"><?php the_author();?></a></span>
- </div>
- <div class="entry-content">
- <?php the_content(__('Continue reading...','philna'));?>
- </div>
- <div class="entry-meta">
- <span class="cat-links"><?php the_category(', '); ?></span>
- <?php the_tags('<span class="tag-links">', ', ', '</span>');?>
- </div>
- </div>
- <?php endwhile; ?>
- <?php else: ?>
- <p class="no-data"><?php _e('Sorry, no posts matched your criteria.','philna'); ?></p>
- <?php endif; if(has_next_page()):?>
- <div id="pagenavi">
- <?php if(function_exists('wp_pagenavi')) : ?>
- <?php wp_pagenavi() ?>
- <?php else : ?>
- <span class="newer"><?php previous_posts_link(__('Newer Entries', 'philna')); ?></span>
- <span class="older"><?php next_posts_link(__('Older Entries', 'philna')); ?></span>
- <?php endif; ?>
- <div class="fixed"></div>
- </div>
- <?php endif; ?>
- <?php get_footer(); ?>
|