Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /*
- Template Name: Press
- */
- ?>
- <?php get_header(); ?>
- <script src="js/swfobject.js" type="text/javascript" language="javascript" ></script>
- <script src="js/swfs_divs.js" type="text/javascript" language="javascript" ></script>
- <div class="contentArea">
- <div class="container">
- <div class="contentLeft">
- <div id="swf-globe-plain"><img class="middle" src="wp-content/themes/MaybeMarquis/images/globe-plain.gif" width="350" height="350" alt="globe"></div>
- </div>
- <div class="contentRight">
- <?php
- $args = array( 'numberposts' => 2, 'category' => 7,);
- $lastposts = get_posts( $args );
- foreach($lastposts as $post) : setup_postdata($post); ?>
- <h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
- <?php the_excerpt();?>
- <?php endforeach; ?>
- </div>
- </div>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement