{"id":9004227,"date":"2017-04-07T05:06:24","date_gmt":"2017-04-07T05:06:24","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/theme-25\/"},"modified":"2017-04-07T05:06:44","modified_gmt":"2017-04-07T05:06:44","slug":"theme-25","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/theme-25\/","title":{"rendered":"Theme"},"content":{"rendered":"<p>&lt;?php<br \/>\n\/**<br \/>\n * The template for displaying Archive pages<br \/>\n *<br \/>\n * Used to display archive-type pages if nothing more specific matches a query.<br \/>\n * For example, puts together date-based pages if no date.php file exists.<br \/>\n *<br \/>\n * If you&#8217;d like to further customize these archive views, you may create a<br \/>\n * new template file for each specific one. For example, Profit<br \/>\n * already has tag.php for Tag archives, category.php for Category archives,<br \/>\n * and author.php for Author archives.<br \/>\n *<br \/>\n * @link https:\/\/codex.wordpress.org\/Template_Hierarchy<br \/>\n *<br \/>\n * @subpackage Profit<br \/>\n * @since Profit 1.0<br \/>\n *\/<br \/>\nget_header();<br \/>\n?&gt;<br \/>\n&lt;?php<br \/>\nif (!(is_front_page())) :<br \/>\n    ?&gt;<br \/>\n    &lt;div class=&#8221;page-header&#8221;&gt;<br \/>\n        &lt;div class=&#8221;container&#8221;&gt;<br \/>\n            &lt;h2 class=&#8221;page-title&#8221;&gt;<br \/>\n                &lt;?php<br \/>\n                if (is_day()) :<br \/>\n                    printf(__(&#8216;Daily Archives: %s&#8217;, &#8216;profit-lite&#8217;), get_the_date());<br \/>\n                elseif (is_month()) :<br \/>\n                    printf(__(&#8216;Monthly Archives: %s&#8217;, &#8216;profit-lite&#8217;), get_the_date(_x(&#8216;F Y&#8217;, &#8216;monthly archives date format&#8217;, &#8216;profit-lite&#8217;)));<br \/>\n                elseif (is_year()) :<br \/>\n                    printf(__(&#8216;Yearly Archives: %s&#8217;, &#8216;profit-lite&#8217;), get_the_date(_x(&#8216;Y&#8217;, &#8216;yearly archives date format&#8217;, &#8216;profit-lite&#8217;)));<br \/>\n                else :<br \/>\n                    _e(&#8216;Archives&#8217;, &#8216;profit-lite&#8217;);<br \/>\n                endif;<br \/>\n                ?&gt;<br \/>\n            &lt;\/h2&gt;<br \/>\n            &lt;div class=&#8221;breadcrumb-wrapper&#8221;&gt;<br \/>\n                &lt;?php mp_profit_the_breadcrumb(); ?&gt;<br \/>\n            &lt;\/div&gt;<br \/>\n        &lt;\/div&gt;<br \/>\n    &lt;\/div&gt;<br \/>\n&lt;?php endif; ?&gt;<br \/>\n&lt;div class=&#8221;container main-container list-posts&#8221;&gt;<br \/>\n    &lt;div class=&#8221;row clearfix&#8221;&gt;<br \/>\n        &lt;div class=&#8221; col-xs-12 col-sm-8 col-md-8 col-lg-8&#8243;&gt;<br \/>\n            &lt;?php if (have_posts()) : ?&gt;<br \/>\n                &lt;?php \/* The loop *\/ ?&gt;<br \/>\n                &lt;?php while (have_posts()) : the_post(); ?&gt;<br \/>\n                    &lt;?php get_template_part(&#8216;content&#8217;, get_post_format()); ?&gt;<br \/>\n                &lt;?php endwhile; ?&gt;<br \/>\n                &lt;?php<br \/>\n                $args = array(<br \/>\n                    &#8216;prev_next&#8217; =&gt; true<br \/>\n                );<br \/>\n                ?&gt;<br \/>\n                &lt;nav class=&#8221;navigation paging-navigation&#8221;&gt;<br \/>\n                    &lt;?php echo paginate_links($args); ?&gt;<br \/>\n                &lt;\/nav&gt;&lt;!&#8211; .navigation &#8211;&gt;<\/p>\n<p>            &lt;?php else : ?&gt;<br \/>\n                &lt;?php get_template_part(&#8216;content&#8217;, &#8216;none&#8217;); ?&gt;<br \/>\n            &lt;?php endif; ?&gt;<\/p>\n<p>        &lt;\/div&gt;<br \/>\n        &lt;div class=&#8221; col-xs-12 col-sm-4 col-md-4 col-lg-4&#8243;&gt;<br \/>\n            &lt;?php get_sidebar(); ?&gt;<br \/>\n        &lt;\/div&gt;<br \/>\n    &lt;\/div&gt;<br \/>\n    &lt;?php get_footer(); ?&gt;<\/p>\n","protected":false},"template":"","class_list":["post-9004227","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/9004227","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":1,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/9004227\/revisions"}],"predecessor-version":[{"id":9004228,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/9004227\/revisions\/9004228"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=9004227"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}