{"id":39047,"date":"2014-03-05T16:12:20","date_gmt":"2014-03-05T15:12:20","guid":{"rendered":"https:\/\/pl.wordpress.org\/support\/topic\/strona-glownej-i-strona-posta-ujednolicenie\/"},"modified":"2016-08-05T22:05:32","modified_gmt":"2016-08-05T22:05:32","slug":"strona-glownej-i-strona-posta-ujednolicenie","status":"closed","type":"topic","link":"https:\/\/pl.wordpress.org\/support\/topic\/strona-glownej-i-strona-posta-ujednolicenie\/","title":{"rendered":"Strona g\u0142\u00f3wnej i strona posta (ujednolicenie)"},"content":{"rendered":"<p>Witajcie.<\/p>\n<p>Mam 2 problemy zwi\u0105zane z tym, \u017ce wygl\u0105d strony g\u0142\u00f3wnej r\u00f3\u017cni si\u0119 od wygl\u0105du strony z komentarzami (gdy wejdziemy w posta. Moja strona to: http:\/\/natalia-recenzuje.pl\/<\/p>\n<p>I tak:<br \/>\n1) Je\u015bli jestem na stronie g\u0142\u00f3wnej, to pomi\u0119dzy tytu\u0142em posta, a tekstem g\u0142\u00f3wnym nic si\u0119 nie wy\u015bwietla. Je\u015bli klikniemy w tytu\u0142 i przejdziemy do strony z komentarzami, to pod tytu\u0142em posta wy\u015bwietli si\u0119 jeszcze data publikacji, link do skomentowania i nick autora. Chc\u0119, \u017ceby wy\u015bwietla\u0142o mi si\u0119 to od razu, z pozycji strony g\u0142\u00f3wnej te\u017c, a nie dopiero po wej\u015bciu w notk\u0119. Jak to zmieni\u0107? Co gdzie wpisa\u0107 w kodzie?<\/p>\n<p>2) Znowu r\u00f3\u017cnica pomi\u0119dzy stron\u0105 g\u0142\u00f3wn\u0105, a stron\u0105 z komentarzami. Tym razem w kategoriach. Jak patrz\u0119 na notk\u0119 z pozycji strony g\u0142\u00f3wnej, to kategorie wy\u015bwietlaj\u0105 si\u0119 na normalnym tle. Po wej\u015bciu na stron\u0119 posta, wy\u015bwietlaj\u0105 si\u0119 na nieco innym odcieniu t\u0142a w takiej jasnej otoczce. Tutaj te\u017c chcia\u0142abym ujednolici\u0107. Jak to zrobi\u0107, by wy\u015bwietla\u0142a si\u0119 tu i tu? Podaj\u0119 kod:<\/p>\n<pre><code>&lt;?php\n\/**\n * Template: Index.php\n *\n * @package pureline\n * @subpackage Template\n *\/\n\nget_header();\n?&gt;\n\n    &lt;?php $xyz = &quot;&quot;;\n    $pureline_layout = pureline_get_option(&#039;pureline_layout&#039;,&#039;2cl&#039;);\n    $pureline_post_links = pureline_get_option(&#039;purelinepost_links&#039;,&#039;after&#039;);\n    $pureline_post_layout = pureline_get_option(&#039;pureline_post_layout&#039;,&#039;two&#039;);\n    $pureline_header_meta = pureline_get_option(&#039;pureline_header_meta&#039;,&#039;single_archive&#039;);\n    $pureline_share_this = pureline_get_option(&#039;pureline_share_this&#039;,&#039;single&#039;);\n    $pureline_similar_posts = pureline_get_option(&#039;pureline_similar_posts&#039;,&#039;disable&#039;);\n    $pureline_nav_links = pureline_get_option(&#039;pureline_nav_links&#039;,&#039;after&#039;);\n\n  if (($pureline_layout == &quot;1c&quot;))  \n\n    { ?&gt;\n\n  &lt;?php } else { ?&gt;\n\n  &lt;?php $options = get_option(&#039;pureline&#039;);\n  if ($pureline_layout == &quot;3cm&quot; || $pureline_layout == &quot;3cl&quot; || $pureline_layout == &quot;3cr&quot;) { ?&gt; \n\n  &lt;?php get_sidebar(&#039;2&#039;); ?&gt;\n\n  &lt;?php } ?&gt;\n\n    &lt;?php } ?&gt;  \n\n\t\t\t&lt;!--BEGIN #primary .hfeed--&gt;\n\t\t\t&lt;div id=&quot;primary&quot; class=&quot;hfeed&quot;&gt;\n\n &lt;!----------------------\n ---- attachment begin\n -----------------------&gt;  \n\n &lt;?php if (is_attachment()) { ?&gt;\n\n     &lt;?php if ( have_posts() ) : ?&gt;\n\t\t\t\t&lt;?php while ( have_posts() ) : the_post(); ?&gt;\n\n\t\t\t\t&lt;!--BEGIN .hentry--&gt;\n\t\t\t\t&lt;div id=&quot;post-&lt;?php the_ID(); ?&gt;&quot; &lt;?php post_class(); ?&gt;&gt;\n\n            &lt;?php $options = get_option(&#039;pureline&#039;); if (($pureline_header_meta == &quot;&quot;) || ($pureline_header_meta == &quot;single_archive&quot;))\n        { ?&gt;\n\n        &lt;h1 class=&quot;entry-title&quot;&gt;&lt;a href=&quot;&lt;?php echo get_permalink($post-&gt;post_parent); ?&gt;&quot; rev=&quot;attachment&quot; class=&quot;attach-font&quot;&gt;&lt;?php echo get_the_title($post-&gt;post_parent); ?&gt;&lt;\/a&gt; &amp;raquo; &lt;?php if ( get_the_title() ){ the_title();\n } else { _e( &#039;Untitled&#039;, &#039;pure-line&#039; );  } ?&gt;&lt;\/h1&gt;\n\n\t&lt;!--BEGIN .entry-meta .entry-header--&gt;\n\t\t\t\t\t&lt;div class=&quot;entry-meta entry-header&quot;&gt;\n          &lt;a href=&quot;&lt;?php the_permalink() ?&gt;&quot;&gt;&lt;span class=&quot;published&quot;&gt;&lt;?php the_time(&#039;M d&#039;); ?&gt;, &lt;?php the_time(&#039;Y&#039;); ?&gt;&lt;\/strong&gt;&lt;\/span&gt;&lt;\/a&gt;\n\n          &lt;?php if ( comments_open() ) : ?&gt;\n          &lt;span class=&quot;comment-count&quot;&gt; ~ &lt;?php comments_popup_link( __( &#039;Skomentuj&#039;, &#039;pure-line&#039; ), __( &#039;1 komentarz&#039;, &#039;pure-line&#039; ), __( &#039;2 komentarze&#039;, &#039;pure-line&#039; ), __ ( &#039;3 komentarze&#039;, &#039;pure-line&#039; ), __( &#039;4 komentarze&#039;, &#039;pure-line&#039; ), __( &#039;% komentarzy&#039;, &#039;pure-line&#039; ) ); ?&gt;&lt;\/span&gt;\n          &lt;?php else : \/\/ comments are closed\n           endif; ?&gt;\n\n          &lt;span class=&quot;author vcard&quot;&gt;\n\n          &lt;?php _e( &#039;Napisa\u0142a&#039;, &#039;pure-line&#039; ); ?&gt; &lt;strong&gt;&lt;?php printf( &#039;&lt;a class=&quot;url fn&quot; href=&quot;&#039; . get_author_posts_url( $authordata-&gt;ID, $authordata-&gt;user_nicename ) . &#039;&quot; title=&quot;&#039; . sprintf( &#039;Zobacz wszystkie posty %s&#039;, $authordata-&gt;display_name ) . &#039;&quot;&gt;&#039; . get_the_author() . &#039;&lt;\/a&gt;&#039; ) ?&gt;&lt;\/strong&gt;&lt;\/span&gt;\n\n\t\t\t\t\t\t&lt;?php edit_post_link( __( &#039;Edytuj&#039;, &#039;pure-line&#039; ), &#039;&lt;span class=&quot;edit-post&quot;&gt;&#039;, &#039;&lt;\/span&gt;&#039; ); ?&gt;\n\n\t\t\t\t\t&lt;!--END .entry-meta .entry-header--&gt;\n                    &lt;\/div&gt;\n\n                     &lt;?php } else { ?&gt;\n\n                    &lt;h1 class=&quot;entry-title&quot; class=&quot;fl-l&quot;&gt;&lt;a href=&quot;&lt;?php echo get_permalink($post-&gt;post_parent); ?&gt;&quot; rev=&quot;attachment&quot;&gt;&lt;?php echo get_the_title($post-&gt;post_parent); ?&gt;&lt;\/a&gt; &amp;raquo; &lt;?php the_title(); ?&gt;&lt;\/h1&gt;\n\n                     &lt;?php if ( current_user_can( &#039;edit_post&#039;, $post-&gt;ID ) ): ?&gt;\n\n\t\t\t\t    &lt;?php edit_post_link( __( &#039;Edytuj&#039;, &#039;pure-line&#039; ), &#039;&lt;span class=&quot;edit-post edit-attach&quot;&gt;&#039;, &#039;&lt;\/span&gt;&#039; ); ?&gt;\n                    &lt;?php endif; ?&gt;\n\n                    &lt;br \/&gt;&lt;br \/&gt;&lt;?php } ?&gt;\n\n\t\t\t\t\t&lt;!--BEGIN .entry-content .article--&gt;\n\t\t\t\t\t&lt;div class=&quot;entry-content article&quot;&gt;\n\n\t\t\t\t\t\t\t&lt;?php if ( wp_attachment_is_image() ) :\n\t$attachments = array_values( get_children( array( &#039;post_parent&#039; =&gt; $post-&gt;post_parent, &#039;post_status&#039; =&gt; &#039;inherit&#039;, &#039;post_type&#039; =&gt; &#039;attachment&#039;, &#039;post_mime_type&#039; =&gt; &#039;image&#039;, &#039;order&#039; =&gt; &#039;ASC&#039;, &#039;orderby&#039; =&gt; &#039;menu_order ID&#039; ) ) );\n\tforeach ( $attachments as $k =&gt; $attachment ) {\n\t\tif ( $attachment-&gt;ID == $post-&gt;ID )\n\t\t\tbreak;\n\t}\n\t$k++;\n\t\/\/ If there is more than 1 image attachment in a gallery\n\tif ( count( $attachments ) &gt; 1 ) {\n\t\tif ( isset( $attachments[ $k ] ) )\n\t\t\t\/\/ get the URL of the next image attachment\n\t\t\t$next_attachment_url = get_attachment_link( $attachments[ $k ]-&gt;ID );\n\t\telse\n\t\t\t\/\/ or get the URL of the first image attachment\n\t\t\t$next_attachment_url = get_attachment_link( $attachments[ 0 ]-&gt;ID );\n\t} else {\n\t\t\/\/ or, if there&#039;s only 1 image attachment, get the URL of the image\n\t\t$next_attachment_url = wp_get_attachment_url();\n\t}\n?&gt;\n\t\t\t\t\t\t&lt;p class=&quot;attachment&quot; align=&quot;center&quot;&gt;&lt;a href=&quot;&lt;?php echo wp_get_attachment_url(); ?&gt;&quot; title=&quot;&lt;?php echo esc_attr( get_the_title() ); ?&gt;&quot; class=&quot;single-gallery-image&quot;&gt;&lt;?php\n\t\t\t\t\t\t\techo wp_get_attachment_image( $post-&gt;ID, $size=&#039;medium&#039; ); \/\/ filterable image width with, essentially, no limit for image height.\n\t\t\t\t\t\t?&gt;&lt;\/a&gt;&lt;\/p&gt;\n\n              &lt;div class=&quot;navigation-links single-page-navigation&quot; style=&quot;clear:both;&quot;&gt;\n&lt;div class=&quot;nav-next&quot;&gt;&lt;?php next_image_link ( false, &#039;Next Image &amp;nbsp;&amp;nbsp;&amp;raquo;&amp;nbsp;&amp;nbsp;&#039; ); ?&gt;&lt;\/div&gt;\n\t&lt;div class=&quot;nav-previous&quot;&gt;&lt;?php previous_image_link ( false, &#039;&amp;nbsp;&amp;nbsp;&amp;laquo;&amp;nbsp;&amp;nbsp; Previous Image&#039; ); ?&gt;&lt;\/div&gt;\n\n&lt;!--END .navigation-links--&gt;\n\n\t\t\t\t\t\t&lt;\/div&gt;&lt;!-- #nav-below --&gt;\n&lt;?php else : ?&gt;\n\t\t\t\t\t\t&lt;a href=&quot;&lt;?php echo wp_get_attachment_url(); ?&gt;&quot; title=&quot;&lt;?php echo esc_attr( get_the_title() ); ?&gt;&quot; rel=&quot;attachment&quot;&gt;&lt;?php echo basename( get_permalink() ); ?&gt;&lt;\/a&gt;\n&lt;?php endif; ?&gt;\n\n&lt;div class=&quot;entry-caption&quot;&gt;&lt;?php if ( !empty( $post-&gt;post_excerpt ) ) the_excerpt(); ?&gt;&lt;\/div&gt;\n\n\t\t\t\t\t &lt;!--END .entry-content .article--&gt;\n           &lt;div style=&quot;clear:both;&quot;&gt;&lt;\/div&gt;\n\t\t\t\t\t&lt;\/div&gt;\n\t\t\t\t&lt;!--END .hentry--&gt;\n\t\t\t\t&lt;\/div&gt;\n\n         &lt;?php $options = get_option(&#039;pureline&#039;); if (($pureline_share_this == &quot;single_archive&quot;) || ($pureline_share_this == &quot;all&quot;)) {\n        pureline_sharethis();  } else { ?&gt; &lt;div class=&quot;margin-40&quot;&gt;&lt;\/div&gt; &lt;?php }?&gt;\n\n\t\t\t\t&lt;?php comments_template( &#039;&#039;, true ); ?&gt;\n\n\t\t\t\t&lt;?php endwhile; else : ?&gt;\n\n\t\t\t\t&lt;!--BEGIN #post-0--&gt;\n\t\t\t\t&lt;div id=&quot;post-0&quot; &lt;?php post_class(); ?&gt;&gt;\n\t\t\t\t\t&lt;h1 class=&quot;entry-title&quot;&gt;&lt;?php echo __(&#039;Not Found&#039;,&#039;pure-line&#039;); ?&gt;&lt;\/h1&gt;\n\n\t\t\t\t\t&lt;!--BEGIN .entry-content--&gt;\n\t\t\t\t\t&lt;div class=&quot;entry-content&quot;&gt;\n\t\t\t\t\t\t&lt;p&gt;&lt;?php echo __(&#039;Sorry, no attachments matched your criteria&#039;,&#039;pure-line&#039;);?&gt;.&lt;\/p&gt;\n\t\t\t\t\t&lt;!--END .entry-content--&gt;\n\t\t\t\t\t&lt;\/div&gt;\n\t\t\t\t&lt;!--END #post-0--&gt;\n\t\t\t\t&lt;\/div&gt;\n\n         &lt;!----------------------\n ---- attachment end\n -----------------------&gt;  \n\n\t\t\t&lt;?php endif; ?&gt;      \n\n &lt;!----------------------\n ---- single post begin\n -----------------------&gt;     \n\n &lt;?php } elseif (is_single()) { ?&gt;\n\n &lt;?php if ( have_posts() ) : ?&gt;\n                &lt;?php while ( have_posts() ) : the_post(); ?&gt;\n\n                 &lt;?php $options = get_option(&#039;pureline&#039;); if (($pureline_post_links == &quot;before&quot;) || ($pureline_post_links == &quot;both&quot;)) { ?&gt;\n\n         &lt;span class=&quot;nav-top&quot;&gt;\n\t\t\t\t&lt;?php get_template_part( &#039;navigation&#039;, &#039;index&#039; ); ?&gt;\n        &lt;\/span&gt;\n\n        &lt;?php } ?&gt; \n\n\t\t\t\t&lt;!--BEGIN .hentry--&gt;\n\t\t\t\t&lt;div id=&quot;post-&lt;?php the_ID(); ?&gt;&quot; &lt;?php post_class(); ?&gt;&gt;\n\n          &lt;?php $options = get_option(&#039;pureline&#039;); if (($pureline_header_meta == &quot;&quot;) || ($pureline_header_meta == &quot;single&quot;) || ($pureline_header_meta == &quot;single_archive&quot;))\n        { ?&gt;  &lt;h1 class=&quot;entry-title&quot;&gt;&lt;?php if ( get_the_title() ){ the_title(); }else{ _e( &#039;Untitled&#039;, &#039;pure-line&#039; );  } ?&gt;&lt;\/h1&gt;\n\n\t\t\t\t\t&lt;!--BEGIN .entry-meta .entry-header--&gt;\n\t\t\t\t\t&lt;div class=&quot;entry-meta entry-header&quot;&gt;\n          &lt;a href=&quot;&lt;?php the_permalink() ?&gt;&quot;&gt;&lt;span class=&quot;published&quot;&gt;&lt;?php the_time(&#039;j F Y&#039;); ?&gt;, &lt;\/strong&gt;&lt;\/span&gt;&lt;\/a&gt;\n\n          &lt;?php if ( comments_open() ) : ?&gt;\n          &lt;span class=&quot;comment-count&quot;&gt; &lt;?php comments_popup_link( __( &#039;Skomentuj&#039;, &#039;pure-line&#039; ), __( &#039;1 komentarz&#039;, &#039;pure-line&#039; ), __( &#039;2 komentarze&#039;, &#039;pure-line&#039; ), __ ( &#039;3 komentarze&#039;, &#039;pure-line&#039; ), __( &#039;4 komentarze&#039;, &#039;pure-line&#039; ), __( &#039;% komentarzy&#039;, &#039;pure-line&#039; ) ); ?&gt;&lt;\/span&gt;\n          &lt;?php else :\n           endif; ?&gt;\n\n          &lt;span class=&quot;author vcard&quot;&gt;\n\n           &lt;?php _e( &#039;Napisa\u0142a&#039;, &#039;pure-line&#039; ); ?&gt; &lt;strong&gt;&lt;?php printf( &#039;&lt;a class=&quot;url fn&quot; href=&quot;&#039; . get_author_posts_url( $authordata-&gt;ID, $authordata-&gt;user_nicename ) . &#039;&quot; title=&quot;&#039; . sprintf( &#039;Zobacz wszystkie wpisy %s&#039;, $authordata-&gt;display_name ) . &#039;&quot;&gt;&#039; . get_the_author() . &#039;&lt;\/a&gt;&#039; ) ?&gt;&lt;\/strong&gt;&lt;\/span&gt;\n\n            \t\t\t\t    &lt;?php edit_post_link( __( &#039;Edytuj&#039;, &#039;pure-line&#039; ), &#039;&lt;span class=&quot;edit-post&quot;&gt;&#039;, &#039;&lt;\/span&gt;&#039; ); ?&gt;\n\t\t\t\t\t&lt;!--END .entry-meta .entry-header--&gt;\n                    &lt;\/div&gt;   &lt;?php } else { ?&gt;\n\n                    &lt;h1 class=&quot;entry-title fl-l&quot;&gt;&lt;?php the_title(); ?&gt;&lt;\/h1&gt;\n\n                     &lt;?php if ( current_user_can( &#039;edit_post&#039;, $post-&gt;ID ) ): ?&gt;\n\n\t\t\t\t\t\t&lt;?php edit_post_link( __( &#039;Edytuj&#039;, &#039;pure-line&#039; ), &#039;&lt;span class=&quot;edit-post edit-attach&quot;&gt;&#039;, &#039;&lt;\/span&gt;&#039; ); ?&gt;\n\n                    &lt;?php endif; ?&gt;\n\n                    &lt;br \/&gt;&lt;br \/&gt;&lt;?php } ?&gt;\n\n\t\t\t&lt;!--BEGIN .entry-content .article--&gt;\n\t\t\t\t\t&lt;div class=&quot;entry-content article&quot;&gt;\n\t\t\t\t\t\t&lt;?php the_content( __(&#039;~ read more ~&#039;, &#039;pure-line&#039; ) ); ?&gt;\n            &lt;?php wp_link_pages( array( &#039;before&#039; =&gt; &#039;&lt;div id=&quot;page-links&quot;&gt;&lt;p&gt;&#039; . __( &#039;&lt;strong&gt;Pages:&lt;\/strong&gt;&#039;, &#039;pure-line&#039; ), &#039;after&#039; =&gt; &#039;&lt;\/p&gt;&lt;\/div&gt;&#039; ) ); ?&gt;\n\t\t\t\t\t&lt;!--END .entry-content .article--&gt;\n\n          &lt;div style=&quot;clear:both;&quot;&gt;&lt;\/div&gt;\n          &lt;\/div&gt;\n\n\t\t\t\t\t\t&lt;!--BEGIN .entry-meta .entry-footer--&gt;\n                    &lt;div class=&quot;entry-meta entry-footer&quot;&gt;\n                    \t&lt;?php if ( pureline_get_terms( &#039;cats&#039; ) ) { ?&gt;\n                    \t&lt;span class=&quot;entry-categories&quot;&gt;&lt;strong&gt;&lt;?php _e(&#039;Kategorie&#039;, &#039;pure-line&#039; ); ?&gt;&lt;\/strong&gt; &lt;?php echo pureline_get_terms( &#039;cats&#039; ); ?&gt;&lt;\/span&gt;\n&lt;?php } ?&gt;&lt;?php if ( pureline_get_terms( &#039;cats&#039; ) &amp;&amp; pureline_get_terms( &#039;tags&#039; ) ) { ?&gt;&lt;span class=&quot;meta-sep&quot;&gt;-&lt;\/span&gt;&lt;?php } ?&gt;\n\t\t\t\t\t\t&lt;?php if ( pureline_get_terms( &#039;tags&#039; ) ) { ?&gt;\n                                                &lt;span class=&quot;entry-tags&quot;&gt;&lt;strong&gt;&lt;?php _e(&#039;Tagged&#039;, &#039;pure-line&#039; ); ?&gt;&lt;\/strong&gt; &lt;?php echo pureline_get_terms( &#039;tags&#039; ); ?&gt;&lt;\/span&gt;\n                        &lt;?php } ?&gt;\n\t\t\t\t\t&lt;!--END .entry-meta .entry-footer--&gt;\n\n                    &lt;\/div&gt;\n\n                    &lt;!-- Auto Discovery Trackbacks\n\t\t\t\t\t&lt;?php trackback_rdf(); ?&gt;\n\t\t\t\t\t--&gt;\n\t\t\t\t&lt;!--END .hentry--&gt;\n\t\t\t\t&lt;\/div&gt;\n\n      &lt;?php $options = get_option(&#039;pureline&#039;); if (($pureline_share_this == &quot;&quot;) || ($pureline_share_this == &quot;single&quot;) || ($pureline_share_this == &quot;single_archive&quot;)  || ($pureline_share_this == &quot;all&quot;)) {\n        pureline_sharethis(); } else { ?&gt; &lt;div class=&quot;margin-40&quot;&gt;&lt;\/div&gt; &lt;?php }?&gt;\n\n&lt;?php $options = get_option(&#039;pureline&#039;); if (($pureline_similar_posts == &quot;&quot;) || ($pureline_similar_posts == &quot;disable&quot;)) {} else {\npureline_similar_posts(); } ?&gt;  \n\n        &lt;?php if (($pureline_post_links == &quot;&quot;) || ($pureline_post_links == &quot;after&quot;) || ($pureline_post_links == &quot;both&quot;)) { ?&gt;\n\n\t\t\t\t&lt;?php get_template_part( &#039;navigation&#039;, &#039;index&#039; ); ?&gt;\n\n        &lt;?php } ?&gt;   \n\n\t\t\t\t&lt;?php \n\n        if ( comments_open() ) :\n\n        comments_template( &#039;&#039;, true ); \n\n        else:\n\n        comments_template( &#039;&#039;, true );\n\n        echo __( &#039;Comments are disabled&#039;, &#039;pure-line&#039; );\n\n        echo &#039;&lt;br \/&gt;&lt;br \/&gt;&#039;;\n\n        endif;\n        ?&gt;\n\n\t\t\t\t&lt;?php endwhile; else : ?&gt;\n\n\t\t\t\t&lt;!--BEGIN #post-0--&gt;\n\t\t\t\t&lt;div id=&quot;post-0&quot; &lt;?php post_class(); ?&gt;&gt;\n\t\t\t\t\t&lt;h1 class=&quot;entry-title&quot;&gt;&lt;?php _e( &#039;Not Found&#039;, &#039;pure-line&#039; ); ?&gt;&lt;\/h1&gt;\n\n\t\t\t\t\t&lt;!--BEGIN .entry-content--&gt;\n\t\t\t\t\t&lt;div class=&quot;entry-content&quot;&gt;\n\t\t\t\t\t\t&lt;p&gt;&lt;?php _e( &#039;Sorry, but you are looking for something that isn\\&#039;t here.&#039;, &#039;pure-line&#039; ); ?&gt;&lt;\/p&gt;\n\t\t\t\t\t\t&lt;?php get_search_form(); ?&gt;\n\t\t\t\t\t&lt;!--END .entry-content--&gt;\n\t\t\t\t\t&lt;\/div&gt;\n\t\t\t\t&lt;!--END #post-0--&gt;\n\t\t\t\t&lt;\/div&gt;\n\n\t\t\t&lt;?php endif; ?&gt;\n\n &lt;!----------------------\n ---- single post end\n -----------------------&gt; \n\n &lt;!----------------------\n ---- home\/date\/category\/tag\/search\/author begin\n -----------------------&gt;         \n\n      &lt;?php } elseif (is_home() || is_date() || is_category() || is_tag() || is_search() || is_author()) { ?&gt;\n\n &lt;!----------------------\n ---- 2 or 3 columns begin\n -----------------------&gt;\n\n      &lt;?php if (is_date()) { ?&gt; \n\n      \t&lt;?php \/* If this is a daily archive *\/ if ( is_day() ) { ?&gt;\n\t\t\t\t&lt;h2 class=&quot;page-title archive-title&quot;&gt;&lt;?php _e( &#039;Archiwum dnia&#039;, &#039;pure-line&#039; ); ?&gt; &lt;span class=&quot;daily-title&quot;&gt;&lt;?php the_time( &#039;F jS, Y&#039; ); ?&gt;&lt;\/span&gt;&lt;\/h2&gt;\n        \t\t\t\t&lt;?php \/* If this is a monthly archive *\/ } elseif ( is_month() ) { ?&gt;\n\t\t\t\t&lt;h2 class=&quot;page-title archive-title&quot;&gt;&lt;?php _e( &#039;Archiwum&#039;, &#039;pure-line&#039; ); ?&gt; &lt;span class=&quot;monthly-title&quot;&gt;&lt;?php the_time( &#039;F, Y&#039; ); ?&gt;&lt;\/span&gt;&lt;\/h2&gt;\n\t\t\t\t&lt;?php \/* If this is a yearly archive *\/ } elseif ( is_year() ) { ?&gt;\n\t\t\t\t&lt;h2 class=&quot;page-title archive-title&quot;&gt;&lt;?php _e( &#039;Yearly archives for&#039;, &#039;pure-line&#039; ); ?&gt; &lt;span class=&quot;yearly-title&quot;&gt;&lt;?php the_time( &#039;Y&#039; ); ?&gt;&lt;\/span&gt;&lt;\/h2&gt;\n\t\t\t\t&lt;?php } ?&gt;\n\n      &lt;?php } elseif (is_category()) { ?&gt;\n    &lt;h2 class=&quot;page-title archive-title&quot;&gt;&lt;?php _e( &#039;Wpisy w kategorii&#039;, &#039;pure-line&#039; ); ?&gt; &lt;span id=&quot;category-title&quot;&gt;&lt;?php single_cat_title(); ?&gt;&lt;\/span&gt;&lt;\/h2&gt;\n\n       &lt;?php } elseif (is_tag()) { ?&gt;\n       &lt;h2 class=&quot;page-title archive-title&quot;&gt;&lt;?php _e( &#039;Posts tagged&#039;, &#039;pure-line&#039; ); ?&gt; &lt;span id=&quot;tag-title&quot;&gt;&lt;?php single_tag_title(); ?&gt;&lt;\/span&gt;&lt;\/h2&gt;\n\n       &lt;?php } elseif (is_search()) { ?&gt;\n\n       &lt;h2 class=&quot;page-title search-title&quot;&gt;&lt;?php _e( &#039;Wyniki wyszukiwania dla&#039;, &#039;pure-line&#039; ); ?&gt; &lt;?php echo &#039;&lt;span class=&quot;search-term&quot;&gt;&#039;.the_search_query().&#039;&lt;\/span&gt;&#039;; ?&gt;&lt;\/h2&gt;\n\n          &lt;?php } elseif (is_author()) { ?&gt;\n\n       &lt;h2 class=&quot;page-title archive-title&quot;&gt;&lt;?php _e( &#039;Napisa\u0142a&#039;, &#039;pure-line&#039; ); ?&gt; &lt;span class=&quot;author-title&quot;&gt;&lt;?php the_post(); echo $authordata-&gt;display_name; rewind_posts(); ?&gt;&lt;\/span&gt;&lt;\/h2&gt;\n\n       &lt;?php } ?&gt;\n\n  &lt;?php $options = get_option(&#039;pureline&#039;); if ($pureline_post_layout == &quot;&quot; || $pureline_post_layout == &quot;two&quot; || $pureline_post_layout == &quot;three&quot;) { ?&gt;      \n\n       &lt;?php if (($pureline_nav_links == &quot;before&quot;) || ($pureline_nav_links == &quot;both&quot;)) { ?&gt;\n\n\t\t\t\t   &lt;span class=&quot;nav-top&quot;&gt;\n\t\t\t\t&lt;?php get_template_part( &#039;navigation&#039;, &#039;index&#039; ); ?&gt;\n        &lt;\/span&gt;\n\n        &lt;?php } else {?&gt; \n\n        &lt;?php } ?&gt;         \n\n\t\t\t&lt;?php if ( have_posts() ) : ?&gt;\n\n                &lt;?php while ( have_posts() ) : the_post(); ?&gt;\n\n\t\t\t\t&lt;!--BEGIN .hentry--&gt;\n\t\t\t\t&lt;div id=&quot;post-&lt;?php the_ID(); ?&gt;&quot;  \n\n       &lt;?php $options = get_option(&#039;pureline&#039;); if ($pureline_post_layout == &quot;&quot; || $pureline_post_layout == &quot;two&quot;) {\n       $pureline_box = &#039;odd&#039;.($xyz++%2); } else { $pureline_box = &#039;odd&#039;.($xyz++%3); } ?&gt;\n\n        &lt;?php post_class($pureline_box.&#039; margin-40&#039;); ?&gt;&gt;\n\n          &lt;?php $options = get_option(&#039;pureline&#039;); if (($pureline_header_meta == &quot;&quot;) || ($pureline_header_meta == &quot;single_archive&quot;))\n        { ?&gt;\n\n\t\t\t\t\t&lt;h1 class=&quot;entry-title&quot;&gt;\n\n          &lt;a href=&quot;&lt;?php the_permalink() ?&gt;&quot; rel=&quot;bookmark&quot; title=&quot;Permanent Link to &lt;?php the_title_attribute(); ?&gt;&quot;&gt;\n&lt;?php\nif ( get_the_title() ){ $title = the_title(&#039;&#039;, &#039;&#039;, false);\necho pureline_truncate($title, 40, &#039;...&#039;); }else{ _e( &#039;Untitled&#039;, &#039;pure-line&#039; );  }\n ?&gt;&lt;\/a&gt; \n\n          &lt;\/h1&gt;\n\n\t\t\t\t\t&lt;!--BEGIN .entry-meta .entry-header--&gt;\n\t\t\t\t\t&lt;div class=&quot;entry-meta entry-header&quot;&gt;\n          &lt;a href=&quot;&lt;?php the_permalink() ?&gt;&quot;&gt;&lt;span class=&quot;published&quot;&gt;&lt;?php the_time(&#039;M d&#039;); ?&gt;, &lt;?php the_time(&#039;Y&#039;); ?&gt;&lt;\/strong&gt;&lt;\/span&gt;&lt;\/a&gt;\n          &lt;span class=&quot;author vcard&quot;&gt;\n\n          ~ &lt;?php _e( &#039;Written by&#039;, &#039;pure-line&#039; ); ?&gt; &lt;strong&gt;&lt;?php printf( &#039;&lt;a class=&quot;url fn&quot; href=&quot;&#039; . get_author_posts_url( $authordata-&gt;ID, $authordata-&gt;user_nicename ) . &#039;&quot; title=&quot;&#039; . sprintf( &#039;Zobacz wszystkie wpisy %s&#039;, $authordata-&gt;display_name ) . &#039;&quot;&gt;&#039; . get_the_author() . &#039;&lt;\/a&gt;&#039; ) ?&gt;&lt;\/strong&gt;&lt;\/span&gt;\n\n              &lt;?php if ( comments_open() ) : ?&gt;\n          &lt;span class=&quot;comment-count&quot;&gt; ~ &lt;?php comments_popup_link( __( &#039;Skomentuj&#039;, &#039;pure-line&#039; ), __( &#039;1 komentarz&#039;, &#039;pure-line&#039; ), __( &#039;2 komentarze&#039;, &#039;pure-line&#039; ), __ ( &#039;3 komentarze&#039;, &#039;pure-line&#039; ), __( &#039;4 komentarze&#039;, &#039;pure-line&#039; ), __( &#039;% komentarzy&#039;, &#039;pure-line&#039; ) ); ?&gt;&lt;\/span&gt;\n          &lt;?php else : \/\/ comments are closed\n           endif; ?&gt;\n\n\t\t\t\t\t\t &lt;?php edit_post_link( __( &#039;Edytuj&#039;, &#039;pure-line&#039; ), &#039;&lt;span class=&quot;edit-post&quot;&gt;&#039;, &#039;&lt;\/span&gt;&#039; ); ?&gt;\n\n\t\t\t\t\t&lt;!--END .entry-meta .entry-header--&gt;\n                    &lt;\/div&gt;\n\n                  &lt;?php } else { ?&gt;\n\n                    &lt;h1 class=&quot;entry-title fl-l&quot;&gt;&lt;a href=&quot;&lt;?php the_permalink() ?&gt;&quot; rel=&quot;bookmark&quot; title=&quot;Permanent Link to &lt;?php the_title_attribute(); ?&gt;&quot;&gt;\n&lt;?php\nif ( get_the_title() ){ $title = the_title(&#039;&#039;, &#039;&#039;, false);\necho pureline_truncate($title, 40, &#039;...&#039;); }else{ _e( &#039;Untitled&#039;, &#039;pure-line&#039; );  }\n ?&gt;&lt;\/a&gt; &lt;\/h1&gt;\n\n                     &lt;?php if ( current_user_can( &#039;edit_post&#039;, $post-&gt;ID ) ): ?&gt;\n\n\t\t\t\t\t\t&lt;?php edit_post_link( __( &#039;Edytuj&#039;, &#039;pure-line&#039; ), &#039;&lt;span class=&quot;edit-post edit-attach&quot;&gt;&#039;, &#039;&lt;\/span&gt;&#039; ); ?&gt;\n\n                    &lt;?php endif; ?&gt;\n\n                    &lt;br \/&gt;&lt;br \/&gt;&lt;?php } ?&gt; \n\n\t\t\t\t\t&lt;!--BEGIN .entry-content .article--&gt;\n\t\t\t\t\t&lt;div class=&quot;entry-content article&quot;&gt;\n\n            &lt;?php  \n\nif(has_post_thumbnail()) {\n\techo &#039;&lt;a class=&quot;post-thumbnail&quot; href=&quot;&#039;; the_permalink(); echo &#039;&quot;&gt;&#039;;the_post_thumbnail(&#039;post-thumbnail&#039;); echo &#039;&lt;\/a&gt;&#039;;\n\n     } else {\n\n                      $image = pureline_get_first_image();\n                        if ($image):\n                      echo &#039;&lt;a class=&quot;post-thumbnail&quot; href=&quot;&#039;; the_permalink(); echo&#039;&quot;&gt;&lt;img src=&quot;&#039;.$image.&#039;&quot; alt=&quot;&#039;;the_title_attribute();echo&#039;&quot; \/&gt;&lt;\/a&gt;&#039;;\n\n                       endif;\n               } ?&gt;\n\n          &lt;?php $postexcerpt = get_the_content();\n$postexcerpt = apply_filters(&#039;the_content&#039;, $postexcerpt);\n$postexcerpt = str_replace(&#039;]]&gt;&#039;, &#039;]]&gt;&#039;, $postexcerpt);\n$postexcerpt = wp_filter_nohtml_kses($postexcerpt);\n$postexcerpt = strip_shortcodes($postexcerpt);\n\necho pureline_truncate($postexcerpt, 350, &#039; [...]&#039;);\n ?&gt;\n\n          &lt;div class=&quot;entry-meta entry-footer&quot;&gt;\n\n          &lt;span class=&quot;read-more&quot;&gt;\n           &lt;a href=&quot;&lt;?php the_permalink(); ?&gt;&quot;&gt;&lt;?php _e(&#039;~ read more ~&#039;, &#039;pure-line&#039; ); ?&gt;&lt;\/a&gt;\n           &lt;\/span&gt;\n\n          &lt;\/div&gt;\n\n\t\t\t\t\t&lt;!--END .entry-content .article--&gt;\n          &lt;div style=&quot;clear:both;&quot;&gt;&lt;\/div&gt;\n\t\t\t\t\t&lt;\/div&gt;\n\n\t\t\t\t&lt;!--END .hentry--&gt;\n\t\t\t\t&lt;\/div&gt;   \n\n        &lt;?php $i=&#039;&#039;;$i++; ?&gt; \n\n\t\t\t\t&lt;?php endwhile; ?&gt;\n\t\t\t\t&lt;?php get_template_part( &#039;navigation&#039;, &#039;index&#039; ); ?&gt;\n\t\t\t\t&lt;?php else : ?&gt;\n\n        &lt;?php if (is_search()) { ?&gt;\n\n        \t&lt;!--BEGIN #post-0--&gt;\n\t\t\t\t&lt;div id=&quot;post-0&quot; &lt;?php post_class(); ?&gt;&gt;\n\t\t\t\t\t&lt;h1 class=&quot;entry-title&quot;&gt;&lt;?php _e( &#039;Your search for&#039;, &#039;pure-line&#039; ); ?&gt; &quot;&lt;?php echo the_search_query(); ?&gt;&quot; &lt;?php _e( &#039;did not match any entries&#039;, &#039;pure-line&#039; ); ?&gt;&lt;\/h1&gt;\n\n\t\t\t\t\t&lt;!--BEGIN .entry-content--&gt;\n\t\t\t\t\t&lt;div class=&quot;entry-content&quot;&gt;\n\t\t\t\t&lt;br \/&gt;\n\t\t\t\t\t\t&lt;p&gt;&lt;?php _e( &#039;Suggestions:&#039;, &#039;pure-line&#039; ); ?&gt;&lt;\/p&gt;\n\t\t\t\t\t\t&lt;ul&gt;\n\t\t\t\t\t\t\t&lt;li&gt;&lt;?php _e( &#039;Make sure all words are spelled correctly.&#039;, &#039;pure-line&#039; ); ?&gt;&lt;\/li&gt;\n\t\t\t\t\t\t\t&lt;li&gt;&lt;?php _e( &#039;Try different keywords.&#039;, &#039;pure-line&#039; ); ?&gt;&lt;\/li&gt;\n\t\t\t\t\t\t\t&lt;li&gt;&lt;?php _e( &#039;Try more general keywords.&#039;, &#039;pure-line&#039; ); ?&gt;&lt;\/li&gt;\n\t\t\t\t\t\t&lt;\/ul&gt;\n\t\t\t\t\t&lt;!--END .entry-content--&gt;\n\t\t\t\t\t&lt;\/div&gt;\n\t\t\t\t&lt;!--END #post-0--&gt;\n\t\t\t\t&lt;\/div&gt;\n\n        &lt;?php } else { ?&gt;\n\n\t\t\t\t&lt;!--BEGIN #post-0--&gt;\n\t\t\t\t&lt;div id=&quot;post-0&quot; &lt;?php post_class(); ?&gt;&gt;\n\t\t\t\t\t&lt;h1 class=&quot;entry-title&quot;&gt;&lt;?php _e( &#039;Not Found&#039;, &#039;pure-line&#039; ); ?&gt;&lt;\/h1&gt;\n\n\t\t\t\t\t&lt;!--BEGIN .entry-content--&gt;\n\t\t\t\t\t&lt;div class=&quot;entry-content&quot;&gt;\n\t\t\t\t\t\t&lt;p&gt;&lt;?php _e( &#039;Sorry, but you are looking for something that isn\\&#039;t here.&#039;, &#039;pure-line&#039; ); ?&gt;&lt;\/p&gt;\n\t\t\t\t\t\t\t&lt;!--END .entry-content--&gt;\n\t\t\t\t\t&lt;\/div&gt;\n\t\t\t\t&lt;!--END #post-0--&gt;\n\t\t\t\t&lt;\/div&gt;   \n\n        &lt;?php } ?&gt;\n\n\t\t\t&lt;?php endif; ?&gt;\n\n&lt;!----------------------\n -----------------------\n -----------------------\n ---- 2 or 3 columns end\n -----------------------\n -----------------------\n -----------------------&gt;  \n\n &lt;!----------------------\n -----------------------\n -----------------------\n ---- 1 column begin\n -----------------------\n -----------------------\n -----------------------&gt; \n\n  &lt;?php } else { ?&gt;    \n\n      &lt;?php $options = get_option(&#039;pureline&#039;); if (($pureline_nav_links == &quot;before&quot;) || ($pureline_nav_links == &quot;both&quot;)) { ?&gt;\n\n\t\t\t\t   &lt;span class=&quot;nav-top&quot;&gt;\n\t\t\t\t&lt;?php get_template_part( &#039;navigation&#039;, &#039;index&#039; ); ?&gt;\n        &lt;\/span&gt;\n\n        &lt;?php } else {?&gt; \n\n        &lt;?php } ?&gt; \n\n\t\t\t&lt;?php if ( have_posts() ) : ?&gt;\n                &lt;?php while ( have_posts() ) : the_post(); ?&gt;\n\n\t\t\t\t&lt;!--BEGIN .hentry--&gt;\n\t\t\t\t&lt;div id=&quot;post-&lt;?php the_ID(); ?&gt;&quot; &lt;?php post_class(); ?&gt;&gt;\n\n          &lt;?php if (($pureline_header_meta == &quot;&quot;) || ($pureline_header_meta == &quot;single_archive&quot;))\n        { ?&gt;\n\n        &lt;h1 class=&quot;entry-title&quot;&gt;&lt;a href=&quot;&lt;?php the_permalink(); ?&gt;&quot; rel=&quot;bookmark&quot; title=&quot;Permanent Link to &lt;?php the_title_attribute(); ?&gt;&quot;&gt;&lt;?php if ( get_the_title() ){ the_title();}else{ _e( &#039;Untitled&#039;, &#039;pure-line&#039; );  } ?&gt;&lt;\/a&gt;&lt;\/h1&gt;\n\n\t\t\t\t\t&lt;!--BEGIN .entry-meta .entry-header--&gt;\n\t\t\t\t\t&lt;div class=&quot;entry-meta entry-header&quot;&gt;\n          &lt;a href=&quot;&lt;?php the_permalink() ?&gt;&quot;&gt;&lt;span class=&quot;published&quot;&gt;&lt;?php the_time(&#039;M d&#039;); ?&gt;, &lt;?php the_time(&#039;Y&#039;); ?&gt;&lt;\/strong&gt;&lt;\/span&gt;&lt;\/a&gt;\n\n           &lt;?php if ( comments_open() ) : ?&gt;\n          &lt;span class=&quot;comment-count&quot;&gt;&lt;a href=&quot;&lt;?php comments_link(); ?&gt;&quot;&gt;&lt;?php comments_popup_link( __( &#039;Skomentuj&#039;, &#039;pure-line&#039; ), __( &#039;1 komentarz&#039;, &#039;pure-line&#039; ), __( &#039;2 komentarze&#039;, &#039;pure-line&#039; ), __ ( &#039;3 komentarze&#039;, &#039;pure-line&#039; ), __( &#039;4 komentarze&#039;, &#039;pure-line&#039; ), __( &#039;% komentarzy&#039;, &#039;pure-line&#039; ) ); ?&gt;&lt;\/span&gt;\n\n          &lt;?php else : \/\/ comments are closed\n           endif; ?&gt;\n\n          &lt;span class=&quot;author vcard&quot;&gt;\n\n          ~ &lt;?php _e( &#039;Written by&#039;, &#039;pure-line&#039; ); ?&gt; &lt;strong&gt;&lt;?php printf( &#039;&lt;a class=&quot;url fn&quot; href=&quot;&#039; . get_author_posts_url( $authordata-&gt;ID, $authordata-&gt;user_nicename ) . &#039;&quot; title=&quot;&#039; . sprintf( &#039;View all posts by %s&#039;, $authordata-&gt;display_name ) . &#039;&quot;&gt;&#039; . get_the_author() . &#039;&lt;\/a&gt;&#039; ) ?&gt;&lt;\/strong&gt;&lt;\/span&gt;\n\n            &lt;?php edit_post_link( __( &#039;edit&#039;, &#039;pure-line&#039; ), &#039;&lt;span class=&quot;edit-post&quot;&gt;&#039;, &#039;&lt;\/span&gt;&#039; ); ?&gt;\n\t\t\t\t\t&lt;!--END .entry-meta .entry-header--&gt;\n                    &lt;\/div&gt;\n\n                    &lt;?php } else { ?&gt;\n\n                    &lt;h1 class=&quot;entry-title fl-l&quot;&gt;&lt;a href=&quot;&lt;?php the_permalink(); ?&gt;&quot; rel=&quot;bookmark&quot; title=&quot;Permanent Link to &lt;?php the_title_attribute(); ?&gt;&quot;&gt;&lt;?php if ( get_the_title() ){ the_title();}else{ _e( &#039;Untitled&#039;, &#039;pure-line&#039; );  } ?&gt;&lt;\/a&gt;&lt;\/h1&gt;\n\n                     &lt;?php if ( current_user_can( &#039;edit_post&#039;, $post-&gt;ID ) ): ?&gt;\n\n\t\t\t\t\t\t&lt;?php edit_post_link( __( &#039;Edytuj&#039;, &#039;pure-line&#039; ), &#039;&lt;span class=&quot;edit-post edit-attach&quot;&gt;&#039;, &#039;&lt;\/span&gt;&#039; ); ?&gt;\n\n                    &lt;?php endif; ?&gt;\n\n                    &lt;br \/&gt;&lt;br \/&gt;&lt;?php } ?&gt;\n\n\t\t\t\t\t&lt;!--BEGIN .entry-content .article--&gt;\n\t\t\t\t\t&lt;div class=&quot;entry-content article&quot;&gt;\n\n           &lt;?php $options = get_option(&#039;pureline&#039;); if (($options[&#039;pureline_excerpt_thumbnail&#039;] == &quot;1&quot;)) { ?&gt; \n\n            &lt;?php if(has_post_thumbnail()) {\n\techo &#039;&lt;span class=&quot;thumbnail&quot;&gt;&lt;a class=&quot;post-thumbnail&quot; href=&quot;&#039;; the_permalink(); echo &#039;&quot;&gt;&#039;;the_post_thumbnail(&#039;post-thumbnail&#039;); echo &#039;&lt;\/a&gt;&lt;\/span&gt;&#039;;\n\n     } else {\n\n                      $image = pureline_get_first_image();\n                        if ($image):\n                      echo &#039;&lt;span class=&quot;thumbnail&quot;&gt;&lt;a class=&quot;post-thumbnail&quot; href=&quot;&#039;; the_permalink(); echo&#039;&quot;&gt;&lt;img src=&quot;&#039;.$image.&#039;&quot; alt=&quot;&#039;;the_title_attribute();echo&#039;&quot; \/&gt;&lt;\/a&gt;&lt;\/span&gt;&#039;;\n                       endif;\n               } ?&gt;\n\n          &lt;?php the_excerpt();?&gt;\n\n           &lt;span class=&quot;read-more&quot;&gt;\n           &lt;a href=&quot;&lt;?php the_permalink(); ?&gt;&quot;&gt;&lt;?php _e(&#039;~ read more ~&#039;, &#039;pure-line&#039; ); ?&gt;&lt;\/a&gt;\n           &lt;\/span&gt;\n\n          &lt;?php } else { ?&gt;\n\n\t\t\t\t\t\t&lt;?php the_content( __(&#039;~ read more ~&#039;, &#039;pure-line&#039; ) ); ?&gt;\n\n            &lt;?php wp_link_pages( array( &#039;before&#039; =&gt; &#039;&lt;div id=&quot;page-links&quot;&gt;&lt;p&gt;&#039; . __( &#039;&lt;strong&gt;Pages:&lt;\/strong&gt;&#039;, &#039;pure-line&#039; ), &#039;after&#039; =&gt; &#039;&lt;\/p&gt;&lt;\/div&gt;&#039; ) ); ?&gt;\n\n            &lt;?php } ?&gt;\n\n\t\t\t\t\t&lt;!--END .entry-content .article--&gt;\n          &lt;div style=&quot;clear:both;&quot;&gt;&lt;\/div&gt;\n\t\t\t\t\t&lt;\/div&gt;\n\n\t\t\t\t\t&lt;!--BEGIN .entry-meta .entry-footer--&gt;\n\n                    &lt;div class=&quot;entry-meta entry-footer&quot;&gt;\n                     &lt;?php if ( pureline_get_terms( &#039;cats&#039; ) ) { ?&gt;\n                    \t&lt;span class=&quot;entry-categories&quot;&gt;&lt;strong&gt;&lt;?php _e(&#039;Kategorie&#039;, &#039;pure-line&#039; ); ?&gt;&lt;\/strong&gt; &lt;?php echo pureline_get_terms( &#039;cats&#039; ); ?&gt;&lt;\/span&gt;\n                      &lt;?php } ?&gt;&lt;?php if ( pureline_get_terms( &#039;cats&#039; ) &amp;&amp; pureline_get_terms( &#039;tags&#039; ) ) { ?&gt;&lt;span class=&quot;meta-sep&quot;&gt;-&lt;\/span&gt;&lt;?php } ?&gt;\n\t\t\t\t\t\t&lt;?php if ( pureline_get_terms( &#039;tags&#039; ) ) { ?&gt;\n\n                        &lt;span class=&quot;entry-tags&quot;&gt;&lt;strong&gt;&lt;?php _e(&#039;Tagged&#039;, &#039;pure-line&#039; ); ?&gt;&lt;\/strong&gt; &lt;?php echo pureline_get_terms( &#039;tags&#039; ); ?&gt;&lt;\/span&gt;\n                        &lt;?php } ?&gt;\n\t\t\t\t\t&lt;!--END .entry-meta .entry-footer--&gt;\n                    &lt;\/div&gt;\n\n\t\t\t\t&lt;!--END .hentry--&gt;\n\t\t\t\t&lt;\/div&gt;\n\n       &lt;?php $options = get_option(&#039;pureline&#039;); if (($pureline_share_this == &quot;single_archive&quot;) || ($pureline_share_this == &quot;all&quot;)) {\n        pureline_sharethis();  } else { ?&gt; &lt;div class=&quot;margin-40&quot;&gt;&lt;\/div&gt; &lt;?php }?&gt;\n\n      &lt;?php comments_template(); ?&gt;  \n\n\t\t\t\t&lt;?php endwhile; ?&gt;\n\n        &lt;?php $options = get_option(&#039;pureline&#039;); if (($pureline_nav_links == &quot;&quot;) || ($pureline_nav_links == &quot;after&quot;) || ($pureline_nav_links == &quot;both&quot;)) { ?&gt;\n\n\t\t\t\t&lt;?php get_template_part( &#039;navigation&#039;, &#039;index&#039; ); ?&gt;\n\n        &lt;?php } else {?&gt;\n\n        &lt;?php } ?&gt;\n\n\t\t\t\t&lt;?php else : ?&gt;\n\n\t\t     &lt;?php if (is_search()) { ?&gt;\n\n        \t&lt;!--BEGIN #post-0--&gt;\n\t\t\t\t&lt;div id=&quot;post-0&quot; &lt;?php post_class(); ?&gt;&gt;\n\n    \t\t&lt;h1 class=&quot;entry-title&quot;&gt;&lt;?php _e( &#039;Your search for&#039;, &#039;pure-line&#039; ); ?&gt; &quot;&lt;?php echo the_search_query(); ?&gt;&quot; &lt;?php _e( &#039;did not match any entries&#039;, &#039;pure-line&#039; ); ?&gt;&lt;\/h1&gt;\n\n\t\t\t\t\t&lt;!--BEGIN .entry-content--&gt;\n\t\t\t\t\t&lt;div class=&quot;entry-content&quot;&gt;\n\t\t\t\t&lt;br \/&gt;\n\t\t\t\t\t\t&lt;p&gt;&lt;?php _e( &#039;Suggestions:&#039;, &#039;pure-line&#039; ); ?&gt;&lt;\/p&gt;\n\t\t\t\t\t\t&lt;ul&gt;\n\t\t\t\t\t\t\t&lt;li&gt;&lt;?php _e( &#039;Make sure all words are spelled correctly.&#039;, &#039;pure-line&#039; ); ?&gt;&lt;\/li&gt;\n\t\t\t\t\t\t\t&lt;li&gt;&lt;?php _e( &#039;Try different keywords.&#039;, &#039;pure-line&#039; ); ?&gt;&lt;\/li&gt;\n\t\t\t\t\t\t\t&lt;li&gt;&lt;?php _e( &#039;Try more general keywords.&#039;, &#039;pure-line&#039; ); ?&gt;&lt;\/li&gt;\n\t\t\t\t\t\t&lt;\/ul&gt;\n\t\t\t\t\t&lt;!--END .entry-content--&gt;\n\t\t\t\t\t&lt;\/div&gt;\n\t\t\t\t&lt;!--END #post-0--&gt;\n\t\t\t\t&lt;\/div&gt;\n\n        &lt;?php } else { ?&gt;\n\n\t\t\t\t&lt;!--BEGIN #post-0--&gt;\n\t\t\t\t&lt;div id=&quot;post-0&quot; &lt;?php post_class(); ?&gt;&gt;\n\t\t\t\t\t&lt;h1 class=&quot;entry-title&quot;&gt;&lt;?php _e( &#039;Not Found&#039;, &#039;pure-line&#039; ); ?&gt;&lt;\/h1&gt;\n\n\t\t\t\t\t&lt;!--BEGIN .entry-content--&gt;\n\t\t\t\t\t&lt;div class=&quot;entry-content&quot;&gt;\n\t\t\t\t\t\t&lt;p&gt;&lt;?php _e( &#039;Sorry, but you are looking for something that isn\\&#039;t here.&#039;, &#039;pure-line&#039; ); ?&gt;&lt;\/p&gt;\n\n\t\t\t\t\t\t\t&lt;!--END .entry-content--&gt;\n\t\t\t\t\t&lt;\/div&gt;\n\t\t\t\t&lt;!--END #post-0--&gt;\n\t\t\t\t&lt;\/div&gt;   \n\n        &lt;?php } ?&gt;\n\n\t\t\t&lt;?php endif; ?&gt;\n\n      &lt;?php } ?&gt;\n\n &lt;!----------------------\n -----------------------\n -----------------------\n ---- 1 column end\n -----------------------\n -----------------------\n -----------------------&gt;       \n\n&lt;!----------------------\n  -----------------------\n  -----------------------\n  ---- home\/date\/category\/tag\/search\/author end\n  -----------------------\n  -----------------------\n  -----------------------&gt; \n\n      &lt;?php } elseif (is_page()) { ?&gt;\n\n      &lt;?php if ( have_posts() ) : ?&gt;\n\t\t\t\t&lt;?php while ( have_posts() ) : the_post(); ?&gt;\n\n\t\t\t\t&lt;!--BEGIN .hentry--&gt;\n\t\t\t\t&lt;div id=&quot;post-&lt;?php the_ID(); ?&gt;&quot; &lt;?php post_class(); ?&gt;&gt;\n\t\t\t\t&lt;h1 class=&quot;entry-title&quot;&gt;&lt;?php if ( get_the_title() ){ the_title(); }else{ _e( &#039;Untitled&#039;, &#039;pure-line&#039; );  } ?&gt;&lt;\/h1&gt;  \n\n                    &lt;?php if ( current_user_can( &#039;edit_post&#039;, $post-&gt;ID ) ): ?&gt;\n\n\t\t\t\t\t\t&lt;?php edit_post_link( __( &#039;Edytuj&#039;, &#039;pure-line&#039; ), &#039;&lt;span class=&quot;edit-page&quot;&gt;&#039;, &#039;&lt;\/span&gt;&#039; ); ?&gt;\n\n                    &lt;?php endif; ?&gt;\n\n                    &lt;br \/&gt;&lt;br \/&gt;\n\n\t\t\t\t\t&lt;!--BEGIN .entry-content .article--&gt;\n\t\t\t\t\t&lt;div class=&quot;entry-content article&quot;&gt;\n\t\t\t\t\t\t&lt;?php the_content( __(&#039;~ read more ~&#039;, &#039;pure-line&#039; ) ); ?&gt;\n\t\t\t\t\t&lt;!--END .entry-content .article--&gt;\n          &lt;div style=&quot;clear:both;&quot;&gt;&lt;\/div&gt;\n\t\t\t\t\t&lt;\/div&gt;\n\n\t\t\t\t\t&lt;!-- Auto Discovery Trackbacks\n\t\t\t\t\t&lt;?php trackback_rdf(); ?&gt;\n\t\t\t\t\t--&gt;\n\t\t\t\t&lt;!--END .hentry--&gt;\n\t\t\t\t&lt;\/div&gt;\n\n               &lt;?php $options = get_option(&#039;pureline&#039;); if (($pureline_share_this == &quot;all&quot;)) {\n        pureline_sharethis();  } ?&gt;\n\n\t\t\t\t&lt;?php comments_template( &#039;&#039;, true ); ?&gt;\n\n\t\t\t&lt;?php endwhile; endif; ?&gt;\n\n      &lt;?php } elseif (is_404()) { ?&gt;\n\n     \t&lt;!--BEGIN #post-0--&gt;\n\t\t\t\t&lt;div id=&quot;post-0&quot; &lt;?php post_class(); ?&gt;&gt;\n           &lt;h1 class=&quot;entry-title&quot;&gt;&lt;?php _e( &#039;Not Found&#039;, &#039;pure-line&#039; ); ?&gt;&lt;\/h1&gt;\n\n\t\t\t\t\t&lt;!--BEGIN .entry-content--&gt;\n\t\t\t\t\t&lt;div class=&quot;entry-content&quot;&gt;\n\t\t\t\t\t\t&lt;p&gt;&lt;?php _e( &#039;Sorry, but you are looking for something that isn\\&#039;t here.&#039;, &#039;pure-line&#039; ); ?&gt;&lt;\/p&gt;\n\n\t\t\t\t\t&lt;!--END .entry-content--&gt;\n\t\t\t\t\t&lt;\/div&gt;\n\t\t\t\t&lt;!--END #post-0--&gt;\n\t\t\t\t&lt;\/div&gt; \n\n      &lt;?php } ?&gt;\n\n\t\t\t&lt;!--END #primary .hfeed--&gt;\n\t\t\t&lt;\/div&gt;\n\n        &lt;?php $options = get_option(&#039;pureline&#039;);\n  if (($pureline_layout == &quot;1c&quot;))  \n\n    { ?&gt;\n\n  &lt;?php } else { ?&gt;\n\n&lt;?php get_sidebar(); ?&gt;\n\n    &lt;?php } ?&gt;\n\n&lt;?php get_footer(); ?&gt;<\/code><\/pre>\n","protected":false},"template":"","class_list":["post-39047","topic","type-topic","status-closed","hentry","topic-tag-blog","topic-tag-strona-glowna","topic-tag-strona-posta"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pl.wordpress.org\/support\/wp-json\/wp\/v2\/topic\/39047","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pl.wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/pl.wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/pl.wordpress.org\/support\/wp-json\/wp\/v2\/topic\/39047\/revisions"}],"wp:attachment":[{"href":"https:\/\/pl.wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=39047"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}