0byt3m1n1
Path:
/
home1
/
aserty
/
public_html
/
bonniescraftygifts.com
/
iFzj4
/
configCHM
/
Jump
/
0-aserty
/
appartsoft.info
/
wp-content
/
themes
/
knightzon
/
[
Home
]
File: blog.php
<?php // Template Name: Blog get_header(); global $data; //fetch options stored in $data ?> <?php include('slider.php'); ?> <div id="main" role="main"> <?php if($data['newsticker'] == 'show'): ?> <?php include('newsticker.php'); ?> <?php endif; ?> <div class="container"> <?php get_sidebar(); ?> <div id="content" class="twelve columns"> <div class="row"> <h2 class="subtitle"><?php the_title(); ?></h2> <?php $temp = $wp_query; $wp_query = null; $wp_query = new WP_Query(); $wp_query->query('showposts='.$data['blog_number'].'&post_type=pixr_blog'.'&paged='.$paged); while ($wp_query->have_posts()) : $wp_query->the_post(); ?> <article class="featprod blog-wrap"> <?php if(has_post_thumbnail()): ?> <figure class="img-result"> <a href="<?php the_permalink(); ?>"> <?php the_post_thumbnail('blog-thumb'); ?> </figure> <?php endif; ?> <div class="blog-item"> <h2 class="blog-title"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2> <div class="meta"> <span class="date"><?php the_time('F j, Y'); ?></span><span class="ethic"><?php _e('By', 'pixrthemes'); ?> <?php the_author_posts_link(); ?></span><span class="komeng"><?php comments_popup_link(__('0 Comment', 'pixrthemes'), __('1 Comment', 'pixrthemes'), __('% Comments', 'pixrthemes')); ?></span> </div><!-- meta --> <p> <?php the_excerpt(); ?> <a href="<?php the_permalink(); ?>" class="read-full"><?php _e('Read Full Story', 'pixrthemes'); ?></a> </p> </div> </article><!-- //featprod --> <?php endwhile; ?> <section class="paginate-wrap"> <?php if (function_exists("pagination")) { pagination($additional_loop->max_num_pages);} ?> </section> <!-- paginatwrap --> <?php $wp_query = null; $wp_query = $temp; // Reset ?> </div><!-- //row --> <div class="spacer"></div> </div><!-- content --> <div class="clear"></div> </div><!-- //container --> </div><!-- //main --> <?php get_footer(); ?>