Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $content = get_extended($post->post_content);
- if(empty($content)) : ?>
- <div style="display:block;float:left;margin-top:0px;margin-right:15px;">
- <script type="text/javascript">
- GA_googleFillSlot("CI_Article_Top");
- </script>
- </div>
- <?php the_content(); ?>
- <?php else : ?>
- <?php
- $content['main'] = $content['main'] . '<span id="more-' . $post->ID . '"></span>';
- $first_content = apply_filters('the_content', $content['main']);
- $second_content = apply_filters('the_content', $content['extended']);
- echo $first_content;
- ?>
- <div style="display:block;float:left;margin-top:0px;margin-right:15px;">
- <script type="text/javascript">
- GA_googleFillSlot("CI_Article_Top");
- </script>
- </div>
- <?php
- echo $second_content;
- ?>
- <?php endif; ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement