Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

tags.php

By: utnalove on Mar 18th, 2013  |  syntax: PHP  |  size: 3.48 KB  |  views: 18  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <?php get_header(); ?>
  2.         <section class="middle_single" id="middle_single">
  3. <div class="entry_blog">
  4. <header><h2 class="breadcrumb"><?php wp_title(); ?></h2>
  5. <div id="squaredbox"><?php echo tag_description(); ?></div>
  6. </header>
  7. </div>
  8.                 <?php if (have_posts()) : ?><?php $post = $posts[0];?>
  9.                 <?php  if (is_month())  ?>
  10.                         <h2 class="breadcrumb"><?php single_cat_title('Articles Tagged '); ?></h2>
  11.                                                 <?php while (have_posts()) : the_post(); ?>
  12.                         <article itemscope itemtype="http://schema.org/BlogPosting">
  13.                                                                         <div class="post-title-cat"><h3 itemprop="name headline"><a title="Permanent Link to <?php the_title(); ?>" href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h3></div>
  14.                         <div class="post_common">
  15.                         <div style="clear:both"></div>
  16.                                                         <div class="post_date">
  17.                                                                 <time datetime="<?php the_time('c') ?>" itemprop="datePublished"> <?php the_time('j F Y') ?></time> | <?php _e("Posted by: ","language")?> <?php the_author_posts_link(); ?> | <a href="<?php comments_link(); ?>"><?php comments_number('no comments','one comment','% comments'); ?>.</a>    
  18.                                                         </div><br/>
  19.                                                 <div class="filed">
  20.                                                         <?php _e("Categories: ","language")?> <?php the_category(', ') ?></div><div style="clear:both">
  21.                                                 </div>
  22.  
  23.                                 <div class="entry_blog" itemprop="articleBody">
  24.                                         <?php if ( has_post_thumbnail() ) {
  25. the_post_thumbnail( 'large', array('class'=>'post_thumbnail_common', 'alt' => get_the_title() , 'title' => get_the_title(), 'itemprop'=>'image' ));
  26. echo contentnoimg(91);} else { echo content(91); } ?></div>
  27.  
  28. <!-- start social stuff -->
  29. <div class="bottomcontainerBox" style="border:1px solid #808080;background-color:#F0F4F9;margin-bottom: 10px;">
  30. <div style="float:left; width:130px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
  31. <div class="fb-like" data-send="false" data-href="<?php the_permalink() ?>" data-layout="button_count" data-width="85" data-show-faces="true"></div>
  32. </div>
  33.  
  34. <div style="float:left; width:100px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
  35. <div class="g-plusone" data-size="medium" data-href="<?php the_permalink() ?>"></div>
  36. <!-- Place this tag after the last +1 button tag. -->
  37. <script type="text/javascript">
  38.   (function() {
  39.     var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
  40.     po.src = 'https://apis.google.com/js/plusone.js';
  41.     var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
  42.   })();
  43. </script>
  44. </div>
  45.  
  46. <div style="float:left; width:95px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
  47. <a href="https://twitter.com/share" class="twitter-share-button" data-via="glamourinapl" data-related="glamourinapl" data-hashtags="glamourina" data-url="<?php the_permalink() ?>">Tweet</a>
  48. <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
  49. </div>
  50. </div>      
  51. <!-- end social stuff -->
  52.  
  53.                                 <div style="clear:both"></div>
  54.                         </div></article>
  55.                         <div class="post_common_bottom"></div>
  56.                                 <?php endwhile; ?>
  57.                                 <?php if (function_exists("pagination")) {pagination();} ?>
  58.                                 <?php else : ?>
  59.                         <h2 class="center"><?php _e("Not Found","language")?></h2>
  60.                 <?php endif; ?>
  61.         </section>     
  62. <?php include(TEMPLATEPATH . '/sidebar-single.php'); ?>
  63. <?php get_footer(); ?>