[wp-cvs] wordpress/wp-content/themes/default header.php, 1.2,
1.3 page.php, 1.1, 1.2
Matthew Mullenweg
saxmatt at users.sourceforge.net
Mon Jan 24 05:59:02 GMT 2005
Update of /cvsroot/cafelog/wordpress/wp-content/themes/default
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11628/wp-content/themes/default
Modified Files:
header.php page.php
Log Message:
Tweaks to how pages are displayed
Index: header.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-content/themes/default/header.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** header.php 4 Jan 2005 05:20:06 -0000 1.2
--- header.php 24 Jan 2005 05:59:00 -0000 1.3
***************
*** 4,15 ****
<head profile="http://gmpg.org/xfn/11">
<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 name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats -->
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
<style type="text/css" media="screen">
!
/* BEGIN IMAGE CSS */
/* To accomodate differing install paths of WordPress, images are referred only here,
--- 4,20 ----
<head profile="http://gmpg.org/xfn/11">
<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 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" 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">
!
/* BEGIN IMAGE CSS */
/* To accomodate differing install paths of WordPress, images are referred only here,
***************
*** 31,35 ****
/* END IMAGE CSS */
!
/* 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/
--- 36,40 ----
/* END IMAGE CSS */
!
/* 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/
***************
*** 37,55 ****
get cropped off of the image. */
#headerimg { background: url('<?php bloginfo('stylesheet_directory'); ?>/images/personalheader.jpg') no-repeat top;}
!
</style>
!
! <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'); ?>" />
!
! <?php wp_get_archives('type=monthly&format=link'); ?>
!
<?php wp_head(); ?>
</head>
<body>
<div id="page">
--- 42,57 ----
get cropped off of the image. */
+ /*
#headerimg { background: url('<?php bloginfo('stylesheet_directory'); ?>/images/personalheader.jpg') no-repeat top;}
! */
!
</style>
!
! <?php wp_get_archives('type=monthly&format=link'); ?>
!
<?php wp_head(); ?>
</head>
<body>
+
<div id="page">
***************
*** 57,61 ****
<div id="header">
<div id="headerimg">
! <h1><a href="<?php echo get_settings('siteurl'); ?>" title="<?php bloginfo('name'); ?>"><?php bloginfo('name'); ?></a></h1>
<div class="description"><?php bloginfo('description'); ?></div>
</div>
--- 59,63 ----
<div id="header">
<div id="headerimg">
! <h1><a href="<?php echo get_settings('siteurl'); ?>"><?php bloginfo('name'); ?></a></h1>
<div class="description"><?php bloginfo('description'); ?></div>
</div>
Index: page.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-content/themes/default/page.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** page.php 4 Jan 2005 05:20:06 -0000 1.1
--- page.php 24 Jan 2005 05:59:00 -0000 1.2
***************
*** 1,8 ****
<?php get_header(); ?>
! <div id="content" class="widecolumn">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class="post">
<div class="entrytext">
<?php the_content('<p class="serif">Read the rest of this page »</p>'); ?>
--- 1,9 ----
<?php get_header(); ?>
! <div id="content" class="narrowcolumn">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class="post">
+ <h2 id="post-<?php the_ID(); ?>"><?php the_title(); ?></h2>
<div class="entrytext">
<?php the_content('<p class="serif">Read the rest of this page »</p>'); ?>
***************
*** 15,17 ****
--- 16,20 ----
</div>
+ <?php get_sidebar(); ?>
+
<?php get_footer(); ?>
\ No newline at end of file
More information about the cvs
mailing list