Title: Theme
Last modified: April 7, 2017

---

# Theme

 *  [adminhoang](https://wordpress.org/support/users/adminhoang/)
 * (@adminhoang)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/theme-25/)
 * <?php
    /** * The template for displaying Archive pages * * Used to display archive-
   type pages if nothing more specific matches a query. * For example, puts together
   date-based pages if no date.php file exists. * * If you’d like to further customize
   these archive views, you may create a * new template file for each specific one.
   For example, Profit * already has tag.php for Tag archives, category.php for 
   Category archives, * and author.php for Author archives. * * [@link](https://wordpress.org/support/users/link/)
   [https://codex.wordpress.org/Template_Hierarchy](https://codex.wordpress.org/Template_Hierarchy)**@
   subpackage Profit * [@since](https://wordpress.org/support/users/since/) Profit
   1.0 */ get_header(); ?> <?php if (!(is_front_page())) : ?> <div class=”page-header”
   > <div class=”container”> <h2 class=”page-title”> <?php if (is_day()) : printf(
   __(‘Daily Archives: %s’, ‘profit-lite’), get_the_date()); elseif (is_month()):
   printf(__(‘Monthly Archives: %s’, ‘profit-lite’), get_the_date(_x(‘F Y’, ‘monthly
   archives date format’, ‘profit-lite’))); elseif (is_year()) : printf(__(‘Yearly
   Archives: %s’, ‘profit-lite’), get_the_date(_x(‘Y’, ‘yearly archives date format’,‘
   profit-lite’))); else : _e(‘Archives’, ‘profit-lite’); endif; ?> </h2> <div class
   =”breadcrumb-wrapper”> <?php mp_profit_the_breadcrumb(); ?> </div> </div> </div
   > <?php endif; ?> <div class=”container main-container list-posts”> <div class
   =”row clearfix”> <div class=” col-xs-12 col-sm-8 col-md-8 col-lg-8″> <?php if(
   have_posts()) : ?> <?php /* The loop */ ?> <?php while (have_posts()) : the_post();?
   > <?php get_template_part(‘content’, get_post_format()); ?> <?php endwhile; ?
   > <?php $args = array( ‘prev_next’ => true ); ?> <nav class=”navigation paging-
   navigation”> <?php echo paginate_links($args); ?> </nav><!– .navigation –>
 *  <?php else : ?>
    <?php get_template_part(‘content’, ‘none’); ?> <?php endif;?
   >
 *  </div>
    <div class=” col-xs-12 col-sm-4 col-md-4 col-lg-4″> <?php get_sidebar();?
   > </div> </div> <?php get_footer(); ?>
    -  This topic was modified 9 years, 5 months ago by [adminhoang](https://wordpress.org/support/users/adminhoang/).

Viewing 1 replies (of 1 total)

 *  [motopress](https://wordpress.org/support/users/motopress/)
 * (@motopress)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/theme-25/#post-9006504)
 * Hello [@adminhoang](https://wordpress.org/support/users/adminhoang/),
    Thank 
   you for 5 stars! We appreciate it. Probably you pasted wrong content for a review?
   Please check it.

Viewing 1 replies (of 1 total)

The topic ‘Theme’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/profit-lite/1.6.6/screenshot.png)
 * Profit Lite
 * [Support Threads](https://wordpress.org/support/theme/profit-lite/)
 * [Active Topics](https://wordpress.org/support/theme/profit-lite/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/profit-lite/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/profit-lite/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [motopress](https://wordpress.org/support/users/motopress/)
 * Last activity: [9 years, 5 months ago](https://wordpress.org/support/topic/theme-25/#post-9006504)