Skip to content

Commit

Permalink
Renaming theme. Welcome to Expound!
Browse files Browse the repository at this point in the history
  • Loading branch information
kovshenin committed May 19, 2013
1 parent 20414ea commit 0b3023e
Show file tree
Hide file tree
Showing 25 changed files with 172 additions and 172 deletions.
12 changes: 6 additions & 6 deletions 404.php
Expand Up @@ -2,7 +2,7 @@
/**
* The template for displaying 404 pages (Not Found).
*
* @package Mag
* @package Expound
*/

get_header(); ?>
Expand All @@ -12,19 +12,19 @@

<article id="post-0" class="post error404 not-found">
<header class="entry-header">
<h1 class="entry-title"><?php _e( 'Oops! That page can&rsquo;t be found.', 'mag' ); ?></h1>
<h1 class="entry-title"><?php _e( 'Oops! That page can&rsquo;t be found.', 'expound' ); ?></h1>
</header><!-- .entry-header -->

<div class="entry-content">
<p><?php _e( 'It looks like nothing was found at this location. Maybe try one of the links below or a search?', 'mag' ); ?></p>
<p><?php _e( 'It looks like nothing was found at this location. Maybe try one of the links below or a search?', 'expound' ); ?></p>

<?php get_search_form(); ?>

<?php the_widget( 'WP_Widget_Recent_Posts' ); ?>

<?php if ( mag_categorized_blog() ) : // Only show the widget if site has multiple categories. ?>
<?php if ( expound_categorized_blog() ) : // Only show the widget if site has multiple categories. ?>
<div class="widget widget_categories">
<h2 class="widgettitle"><?php _e( 'Most Used Categories', 'mag' ); ?></h2>
<h2 class="widgettitle"><?php _e( 'Most Used Categories', 'expound' ); ?></h2>
<ul>
<?php
wp_list_categories( array(
Expand All @@ -41,7 +41,7 @@

<?php
/* translators: %1$s: smiley */
$archive_content = '<p>' . sprintf( __( 'Try looking in the monthly archives. %1$s', 'mag' ), convert_smilies( ':)' ) ) . '</p>';
$archive_content = '<p>' . sprintf( __( 'Try looking in the monthly archives. %1$s', 'expound' ), convert_smilies( ':)' ) ) . '</p>';
the_widget( 'WP_Widget_Archives', 'dropdown=1', "after_title=</h2>$archive_content" );
?>

Expand Down
28 changes: 14 additions & 14 deletions comments.php
Expand Up @@ -4,10 +4,10 @@
*
* The area of the page that contains both current comments
* and the comment form. The actual display of comments is
* handled by a callback to mag_comment() which is
* handled by a callback to expound_comment() which is
* located in the inc/template-tags.php file.
*
* @package Mag
* @package Expound
*/

/*
Expand All @@ -26,36 +26,36 @@
<?php if ( have_comments() ) : ?>
<h2 class="comments-title">
<?php
printf( _nx( 'One thought on &ldquo;%2$s&rdquo;', '%1$s thoughts on &ldquo;%2$s&rdquo;', get_comments_number(), 'comments title', 'mag' ),
printf( _nx( 'One thought on &ldquo;%2$s&rdquo;', '%1$s thoughts on &ldquo;%2$s&rdquo;', get_comments_number(), 'comments title', 'expound' ),
number_format_i18n( get_comments_number() ), '<span>' . get_the_title() . '</span>' );
?>
</h2>

<?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // are there comments to navigate through ?>
<nav id="comment-nav-above" class="navigation-comment" role="navigation">
<h1 class="screen-reader-text"><?php _e( 'Comment navigation', 'mag' ); ?></h1>
<div class="nav-previous"><?php previous_comments_link( __( '&larr; Older Comments', 'mag' ) ); ?></div>
<div class="nav-next"><?php next_comments_link( __( 'Newer Comments &rarr;', 'mag' ) ); ?></div>
<h1 class="screen-reader-text"><?php _e( 'Comment navigation', 'expound' ); ?></h1>
<div class="nav-previous"><?php previous_comments_link( __( '&larr; Older Comments', 'expound' ) ); ?></div>
<div class="nav-next"><?php next_comments_link( __( 'Newer Comments &rarr;', 'expound' ) ); ?></div>
</nav><!-- #comment-nav-before -->
<?php endif; // check for comment navigation ?>

<ol class="comment-list">
<?php
/* Loop through and list the comments. Tell wp_list_comments()
* to use mag_comment() to format the comments.
* to use expound_comment() to format the comments.
* If you want to overload this in a child theme then you can
* define mag_comment() and that will be used instead.
* See mag_comment() in inc/template-tags.php for more.
* define expound_comment() and that will be used instead.
* See expound_comment() in inc/template-tags.php for more.
*/
wp_list_comments( array( 'callback' => 'mag_comment' ) );
wp_list_comments( array( 'callback' => 'expound_comment' ) );
?>
</ol><!-- .comment-list -->

<?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // are there comments to navigate through ?>
<nav id="comment-nav-below" class="navigation-comment" role="navigation">
<h1 class="screen-reader-text"><?php _e( 'Comment navigation', 'mag' ); ?></h1>
<div class="nav-previous"><?php previous_comments_link( __( '&larr; Older Comments', 'mag' ) ); ?></div>
<div class="nav-next"><?php next_comments_link( __( 'Newer Comments &rarr;', 'mag' ) ); ?></div>
<h1 class="screen-reader-text"><?php _e( 'Comment navigation', 'expound' ); ?></h1>
<div class="nav-previous"><?php previous_comments_link( __( '&larr; Older Comments', 'expound' ) ); ?></div>
<div class="nav-next"><?php next_comments_link( __( 'Newer Comments &rarr;', 'expound' ) ); ?></div>
</nav><!-- #comment-nav-below -->
<?php endif; // check for comment navigation ?>

Expand All @@ -65,7 +65,7 @@
// If comments are closed and there are comments, let's leave a little note, shall we?
if ( ! comments_open() && '0' != get_comments_number() && post_type_supports( get_post_type(), 'comments' ) ) :
?>
<p class="no-comments"><?php _e( 'Comments are closed.', 'mag' ); ?></p>
<p class="no-comments"><?php _e( 'Comments are closed.', 'expound' ); ?></p>
<?php endif; ?>

<?php comment_form(); ?>
Expand Down
4 changes: 2 additions & 2 deletions content-page.php
Expand Up @@ -2,7 +2,7 @@
/**
* The template used for displaying page content in page.php
*
* @package Mag
* @package Expound
*/
?>

Expand All @@ -15,7 +15,7 @@
<?php the_content(); ?>
<?php
wp_link_pages( array(
'before' => '<div class="page-links">' . __( 'Pages:', 'mag' ),
'before' => '<div class="page-links">' . __( 'Pages:', 'expound' ),
'after' => '</div>',
) );
?>
Expand Down
8 changes: 4 additions & 4 deletions content-single.php
@@ -1,6 +1,6 @@
<?php
/**
* @package Mag
* @package Expound
*/
?>

Expand All @@ -9,21 +9,21 @@
<h1 class="entry-title"><?php the_title(); ?></h1>

<div class="entry-meta">
<?php mag_posted_on(); ?>
<?php expound_posted_on(); ?>
</div><!-- .entry-meta -->
</header><!-- .entry-header -->

<div class="entry-content">
<?php the_content(); ?>
<?php
wp_link_pages( array(
'before' => '<div class="page-links">' . __( 'Pages:', 'mag' ),
'before' => '<div class="page-links">' . __( 'Pages:', 'expound' ),
'after' => '</div>',
) );
?>
</div><!-- .entry-content -->

<footer class="entry-meta">
<?php mag_posted_in(); ?>
<?php expound_posted_in(); ?>
</footer><!-- .entry-meta -->
</article><!-- #post-## -->
4 changes: 2 additions & 2 deletions content.php
@@ -1,6 +1,6 @@
<?php
/**
* @package Mag
* @package Expound
*/
?>

Expand All @@ -21,6 +21,6 @@
</div><!-- .entry-summary -->

<footer class="entry-meta">
<?php mag_posted_in(); ?>
<?php expound_posted_in(); ?>
</footer><!-- .entry-meta -->
</article><!-- #post-## -->
File renamed without changes.
File renamed without changes.
10 changes: 5 additions & 5 deletions featured-content.php
@@ -1,22 +1,22 @@
<?php $featured_posts = mag_get_featured_posts(); ?>
<?php $featured_posts = expound_get_featured_posts(); ?>
<?php if ( $featured_posts->have_posts() ) : $featured_posts->the_post(); ?>
<div class="featured-content">

<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>

<?php if ( has_post_thumbnail() ) : ?>
<div class="entry-thumbnail">
<a href="<?php the_permalink(); ?>"><?php the_post_thumbnail( 'mag-featured' ); ?></a>
<a href="<?php the_permalink(); ?>"><?php the_post_thumbnail( 'expound-featured' ); ?></a>
</div>
<?php endif; ?>

<header class="entry-header">
<h1 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'mag' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h1>
<h1 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'expound' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h1>
</header><!-- .entry-header -->

<div class="entry-summary">
<?php the_excerpt(); ?>
<p><a class="button-primary" href="<?php the_permalink(); ?>"><?php _e( 'Continue reading &rarr;', 'mag' ); ?></a></p>
<p><a class="button-primary" href="<?php the_permalink(); ?>"><?php _e( 'Continue reading &rarr;', 'expound' ); ?></a></p>
</div><!-- .entry-summary -->

</article>
Expand All @@ -40,7 +40,7 @@
<?php endif; ?>

<header class="entry-header">
<h1 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'mag' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h1>
<h1 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'expound' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h1>
</header><!-- .entry-header -->

<div class="entry-summary">
Expand Down
4 changes: 2 additions & 2 deletions footer.php
Expand Up @@ -4,15 +4,15 @@
*
* Contains the closing of the id=main div and all content after
*
* @package Mag
* @package Expound
*/
?>

</div><!-- #main -->

<footer id="colophon" class="site-footer" role="contentinfo">
<div class="site-info">
<?php do_action( 'mag_credits' ); ?>
<?php do_action( 'expound_credits' ); ?>
</div><!-- .site-info -->
</footer><!-- #colophon -->
</div><!-- #page -->
Expand Down

0 comments on commit 0b3023e

Please sign in to comment.