Skip to content

Commit

Permalink
Fix Google Webmaster Tools errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Nickolay-SM committed Sep 18, 2014
1 parent b581f62 commit d3e176f
Show file tree
Hide file tree
Showing 14 changed files with 33 additions and 33 deletions.
2 changes: 1 addition & 1 deletion author-bio.php
Expand Up @@ -16,7 +16,7 @@
<h2 class="author-title"><?php printf( __( 'About %s', 'fruitful' ), get_the_author() ); ?></h2>
<p class="author-bio">
<?php the_author_meta( 'description' ); ?>
<a class="author-link" href="<?php echo esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ); ?>" rel="author">
<a class="author-link author" href="<?php echo esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ); ?>" rel="author">
<?php printf( __( 'View all posts by %s <span class="meta-nav">&rarr;</span>', 'fruitful' ), get_the_author() ); ?>
</a>
</p>
Expand Down
6 changes: 3 additions & 3 deletions content-aside.php
Expand Up @@ -12,17 +12,17 @@
<?php $day = get_the_date('d');
$month_abr = get_the_date('M');
?>
<div class="date_of_post">
<div class="date_of_post updated">
<span class="day_post"><?php print $day; ?></span>
<span class="month_post"><?php print $month_abr; ?></span>
</div>

<div class="post-content">
<header class="post-header">
<?php if ( is_single() ) : ?>
<h1 class="post-title"><?php the_title(); ?></h1>
<h1 class="post-title entry-title"><?php the_title(); ?></h1>
<?php else : ?>
<h1 class="post-title">
<h1 class="post-title entry-title">
<a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a>
</h1>
<?php endif; // is_single() ?>
Expand Down
6 changes: 3 additions & 3 deletions content-audio.php
Expand Up @@ -12,17 +12,17 @@
<?php $day = get_the_date('d');
$month_abr = get_the_date('M');
?>
<div class="date_of_post">
<div class="date_of_post updated">
<span class="day_post"><?php print $day; ?></span>
<span class="month_post"><?php print $month_abr; ?></span>
</div>

<div class="post-content">
<header class="post-header">
<?php if ( is_single() ) : ?>
<h1 class="post-title"><?php the_title(); ?></h1>
<h1 class="post-title entry-title"><?php the_title(); ?></h1>
<?php else : ?>
<h1 class="post-title">
<h1 class="post-title entry-title">
<a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a>
</h1>
<?php endif; // is_single() ?>
Expand Down
4 changes: 2 additions & 2 deletions content-chat.php
Expand Up @@ -12,14 +12,14 @@
<?php $day = get_the_date('d');
$month_abr = get_the_date('M');
?>
<div class="date_of_post">
<div class="date_of_post updated">
<span class="day_post"><?php print $day; ?></span>
<span class="month_post"><?php print $month_abr; ?></span>
</div>

<div class="post-content">
<header class="post-header">
<h1 class="post-title"><a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'fruitful' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h1>
<h1 class="post-title entry-title"><a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'fruitful' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h1>
<?php if ( has_post_thumbnail() && ! post_password_required() ) : ?>
<div class="entry-thumbnail">
<?php the_post_thumbnail(); ?>
Expand Down
6 changes: 3 additions & 3 deletions content-gallery.php
Expand Up @@ -12,16 +12,16 @@
<?php $day = get_the_date('d');
$month_abr = get_the_date('M');
?>
<div class="date_of_post">
<div class="date_of_post updated">
<span class="day_post"><?php print $day; ?></span>
<span class="month_post"><?php print $month_abr; ?></span>
</div>
<div class="post-content">
<header class="post-header">
<?php if ( is_single() ) : ?>
<h1 class="post-title"><?php the_title(); ?></h1>
<h1 class="post-title entry-title"><?php the_title(); ?></h1>
<?php else : ?>
<h1 class="post-title">
<h1 class="post-title entry-title">
<a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a>
</h1>
<?php endif; // is_single() ?>
Expand Down
6 changes: 3 additions & 3 deletions content-image.php
Expand Up @@ -12,17 +12,17 @@
<?php $day = get_the_date('d');
$month_abr = get_the_date('M');
?>
<div class="date_of_post">
<div class="date_of_post updated">
<span class="day_post"><?php print $day; ?></span>
<span class="month_post"><?php print $month_abr; ?></span>
</div>

<div class="post-content">
<header class="post-header">
<?php if ( is_single() ) : ?>
<h1 class="post-title"><?php the_title(); ?></h1>
<h1 class="post-title entry-title"><?php the_title(); ?></h1>
<?php else : ?>
<h1 class="post-title">
<h1 class="post-title entry-title">
<a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a>
</h1>
<?php endif; // is_single() ?>
Expand Down
6 changes: 3 additions & 3 deletions content-link.php
Expand Up @@ -12,17 +12,17 @@
<?php $day = get_the_date('d');
$month_abr = get_the_date('M');
?>
<div class="date_of_post">
<div class="date_of_post updated">
<span class="day_post"><?php print $day; ?></span>
<span class="month_post"><?php print $month_abr; ?></span>
</div>

<div class="post-content">
<header class="post-header">
<?php if ( is_single() ) : ?>
<h1 class="post-title"><?php the_title(); ?></h1>
<h1 class="post-title entry-title"><?php the_title(); ?></h1>
<?php else : ?>
<h1 class="post-title">
<h1 class="post-title entry-title">
<a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a>
</h1>
<?php endif; // is_single() ?>
Expand Down
4 changes: 2 additions & 2 deletions content-quote.php
Expand Up @@ -13,14 +13,14 @@
<?php $day = get_the_date('d');
$month_abr = get_the_date('M');
?>
<div class="date_of_post">
<div class="date_of_post updated">
<span class="day_post"><?php print $day; ?></span>
<span class="month_post"><?php print $month_abr; ?></span>
</div>

<div class="post-content">
<header class="post-header">
<h1 class="post-title"><a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'fruitful' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h1>
<h1 class="post-title entry-title"><a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'fruitful' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h1>
<?php if ( has_post_thumbnail() && ! post_password_required() ) : ?>
<div class="entry-thumbnail">
<?php the_post_thumbnail(); ?>
Expand Down
4 changes: 2 additions & 2 deletions content-single.php
Expand Up @@ -10,15 +10,15 @@
<?php $day = get_the_date('d');
$month_abr = get_the_date('M');
?>
<div class="date_of_post">
<div class="date_of_post updated">
<span class="day_post"><?php print $day; ?></span>
<span class="month_post"><?php print $month_abr; ?></span>
</div>

<div class="post-content">
<?php if (get_the_title() != '') : ?>
<header class="post-header">
<h1 class="post-title"><?php the_title(); ?></h1>
<h1 class="post-title entry-title"><?php the_title(); ?></h1>

<?php if ( has_post_thumbnail() ) : ?>
<div class="entry-thumbnail">
Expand Down
6 changes: 3 additions & 3 deletions content-status.php
Expand Up @@ -12,17 +12,17 @@
<?php $day = get_the_date('d');
$month_abr = get_the_date('M');
?>
<div class="date_of_post">
<div class="date_of_post updated">
<span class="day_post"><?php print $day; ?></span>
<span class="month_post"><?php print $month_abr; ?></span>
</div>

<div class="post-content">
<header class="post-header">
<?php if ( is_single() ) : ?>
<h1 class="post-title"><?php the_title(); ?></h1>
<h1 class="post-title entry-title"><?php the_title(); ?></h1>
<?php else : ?>
<h1 class="post-title">
<h1 class="post-title entry-title">
<a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a>
</h1>
<?php endif; // is_single() ?>
Expand Down
6 changes: 3 additions & 3 deletions content-video.php
Expand Up @@ -12,17 +12,17 @@
<?php $day = get_the_date('d');
$month_abr = get_the_date('M');
?>
<div class="date_of_post">
<div class="date_of_post updated">
<span class="day_post"><?php print $day; ?></span>
<span class="month_post"><?php print $month_abr; ?></span>
</div>

<div class="post-content">
<header class="post-header">
<?php if ( is_single() ) : ?>
<h1 class="post-title"><?php the_title(); ?></h1>
<h1 class="post-title entry-title"><?php the_title(); ?></h1>
<?php else : ?>
<h1 class="post-title">
<h1 class="post-title entry-title">
<a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a>
</h1>
<?php endif; // is_single() ?>
Expand Down
6 changes: 3 additions & 3 deletions content.php
Expand Up @@ -15,7 +15,7 @@
<a href="<?php the_permalink(); ?>" rel="bookmark">
<?php endif; ?>

<div class="date_of_post">
<div class="date_of_post updated">
<span class="day_post"><?php print $day; ?></span>
<span class="month_post"><?php print $month_abr; ?></span>
</div>
Expand All @@ -26,10 +26,10 @@
<div class="post-content">
<header class="post-header">
<?php if ( is_single() ) : ?>
<h1 class="post-title"><?php the_title(); ?></h1>
<h1 class="post-title entry-title"><?php the_title(); ?></h1>
<?php else : ?>
<?php if (get_the_title() != '') : ?>
<h1 class="post-title">
<h1 class="post-title entry-title">
<a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'fruitful' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a>
</h1>
<?php endif; ?>
Expand Down
2 changes: 1 addition & 1 deletion functions.php
Expand Up @@ -1073,7 +1073,7 @@ function fruitful_custom_css_and_slider_scripts() {
if ( ! function_exists( 'fruitful_entry_meta' ) ) {
function fruitful_entry_meta() {
?>
<span class="author-link"><a href="<?php print esc_url( get_author_posts_url( get_the_author_meta( 'ID' ))); ?>"><?php print get_the_author(); ?></a></span>
<span class="author-link author"><a href="<?php print esc_url( get_author_posts_url( get_the_author_meta( 'ID' ))); ?>"><?php print get_the_author(); ?></a></span>
<?php if ( 'post' == get_post_type() ) : // Hide category and tag text for pages on Search ?>
<?php
/* translators: used between list items, there is a space after the comma */
Expand Down
2 changes: 1 addition & 1 deletion no-results.php
Expand Up @@ -12,7 +12,7 @@

<article id="post-0" class="post no-results not-found">
<header class="post-header">
<h1 class="post-title"><?php _e( 'Nothing Found', 'fruitful' ); ?></h1>
<h1 class="post-title entry-title"><?php _e( 'Nothing Found', 'fruitful' ); ?></h1>
</header><!-- .entry-header -->

<div class="entry-content">
Expand Down

0 comments on commit d3e176f

Please sign in to comment.