Taking off date and time on pages?
-
Is it possible tomake a page looks like an actual page?
I’ve used two different templates and both makes seperate pages look like a post made on the blog.This templete file has a “page.php” template, but it’s beyond me.
Here’s the code:<!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> <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" /> <title> <?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> » Blog Archive <?php } ?> <?php wp_title(); ?> </title> <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" /> <!--[if lt ie 7]> <link rel="stylesheet" type="text/css" media="screen" href="<?php bloginfo('stylesheet_directory'); ?>/ie-win.css" /> <![endif]--> <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" /> <link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" /> <link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" /> <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" /> <?php wp_get_archives('type=monthly&format=link'); ?> <?php wp_head(); ?> </head> <body> <?php get_header(); ?> <div id="wrapper2"> <div id="wrapper"> <div id="content-wrapper"> <div id="content"> <?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?> <div class="post-wrapper"> <div class="date"> <span class="month"> <?php the_time('M') ?> </span> <span class="day"> <?php the_time('j') ?> </span> </div> <div style="float: right; width: 592px; clear: right; margin-top: 10px; margin-bottom: 15px; padding-top: 10px; margin-left: 5px;"> <span class="titles"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"> <?php the_title(); ?> </a></span> <div> <?php the_author() ?> | <?php the_category(', ') ?> | <?php the_time('m jS, Y') ?> <strong>|</strong> <?php edit_post_link('Edit','','<strong>|</strong>'); ?> <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?> </div> </div> <div style="clear: both;"></div> <div class="post"> <?php the_content('Read the rest of this entry »'); ?> <?php link_pages('<p><strong>Pages:</strong> ', '</p>', 'number'); ?> <?php edit_post_link('Edit', '<p>', '</p>'); ?> </div> </div> <?php comments_template(); ?> <?php endwhile; ?> <?php else : ?> <h2 align="center">Not Found</h2> <p align="center">Sorry, but you are looking for something that isn't here.</p> <?php endif; ?> </div> </div> <?php get_sidebar(); ?> </div> <?php get_footer(); ?> </div> </body> </html>
Any way to alter this? Thanks!
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Taking off date and time on pages?’ is closed to new replies.