Advertisement
Guest User

Untitled

a guest
Nov 29th, 2012
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.92 KB | None | 0 0
  1. <?php get_header(); ?> <?php get_sidebar('ZSuttonPhoto'); ?>
  2. <!-- LOAD JAVASCRIPT LATE - JUST BEFORE THE BODY TAG
  3. That way the browser will have loaded the images
  4. and will know the width of the images. No need to
  5. specify the width in the CSS or inline. -->
  6.  
  7. <!-- jQuery library - Please load it from Google API's -->
  8. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js" type="text/javascript"></script>
  9.  
  10. <!-- jQuery UI Widget and Effects Core (custom download)
  11. You can make your own at: http://jqueryui.com/download -->
  12. <script src="js/jquery-ui-1.8.23.custom.min.js" type="text/javascript"></script>
  13.  
  14. <div class="BlogCSScontent-layout">
  15. <div class="BlogCSScontent-layout-row">
  16. <div class="BlogCSSlayout-cell BlogCSScontent">
  17. <?php get_sidebar('top'); ?>
  18. <?php
  19. if (have_posts()){
  20. /* Display navigation to next/previous posts when applicable */
  21. if (theme_get_option('theme_top_single_navigation')) {
  22. theme_page_navigation(
  23. array(
  24. 'next_link' => theme_get_previous_post_link('&laquo; %link'),
  25. 'prev_link' => theme_get_next_post_link('%link &raquo;')
  26. )
  27. );
  28. }
  29.  
  30. while (have_posts())
  31. {
  32. the_post();
  33. get_template_part('content', 'single');
  34. comments_template();
  35. }
  36.  
  37. /* Display navigation to next/previous posts when applicable */
  38. if (theme_get_option('theme_bottom_single_navigation')) {
  39. theme_page_navigation(
  40. array(
  41. 'next_link' => theme_get_previous_post_link('&laquo; %link'),
  42. 'prev_link' => theme_get_next_post_link('%link &raquo;')
  43. )
  44. );
  45. }
  46.  
  47. } else {
  48.  
  49. theme_404_content();
  50.  
  51. }
  52. ?>
  53. <?php get_sidebar('bottom'); ?>
  54. <div class="cleared"></div>
  55. </div>
  56. </div>
  57. </div>
  58. <div class="cleared"></div>
  59. <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement