Guest User

Untitled

a guest
Sep 13th, 2013
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.94 KB | None | 0 0
  1. <?php
  2. /**
  3. * The main template file.
  4. *
  5. * This is the most generic template file in a WordPress theme
  6. * and one of the two required files for a theme (the other being style.css).
  7. * It is used to display a page when nothing more specific matches a query.
  8. * E.g., it puts together the home page when no home.php file exists.
  9. * Learn more: http://codex.wordpress.org/Template_Hierarchy
  10. *
  11. * @package web2feel
  12. * @since web2feel 1.0
  13. */
  14.  
  15. get_header(); ?>
  16.  
  17. <div id="wideslider" class="flexslider">
  18. <ul class="slides">
  19. <li>
  20. <a href="#tutaj_jakiś_link"><img src="tutaj_url_obrazka" alt="" /></a>
  21. <div class="flex-caption"><h2>tutaj jakiś pytuł/podpis</h2></div>
  22. </li>
  23. <li>
  24. <a href="#tutaj_jakiś_link"><img src="tutaj_url_obrazka" alt="" /></a>
  25. <div class="flex-caption"><h2>tutaj jakiś pytuł/podpis</h2></div>
  26. </li>
  27. <li>
  28. <a href="#tutaj_jakiś_link"><img src="tutaj_url_obrazka" alt="" /></a>
  29. <div class="flex-caption"><h2>tutaj jakiś pytuł/podpis</h2></div>
  30. </li>
  31. </ul>
  32. </div>
  33.  
  34. <div id="primary" class="content-area">
  35. <div id="content" class="site-content" role="main">
  36.  
  37. <?php if ( have_posts() ) : ?>
  38.  
  39. <?php /* Start the Loop */ ?>
  40. <?php while ( have_posts() ) : the_post(); ?>
  41.  
  42. <?php
  43. /* Include the Post-Format-specific template for the content.
  44. * If you want to overload this in a child theme then include a file
  45. * called content-___.php (where ___ is the Post Format name) and that will be used instead.
  46. */
  47. get_template_part( 'content', get_post_format() );
  48. ?>
  49.  
  50. <?php endwhile; ?>
  51.  
  52. <div class="paginate ">
  53. <?php kriesi_pagination(); ?>
  54. </div>
  55.  
  56. <?php elseif ( current_user_can( 'edit_posts' ) ) : ?>
  57.  
  58. <?php get_template_part( 'no-results', 'index' ); ?>
  59.  
  60. <?php endif; ?>
  61.  
  62. </div><!-- #content .site-content -->
  63. </div><!-- #primary .content-area -->
  64.  
  65. <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment