Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*begin header*/
- <html>
- <title><?php bloginfo('name'); ?><?php wp_title(); ?></title>
- <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
- <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen, projection" />
- <?php wp_head(); ?>
- </head>
- <body>
- <div id="wrapper">
- <div id="header">
- <p class="description"><?php bloginfo('description'); ?></p>
- <h1><a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a></h1>
- <ul id="nav">
- <?php wp_list_pages('sort_column=menu_order&title_li='); ?>
- </ul>
- </div>
- /*end header */
- <div id="content">
- <?php if( have_posts() ) : while ( have_posts() ) : the_post(); ?>
- <h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
- <?php the_content(); ?>
- <p><?php the_time('F j, Y'); ?> at <?php the_time('g:i a'); ?> | <?php the_catagory(, ); ?> | <?php comments_number('No comment', '1 comment', '% comments'); ?></p>
- <?php endwhile; else: ?>
- <h2>Whoops...</h2>
- <p>Sorry, no posts we're found.</p>
- <?php endif; ?>
- <p align="center"><?php posts_nav_link(); ?></p>
- </div>
- /* begin footer*/
- <div id="footer">
- <p>© <?php the_time('Y'); ?> <?php bloginfo('name'); ?><br />
- <a href="<?php bloginfo('rss2_url'); ?>">Grab the feed</a></p>
- </div>
- </div>
- <?php wp_footer(); ?>
- </body>
- </html>
- /*end footer*/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement