This is wordpress php.. index.php <?php get_header(); ?> <div class="span-24" id="contentwrap"> <?php get_sidebars('left'); ?> <div class="span-14"> <div id="content"> <?php if(is_home()) { include (TEMPLATEPATH . '/featured.php'); } ?> <?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?> <div <?php post_class() ?> id="post-<?php the_ID(); ?>"> <h2 class="title"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2> <div class="postdate"><img src="<?php bloginfo('template_url'); ?>/images/date.png" /> <?php the_time('F jS, Y') ?> <img src="<?php bloginfo('template_url'); ?>/images/user.png" /> <?php the_author() ?> <?php if (current_user_can('edit_post', $post->ID)) { ?> <img src="<?php bloginfo('template_url'); ?>/images/edit.png" /> <?php edit_post_link('Edit', '', ''); } ?></div> <div class="entry"> <?php if ( function_exists("has_post_thumbnail") && has_post_thumbnail() ) { the_post_thumbnail(array(200,160), array("class" => "alignleft post_thumbnail")); } ?> <?php the_content(''); ?> <div class="readmorecontent"> <a class="readmore" href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>">Read More »</a> </div> </div> </div><!--/post-<?php the_ID(); ?>--> <?php endwhile; ?> <div class="navigation"> <?php if(function_exists('wp_pagenavi')) { wp_pagenavi(); } else { ?> <div class="alignleft"><?php next_posts_link('« Older Entries') ?></div> <div class="alignright"><?php previous_posts_link('Newer Entries »') ?></div> <?php } ?> </div> <?php else : ?> <h2 class="center">Not Found</h2> <p class="center">Sorry, but you are looking for something that isn't here.</p> <?php get_search_form(); ?> <?php endif; ?> </div> </div> <?php get_sidebars('right'); ?> </div> <?php get_footer(); ?> Code (markup): page.php <?php get_header(); ?> <div class="span-24" id="contentwrap"> <?php get_sidebars('left'); ?> <div class="span-14"> <div id="content"> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <div class="post" id="post-<?php the_ID(); ?>"> <h2 class="title"><?php the_title(); ?></h2> <div class="entry"> <?php if ( function_exists("has_post_thumbnail") && has_post_thumbnail() ) { the_post_thumbnail(array(300,225), array("class" => "alignleft post_thumbnail")); } ?> <?php the_content('<p class="serif">Read the rest of this page »</p>'); ?> <?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?> </div> </div> <?php endwhile; endif; ?> <?php edit_post_link('Edit this entry.', '<p>', '</p>'); ?> </div> </div> <?php get_sidebars('right'); ?> </div> <?php get_footer(); ?> Code (markup): sidebarleft.php <div class="span-5"> <div class="sidebar sidebar-left"> <ul> <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Left Sidebar') ) : ?> <li><h2><?php _e('Recent Posts'); ?></h2> <ul> <?php wp_get_archives('type=postbypost&limit=5'); ?> </ul> </li> <?php wp_list_categories('hide_empty=1&show_count=0&depth=1&title_li=<h2>Categories</h2>'); ?> <?php include (TEMPLATEPATH . '/recent-comments.php'); ?> <?php if (function_exists('get_recent_comments')) { get_recent_comments(); } ?> <?php endif; ?> </ul> <?php if(get_theme_option('ad_sidebar1_bottom') != '') { ?> <div class="sidebaradbox"> <?php echo get_theme_option('ad_sidebar1_bottom'); ?> </div> <?php } ?> </div> </div> Code (markup): sidebarright.php <div class="span-5 last"> <div class="sidebar sidebar-right"> <div id="topsearch" > <?php get_search_form(); ?> </div> <div class="sidebaradbox"> <?php sidebar_ads_125(); ?> </div> <ul> <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Right Sidebar') ) : ?> <li id="tag_cloud"><h2>Tags</h2> <div><?php wp_tag_cloud('largest=16&format=flat&number=20'); ?></div> </li> <li><h2>Archives</h2> <ul> <?php wp_get_archives('type=monthly'); ?> </ul> </li> <li> <h2>Calendar</h2> <?php get_calendar(); ?> </li> <?php wp_list_bookmarks(); ?> <li><h2>Meta</h2> <ul> <?php wp_register(); ?> <li><?php wp_loginout(); ?></li> <li><a href="http://gmpg.org/xfn/"><abbr title="XHTML Friends Network">XFN</abbr></a></li> <li><a href="http://wordpress.org/" title="Powered by WordPress, state-of-the-art semantic personal publishing platform.">WordPress</a></li> <?php wp_meta(); ?> </ul> </li> <?php endif; ?> </ul> <?php if(get_theme_option('ad_sidebar2_bottom') != '') { ?> <div class="sidebaradbox"> <?php echo get_theme_option('ad_sidebar2_bottom'); ?> </div> <?php } ?> </div> </div> Code (markup): single.pgp <?php get_header(); ?> <div class="span-24" id="contentwrap"> <?php get_sidebars('left'); ?> <div class="span-14"> <div id="content"> <?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?> <div <?php post_class() ?> id="post-<?php the_ID(); ?>"> <h2 class="title"><?php the_title(); ?></h2> <div class="postdate"><img src="<?php bloginfo('template_url'); ?>/images/date.png" /> <?php the_time('F jS, Y') ?> <img src="<?php bloginfo('template_url'); ?>/images/user.png" /> <?php the_author() ?> <?php if (current_user_can('edit_post', $post->ID)) { ?> <img src="<?php bloginfo('template_url'); ?>/images/edit.png" /> <?php edit_post_link('Edit', '', ''); } ?></div> <div class="entry"> <?php if ( function_exists("has_post_thumbnail") && has_post_thumbnail() ) { the_post_thumbnail(array(300,225), array("class" => "alignleft post_thumbnail")); } ?> <?php the_content('Read the rest of this entry »'); ?> <?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?> </div> <div class="postmeta"><img src="<?php bloginfo('template_url'); ?>/images/folder.png" /> Posted in <?php the_category(', ') ?> <?php if(get_the_tags()) { ?> <img src="<?php bloginfo('template_url'); ?>/images/tag.png" /> <?php the_tags('Tags: ', ', '); } ?></div> <div class="navigation clearfix"> <div class="alignleft"><?php previous_post_link('« %link') ?></div> <div class="alignright"><?php next_post_link('%link »') ?></div> </div> <?php if (('open' == $post-> comment_status) && ('open' == $post->ping_status)) { // Both Comments and Pings are open ?> You can <a href="#respond">leave a response</a>, or <a href="<?php trackback_url(); ?>" rel="trackback">trackback</a> from your own site. <?php } elseif (!('open' == $post-> comment_status) && ('open' == $post->ping_status)) { // Only Pings are Open ?> Responses are currently closed, but you can <a href="<?php trackback_url(); ?> " rel="trackback">trackback</a> from your own site. <?php } elseif (('open' == $post-> comment_status) && !('open' == $post->ping_status)) { // Comments are open, Pings are not ?> You can skip to the end and leave a response. Pinging is currently not allowed. <?php } elseif (!('open' == $post-> comment_status) && !('open' == $post->ping_status)) { // Neither Comments, nor Pings are open ?> Both comments and pings are currently closed. <?php } edit_post_link('Edit this entry','','.'); ?> </div><!--/post-<?php the_ID(); ?>--> <?php comments_template(); ?> <?php endwhile; ?> <?php endif; ?> </div> </div> <?php get_sidebars('right'); ?> </div> <?php get_footer(); ?> Code (markup): thank you !