Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- ?>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <title><?php
- global $page, $paged;
- wp_title( '|', true, 'right' );
- // Add the blog name.
- bloginfo( 'name' );
- // Add the blog description for the home/front page.
- $site_description = get_bloginfo( 'description', 'display' );
- if ( $site_description && ( is_home() || is_front_page() ) )
- echo " | $site_description";
- // Add a page number if necessary:
- if ( $paged >= 2 || $page >= 2 )
- echo ' | ' . sprintf( __( 'Page %s', 'twentyten' ), max( $paged, $page ) );
- ?></title>
- <meta name="description" content="" />
- <meta name="keywords" content="" />
- <meta name="format-detection" content="telephone=no">
- <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
- <link rel="icon"
- type="image/png"
- href="<?php bloginfo( 'template_url' ); ?>/favicon.ico">
- <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo('template_directory'); ?>/blog.css" />
- <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo('template_directory'); ?>/reset2.css" />
- <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js"></script>
- <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/shaZAM.js"></script>
- </head>
- <body <?php body_class(); ?>>
- <!-- end header -->
- <div id="wrapper">
- <!-- start sidebar -->
- <?php get_sidebar(); ?>
- <div id="rightPanel" class="clearfix">
- <h1>Branding <br /> User Interface <br /> Industrial Design</h1>
- <?php
- $args = array(
- 'post_type' => 'post'
- );
- $post_query = new WP_Query($args);
- if($post_query->have_posts() ) {
- while($post_query->have_posts() ) {
- $post_query->the_post();
- ?>
- <span class="HR"></span>
- <h2><a href="<?php echo get_permalink(); ?>"><?php the_title(); ?></a></h2>
- <?php
- if ( has_post_thumbnail()) {
- $permalink = get_permalink();
- $large_image_url = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), 'large');
- echo '<a href="' . $permalink . '" title="' . the_title_attribute('echo=0') . '" >';
- echo get_the_post_thumbnail($post->ID, 'thumbnail');
- echo '</a>';
- }
- ?>
- <p class="commentCount"><?php comments_number( '0', '1', '%' ); ?></p>
- <div class="postContent setWidth">
- <p><?php the_excerpt(); ?></p>
- <a href="<?php echo get_permalink(); ?>" class="readMore">+ Read More</a>
- <p class="postFooter"><?php the_date('m/d/Y', '', ''); ?> . <?php the_author(); ?> / <span><?php the_category(', ') ?> </span></p>
- </div>
- <?php
- }
- }
- ?>
- </div>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement