Advertisement
Guest User

Single.php

a guest
Feb 24th, 2014
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 5.03 KB | None | 0 0
  1. <?php
  2. /**
  3.  * The Template for displaying all single posts.
  4.  *
  5.  * @package WordPress
  6.  * @subpackage Twenty_Eleven
  7.  * @since Twenty Eleven 1.0
  8.  */
  9.  
  10.  get_header(); ?>
  11. <div class="blackbar">
  12. <!--SOCIAL LINKS-->
  13. <style>
  14. .socialicons{ padding: 2px;}
  15. </style>
  16. <div style="top: 15px; position: absolute; left: 50%; margin-left: 353px; white-space: nowrap;">
  17. <a href="https://www.youtube.com/CTsoftware" target="_blank" ><img class="socialicons" height="22" width="22" src="/wp-content/uploads/2013/11/YouTubePlay.png" /></a><a href="http://www.linkedin.com/company/cleantelligent_software" target="_blank" ><img class="socialicons" height="22" width="22" src="/wp-content/uploads/2013/11/linkedin.png" /></a><a href="https://twitter.com/#!/CleanTelligent1" target="_blank" ><img class="socialicons" height="22" width="22" src="/wp-content/uploads/2013/11/twitter.png" /></a><a href="http://www.facebook.com/CleanTelligent" target="_blank" ><img class="socialicons" height="22" width="22" src="/wp-content/themes/cleantelligent/images/facebook.png" /></a><a href="https://plus.google.com/102775665167203456874" rel="publisher"><img src="/wp-content/uploads/2013/11/GooglePlusIcon.png" alt="Google +" style="padding: 0 0 1px 2px;"/></a>
  18. </div>
  19. <div style="font-family: 'News Cycle', sans-serif; color:#D1D1D1;  position: absolute; left: 50%; margin-left: 345px; white-space: nowrap; font-size: 40%;">
  20. <img style="position: relative; top: 8px;" src="/wp-content/uploads/2013/11/phonetrans.png" />(801) 404-5038</div>
  21.  
  22. <!--END OF SOCIAL LINKS-->
  23. <div class='bbw'>
  24. Blog
  25.     </div>
  26. </div>
  27. <div class='blog-cont-wrap'>
  28.  
  29.     <div id="primary">
  30.     <?php
  31.     $post_obj = $wp_query->get_queried_object();
  32.     $post_name = $post_obj->post_name;
  33.     if($post_name == 'blog'){
  34.         echo 'Blog';
  35.     }else{
  36.         $parent_title = get_the_title($post->post_parent);
  37.         echo $parent_title;
  38.     }
  39. ?>
  40.         <div id="content" role="main">
  41.  
  42.             <?php while ( have_posts() ) : the_post(); ?>
  43.  
  44.                 <?php get_template_part( 'content', 'archive'); ?>
  45.  
  46.             <?php endwhile; // end of the loop. ?>
  47.  
  48.         </div><!-- #content -->
  49.     </div><!-- #primary -->
  50.  
  51.  
  52. </div>
  53.  
  54.  
  55. </div><!-- #main -->
  56. <?php get_sidebar(); ?>
  57.  
  58.  
  59. <footer id="colophon" role="contentinfo">
  60.  
  61.    
  62.  
  63.  
  64.     <div id="site-generator">
  65.         <div class='footw'>
  66.         <span id="footer-copyright">
  67.             &copy; 2013 CleanBrain Software Inc. All Rights Reserved.
  68.         </span>
  69.         <div class="menu-footer-menu-container"><ul id="menu-footer-menu" class="menu"><li id="menu-item-125" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-125"><a href="/about-us/contact-us">Contact Us</a></li>
  70. <li id="menu-item-126" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-126"><a href="/news-and-events/rss.xml">News &#038; Events</a></li>
  71. <li id="menu-item-395" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-395"><a href="/sitemap.xml">Site Map</a></li>
  72. <li id="menu-item-389" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-389"><a href="/privacy-statement">Privacy Statement</a></li>
  73. <li id="menu-item-124" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-124"><a href="/about-us/careers">Careers</a></li>
  74. <li id="menu-item-394" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-394"><a href="/send-a-referral">Send a Referral</a></li>
  75. </ul></div>     </div>
  76.     </div>
  77.  
  78.     <script type="text/javascript">// <![CDATA[
  79.         jQuery(function(){
  80.             jQuery("li:has(.current_page_item)").addClass('current_page_parent');
  81.         })
  82.         // ]]></script>
  83. </footer><!-- #colophon -->
  84. <!-- #page -->
  85.  
  86. <script type='text/javascript' src='/wp-content/plugins/formidable/js/formidable.js?ver=1.06.05'></script>
  87.  
  88. <!-- Begin Tracking Code -->
  89. <script type="text/javascript">
  90.    var trackCid = 155562;
  91.    var trackTid = '';
  92. </script>
  93. <script type="text/javascript">
  94.    document.write(unescape('%3Cscript src="' + (document.location.protocol == 'https:' ? 'https:' : 'http:') + '//otracking.com/js/TrackingV2.js" type="text/javascript"%3E%3C/script%3E'));
  95. </script>
  96. <!-- End Tracking Code -->
  97.  
  98. <!-- Google Tracking Code - used on every page of static site -->
  99. <script type="text/javascript">
  100.  
  101.   var _gaq = _gaq || [];
  102.   _gaq.push(['_setAccount', 'UA-6385411-2']);
  103.   _gaq.push(['_trackPageview']);
  104.  
  105.   (function() {
  106.     var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
  107.     ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
  108.     var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  109.   })();
  110.  
  111. </script>
  112.  
  113. <script type="text/javascript">
  114. //<![CDATA[
  115. jQuery(document).ready(function($){
  116. $('.frm-show-form').live('submit',function(e){e.preventDefault();frmGetFormErrors(this,'/index.php?plugin=formidable');});
  117. });
  118.  
  119. //]]>
  120. </script>
  121. <script type='text/javascript' src='/wp-includes/js/jquery/ui/jquery.ui.core.min.js?ver=1.8.20'></script>
  122.         <a name="form" ></a>
  123.  
  124. </body>
  125. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement