web/wp-content/themes/vivee_portfolio/index.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                     </div>
       
    12                 </div>
       
    13                 <div class="end"></div>
       
    14             </div><!-- koniec wpisu -->
       
    15 			<?php endwhile; ?>
       
    16             <div class="navigation">
       
    17                 <div class="alignleft"><?php next_posts_link('&laquo; Starsze wpisy') ?></div>
       
    18                 <div class="alignright"><?php previous_posts_link('Nowsze wpisy &raquo;') ?></div>
       
    19                 <div class="end"></div>
       
    20             </div>
       
    21 			<?php else : ?>
       
    22 
       
    23             <h2 class="center">Not Found</h2>
       
    24             <p class="center">Sorry, but you are looking for something that isn't here.</p>
       
    25             <?php include (TEMPLATEPATH . "/searchform.php"); ?>
       
    26             <?php endif; ?>            
       
    27         </div>
       
    28     </div><!-- koniec page -->
       
    29 <?php get_footer(); ?>