updated all the function names from twentyten_ to melville_
This commit is contained in:
16
loop.php
16
loop.php
@ -45,7 +45,7 @@
|
||||
|
||||
<?php if ( in_category( _x('gallery', 'gallery category slug', 'twentyten') ) ) : ?>
|
||||
<h2><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyten' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
|
||||
<?php twentyten_posted_on(); ?>
|
||||
<?php melville_posted_on(); ?>
|
||||
|
||||
<?php if ( post_password_required() ) : ?>
|
||||
<?php the_content(); ?>
|
||||
@ -81,7 +81,7 @@
|
||||
<?php the_content( __( 'continue reading »', 'twentyten' ) ); ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php twentyten_posted_on(); ?>
|
||||
<?php melville_posted_on(); ?>
|
||||
|
|
||||
<?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), __( '% Comments', 'twentyten' ) ); ?>
|
||||
<?php edit_post_link( __( 'Edit', 'twentyten' ), '| ', '' ); ?>
|
||||
@ -91,20 +91,20 @@
|
||||
<?php else : ?>
|
||||
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
||||
<h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyten' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<?php if ( is_archive() || is_search() ) : // Display excerpts for archives and search. ?>
|
||||
<?php the_excerpt(); ?>
|
||||
<?php else : ?>
|
||||
<?php the_content( __( 'continue reading »', 'twentyten' ) ); ?>
|
||||
|
||||
|
||||
<p class="date"><?php twentyten_posted_on(); ?> <?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), __( '% Comments', 'twentyten' ) ); ?></p>
|
||||
|
||||
<p class="date"><?php melville_posted_on(); ?> <?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), __( '% Comments', 'twentyten' ) ); ?></p>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
<?php endif; // This was the if statement that broke the loop into three parts based on categories. ?>
|
||||
|
||||
@ -114,4 +114,4 @@
|
||||
<?php if ( $wp_query->max_num_pages > 1 ) : ?>
|
||||
<span class="older-posts"><?php next_posts_link( __( '« older posts', 'twentyten' ) ); ?></span>
|
||||
<span class="newer-posts"><?php previous_posts_link( __( 'newer posts »', 'twentyten' ) ); ?></span>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
|
Reference in New Issue
Block a user