Advertisement
Guest User

Untitled

a guest
Aug 5th, 2012
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.95 KB | None | 0 0
  1. <?php get_header(); ?>
  2. <div id="content" class="grid_12 <?php echo of_get_option('blog_sidebar_pos') ?>">
  3. <?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
  4. <div id="post-<?php the_ID(); ?>" <?php post_class('post'); ?>>
  5. <article class="single-post">
  6. <header>
  7. <h1><?php the_title(); ?></h1>
  8. </header>
  9.  
  10. <?php $single_image_size = of_get_option('single_image_size'); ?>
  11. <?php if($single_image_size=='' || $single_image_size=='normal'){ ?>
  12. <?php if(has_post_thumbnail()) {
  13. echo "<div class='featured-thumbnail'><div class='img-wrap'><img src='/wp-content/uploads/2012/05/act_recruit_news.jpg' /></div></div>";
  14. }
  15. ?>
  16. <?php } else { ?>
  17. <?php if(has_post_thumbnail()) {
  18. echo "<div class='featured-thumbnail large'><div class='img-wrap'><div class='f-thumb-wrap'><img src='wp-content/uploads/2012/05/act_recruit_news.jpg' /></div></div></div>";
  19. }
  20. ?>
  21. <?php } ?>
  22.  
  23. <!-- AddThis Button BEGIN -->
  24. <div class="addthis_toolbox addthis_default_style ">
  25. <a class="addthis_button_facebook_like" fb:like:layout="button_count"></a>
  26. <a class="addthis_button_tweet"></a>
  27. <a class="addthis_button_google_plusone" g:plusone:size="medium"></a>
  28. <a class="addthis_counter addthis_pill_style"></a>
  29. </div>
  30. <script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=ra-4f3c2fc23ed53536"></script>
  31. <!-- AddThis Button END --><br><br>
  32. <?php the_tags( $before, $sep, $after ); ?><br><br>
  33. <div class="post-content">
  34. <?php the_content(); ?>
  35. <?php wp_link_pages('before=<div class="pagination">&after=</div>'); ?>
  36. </div><!--.post-content-->
  37. </article>
  38.  
  39. </div><!-- #post-## -->
  40.  
  41. <form action="https://nbge.createsend.com/t/j/s/yuhhuk/" method="post" id="subForm">
  42. <table cellspacing="5" cellpadding="5" border="5" bordercolor="#09F"rules="none" frame="box" width="100%">
  43.  
  44. <tr valign="top">
  45. <td colspan="2" align="left" valign="middle"><h2>Subscribe to our mailing list</h2>To keep up to date with all the latest news and promotions, subscribe to our mailing list.<br></td>
  46. </tr>
  47. <tr valign="top">
  48. <td align="right">Your
  49. <label for="yuhhuk-yuhhuk">Email address:</label></td>
  50. <td><input type="text" name="cm-yuhhuk-yuhhuk" id="yuhhuk-yuhhuk" size="30" /></td>
  51. </tr>
  52. <tr>
  53. <td></td>
  54. </tr>
  55. <tr valign="top">
  56. <td></td>
  57. <td><input type="submit" value="Subscribe" /></td>
  58. </tr>
  59. </table>
  60. </form>
  61. <br><br>
  62.  
  63. <nav class="oldernewer">
  64. <div class="older">
  65. <?php previous_post_link('%link', '&laquo; Previous post') ?>
  66. </div><!--.older-->
  67. <div class="newer">
  68. <?php next_post_link('%link', 'Next Post &raquo;') ?>
  69. </div><!--.newer-->
  70. </nav><!--.oldernewer-->
  71.  
  72. <?php comments_template( '', true ); ?>
  73.  
  74. <?php endwhile; /* end loop */ ?>
  75. </div><!--#content-->
  76. <?php get_sidebar(); ?>
  77. <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement