Make WordPress Core

Changeset 3006


Ignore:
Timestamp:
11/07/2005 09:31:05 AM (21 years ago)
Author:
matt
Message:

Some tweaks to the default theme, fixes #1847 and the custom header validation error.

Location:
trunk/wp-content/themes/default
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/default/archive.php

    r2857 r3006  
    4141                               
    4242                                <div class="entry">
    43                                         <?php the_excerpt() ?>
     43                                        <?php the_content() ?>
    4444                                </div>
    4545               
    46                                 <p class="postmetadata">Posted in <?php the_category(', ') ?> <strong>|</strong> <?php edit_post_link('Edit','','<strong>|</strong>'); ?>  <?php comments_popup_link('No Comments &#187;', '1 Comment &#187;', '% Comments &#187;'); ?></p>
     46                                <p class="postmetadata">Posted in <?php the_category(', ') ?> | <?php edit_post_link('Edit', '', ' | '); ?>  <?php comments_popup_link('No Comments &#187;', '1 Comment &#187;', '% Comments &#187;'); ?></p>
    4747
    4848                        </div>
  • trunk/wp-content/themes/default/functions.php

    r2930 r3006  
    22
    33function kubrick_head() {
    4         $head = "<style type=\"text/css\">\n";
     4        $head = "<style type='text/css'>\n<!--";
    55        $output = '';
    66        if ( kubrick_header_image() ) {
    7                 $url = kubrick_header_image_url();
     7                $url =  kubrick_header_image_url() ;
    88                $output .= "#header { background: url('$url') no-repeat bottom center; }\n";
    99        }
    … …  
    1414                $output .= "#headerimg { display: $display }\n";
    1515        }
    16         $foot = "</style>\n";
     16        $foot = "--></style>\n";
    1717        if ( '' != $output )
    1818                echo $head . $output . $foot;
  • trunk/wp-content/themes/default/header.php

    r2961 r3006  
    1010
    1111<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
    12 <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" />
    13 <link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" />
    14 <link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" />
     12<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
    1513<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
    1614
    … …  
    4442</style>
    4543
    46 <?php wp_get_archives('type=monthly&format=link'); ?>
    47 
    4844<?php wp_head(); ?>
    4945</head>
  • trunk/wp-content/themes/default/index.php

    r2577 r3006  
    1515                                </div>
    1616               
    17                                 <p class="postmetadata">Posted in <?php the_category(', ') ?> <strong>|</strong> <?php edit_post_link('Edit','','<strong>|</strong>'); ?>  <?php comments_popup_link('No Comments &#187;', '1 Comment &#187;', '% Comments &#187;'); ?></p>
     17                                <p class="postmetadata">Posted in <?php the_category(', ') ?> | <?php edit_post_link('Edit', '', ' | '); ?>  <?php comments_popup_link('No Comments &#187;', '1 Comment &#187;', '% Comments &#187;'); ?></p>
    1818                        </div>
    1919       
  • trunk/wp-content/themes/default/search.php

    r2423 r3006  
    1818                                <h3 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h3>
    1919                                <small><?php the_time('l, F jS, Y') ?></small>
    20                                
    21                                 <div class="entry">
    22                                         <?php the_excerpt() ?>
    23                                 </div>
    2420               
    25                                 <p class="postmetadata">Posted in <?php the_category(', ') ?> <strong>|</strong> <?php edit_post_link('Edit','','<strong>|</strong>'); ?>  <?php comments_popup_link('No Comments &#187;', '1 Comment &#187;', '% Comments &#187;'); ?></p>
     21                                <p class="postmetadata">Posted in <?php the_category(', ') ?> | <?php edit_post_link('Edit', '', ' | '); ?>  <?php comments_popup_link('No Comments &#187;', '1 Comment &#187;', '% Comments &#187;'); ?></p>
    2622                        </div>
    2723       
    … …  
    3531        <?php else : ?>
    3632
    37                 <h2 class="center">Not Found</h2>
     33                <h2 class="center">No posts found. Try a different search?</h2>
    3834                <?php include (TEMPLATEPATH . '/searchform.php'); ?>
    3935
Note: See TracChangeset for help on using the changeset viewer.