Advertisement
Guest User

Untitled

a guest
Nov 4th, 2012
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 3.67 KB | None | 0 0
  1. <?php get_header(); ?>  
  2.             <div id="main">
  3.               <?php if(have_posts()) : ?><?php while(have_posts()) : the_post(); ?>
  4.                 <div class="entry">
  5.                 <div class="postmetadata">
  6.                     <span>Published by</span> <?php the_author() ?><br />
  7.                     <?php printf(__('<span>Filled under:</span> %s'), get_the_category_list(', ')); ?><br />
  8.                     <?php comments_popup_link(__('No Comments'), __('1 Comment'), __('% Comments'), '', __('Comments Closed') ); ?><br />
  9.                     <?php edit_post_link(__('[Edit this entry]'), '<br />', ''); ?>
  10.                 </div>
  11.                 <h1><?php the_title(); ?></h1>
  12.                 <div class="article" id="post-<?php the_ID(); ?>">
  13.                 <!------------------------------------------------------------------------>
  14.  
  15.                 <div class="flexslider">
  16.           <ul class="slides">
  17.             <li>
  18.                 <img src="<?php bloginfo('template_url'); ?>/images/kitchen_adventurer_cheesecake_brownie.jpg" />
  19.                 </li>
  20.                 <li>
  21.                 <img src="<?php bloginfo('template_url'); ?>/images/kitchen_adventurer_lemon.jpg" />
  22.                 </li>
  23.                 <li>
  24.                 <img src="<?php bloginfo('template_url'); ?>/images/kitchen_adventurer_donut.jpg" />
  25.                 </li>
  26.                 <li>
  27.                 <img src="<?php bloginfo('template_url'); ?>/images/kitchen_adventurer_caramel.jpg" />
  28.                 </li>
  29.           </ul>
  30.         </div>
  31.  
  32.  
  33.  
  34.   <!-- jQuery -->
  35.  
  36.  
  37.  
  38.   <!-- FlexSlider -->
  39.   <script defer src="<?php bloginfo('template_url'); ?>/js/jquery.flexslider.js"></script>
  40.  
  41.   <script type="text/javascript">
  42. <script type="text/javascript">
  43.  $(function(){
  44.  SyntaxHighlighter.all();
  45.  });
  46. (function($) {
  47.  
  48.     $(window).load(function() {
  49.  
  50.     $('.flexslider').flexslider({animation: "slide",start: function(slider){$('body').removeClass('loading');}});
  51.  
  52.     });
  53.  
  54. })(jQuery);
  55.  </script>
  56.                
  57.                 <!------------------------------------------------------------------------>
  58.                     <?php the_content(); ?>
  59.  
  60.                     <div class="postmetadata"><?php the_tags(__('<span>Tagged in:</span>') . ' ', ', ', '<br />'); ?>
  61.                     <span>Share this article:</span> <a href="http://www.facebook.com/sharer.php?u=<?php the_permalink();?>%26t=<?php the_title(); ?>">Facebook</a>, <a href="http://digg.com/submit?phase=2&amp;url=<?php the_permalink(); ?>&amp;title=<?php the_title(); ?>" title="Digg this!">Digg This</a>, <a href="http://del.icio.us/post?url=<?php the_permalink(); ?>&amp;title=<?php the_title(); ?>" title="Bookmark on Delicious.">Del.icio.us</a>, <a href="http://www.stumbleupon.com/submit?url=<?php the_permalink(); ?>&amp;title=<?php the_title(); ?>" title="StumbleUpon.">StumbleUpon</a>,
  62.                     <?php if (function_exists('wp_get_shortlink')) { ?>
  63.                     <a href="http://twitter.com/home/?status=<?php the_title(); ?>: <?php echo wp_get_shortlink(get_the_ID()); ?>" title="Tweet this!"> Tweet this</a>
  64.                     <?php }
  65.                     else { ?>
  66.                     <a href="http://twitter.com/home/?status=<?php the_title(); ?>: <?php the_permalink(); ?>" title="Tweet this!"> Tweet This!</a>
  67.                     <?php } ?>
  68.                     <br />
  69.  
  70.                     <?php comments_rss_link('RSS 2.0 feed'); ?> | <a href="<?php trackback_url(); ?>">Trackback</a>
  71.                     </div>
  72.                 </div>
  73.                 <div id="comments">
  74.                     <?php comments_template(); ?>
  75.                 </div>
  76.             <?php endwhile; ?>
  77.             <?php else : ?>
  78.                 <h1 id="error"><?php _e("Sorry, but you are looking for something that isn&#8217;t here."); ?></h1>
  79.             <?php endif; ?>
  80.             </div>        
  81.             </div>
  82.  
  83. <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement