Tweaks to how pages are displayed
git-svn-id: http://svn.automattic.com/wordpress/trunk@2123 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
36f89f11c9
commit
37c1aa422d
|
@ -3,14 +3,19 @@
|
||||||
|
|
||||||
<head profile="http://gmpg.org/xfn/11">
|
<head profile="http://gmpg.org/xfn/11">
|
||||||
<title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> » Blog Archive <?php } ?> <?php wp_title(); ?></title>
|
<title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> » Blog Archive <?php } ?> <?php wp_title(); ?></title>
|
||||||
|
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=<?php bloginfo('charset'); ?>" />
|
<meta http-equiv="Content-Type" content="text/html; charset=<?php bloginfo('charset'); ?>" />
|
||||||
<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats -->
|
<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats -->
|
||||||
|
|
||||||
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
|
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
|
||||||
|
<link rel="stylesheet" type="text/css" media="print" href="<?php echo get_settings('siteurl'); ?>/print.css" />
|
||||||
|
<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'); ?>" />
|
||||||
|
|
||||||
<style type="text/css" media="screen">
|
<style type="text/css" media="screen">
|
||||||
|
|
||||||
/* BEGIN IMAGE CSS */
|
/* BEGIN IMAGE CSS */
|
||||||
/* To accomodate differing install paths of WordPress, images are referred only here,
|
/* To accomodate differing install paths of WordPress, images are referred only here,
|
||||||
and not in the wp-layout.css file. If you prefer to use only CSS for colors and what
|
and not in the wp-layout.css file. If you prefer to use only CSS for colors and what
|
||||||
|
@ -30,33 +35,30 @@
|
||||||
#headerimg { margin: 7px 9px 0; height: 192px; width: 740px; }
|
#headerimg { margin: 7px 9px 0; height: 192px; width: 740px; }
|
||||||
/* END IMAGE CSS */
|
/* END IMAGE CSS */
|
||||||
|
|
||||||
|
|
||||||
/* To ease the insertion of a personal header image, I have done it in such a way,
|
/* To ease the insertion of a personal header image, I have done it in such a way,
|
||||||
that you simply drop in an image called 'personalheader.jpg' into your /images/
|
that you simply drop in an image called 'personalheader.jpg' into your /images/
|
||||||
directory. Dimensions should be at least 760px x 200px. Anything above that will
|
directory. Dimensions should be at least 760px x 200px. Anything above that will
|
||||||
get cropped off of the image. */
|
get cropped off of the image. */
|
||||||
|
|
||||||
|
/*
|
||||||
#headerimg { background: url('<?php bloginfo('stylesheet_directory'); ?>/images/personalheader.jpg') no-repeat top;}
|
#headerimg { background: url('<?php bloginfo('stylesheet_directory'); ?>/images/personalheader.jpg') no-repeat top;}
|
||||||
|
*/
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" media="print" href="<?php echo get_settings('siteurl'); ?>/print.css" />
|
<?php wp_get_archives('type=monthly&format=link'); ?>
|
||||||
<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(); ?>
|
<?php wp_head(); ?>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<div id="page">
|
<div id="page">
|
||||||
|
|
||||||
|
|
||||||
<div id="header">
|
<div id="header">
|
||||||
<div id="headerimg">
|
<div id="headerimg">
|
||||||
<h1><a href="<?php echo get_settings('siteurl'); ?>" title="<?php bloginfo('name'); ?>"><?php bloginfo('name'); ?></a></h1>
|
<h1><a href="<?php echo get_settings('siteurl'); ?>"><?php bloginfo('name'); ?></a></h1>
|
||||||
<div class="description"><?php bloginfo('description'); ?></div>
|
<div class="description"><?php bloginfo('description'); ?></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,9 +1,10 @@
|
||||||
<?php get_header(); ?>
|
<?php get_header(); ?>
|
||||||
|
|
||||||
<div id="content" class="widecolumn">
|
<div id="content" class="narrowcolumn">
|
||||||
|
|
||||||
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
|
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
|
||||||
<div class="post">
|
<div class="post">
|
||||||
|
<h2 id="post-<?php the_ID(); ?>"><?php the_title(); ?></h2>
|
||||||
<div class="entrytext">
|
<div class="entrytext">
|
||||||
<?php the_content('<p class="serif">Read the rest of this page »</p>'); ?>
|
<?php the_content('<p class="serif">Read the rest of this page »</p>'); ?>
|
||||||
|
|
||||||
|
@ -14,4 +15,6 @@
|
||||||
<?php endwhile; endif; ?>
|
<?php endwhile; endif; ?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<?php get_sidebar(); ?>
|
||||||
|
|
||||||
<?php get_footer(); ?>
|
<?php get_footer(); ?>
|
Loading…
Reference in New Issue