SHARE
TWEET

Untitled

a guest Feb 26th, 2011 171 Never
  1. <?php
  2. $content = get_extended($post->post_content);
  3. if(empty($content)) :  ?>
  4.  
  5. <div style="display:block;float:left;margin-top:0px;margin-right:15px;">
  6. <script type="text/javascript">
  7.   GA_googleFillSlot("CI_Article_Top");
  8. </script>
  9. </div>
  10. <?php the_content(); ?>
  11.  
  12. <?php else : ?>
  13. <?php
  14. $content['main'] = $content['main'] . '<span id="more-' . $post->ID . '"></span>';
  15. $first_content = apply_filters('the_content', $content['main']);
  16. $second_content = apply_filters('the_content', $content['extended']);
  17.  
  18. echo $first_content;
  19. ?>
  20.  
  21. <div style="display:block;float:left;margin-top:0px;margin-right:15px;">
  22. <script type="text/javascript">
  23.   GA_googleFillSlot("CI_Article_Top");
  24. </script>
  25. </div>
  26.  
  27. <?php
  28. echo $second_content;
  29. ?>
  30. <?php endif; ?>
RAW Paste Data
Top