web/wp-content/themes/vivee_portfolio/archive.php
changeset 1 0d28b7c10758
equal deleted inserted replaced
0:0d9a58d2c515 1:0d28b7c10758
       
     1 <?php get_header(); ?>
       
     2         <div id="main">
       
     3 	<?php if (have_posts()) : ?>
       
     4 		<?php while (have_posts()) : the_post(); ?>        
       
     5         	<div class="wpis_main"><!-- pojedynczy wpis na stronie głównej -->
       
     6             	<div class="img"><?php custom_field_image("obrazek1");?></div>
       
     7                 <div class="tresc">
       
     8                 	<h2><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h2>
       
     9                     <div class="entry">
       
    10 					<?php the_content("więcej", the_title('', '', false)); ?>
       
    11                     
       
    12                     </div>
       
    13                 </div>
       
    14                 <div class="end"></div>
       
    15             </div><!-- koniec wpisu -->
       
    16 			<?php endwhile; ?>
       
    17             <div class="navigation">
       
    18                 <div class="alignleft"><?php next_posts_link('&laquo; Starsze wpisy') ?></div>
       
    19                 <div class="alignright"><?php previous_posts_link('Nowsze wpisy &raquo;') ?></div>
       
    20                 <div class="end"></div>
       
    21             </div>
       
    22 			<?php else : ?>
       
    23 
       
    24             <h2 class="center">Not Found</h2>
       
    25             <p class="center">Sorry, but you are looking for something that isn't here.</p>
       
    26             <?php include (TEMPLATEPATH . "/searchform.php"); ?>
       
    27             <?php endif; ?>            
       
    28         </div>
       
    29     </div><!-- koniec page -->
       
    30 <?php get_footer(); ?>
       
    31