Skip to content

Commit

Permalink
Fixed #10 - count wp issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ViorelEremia committed Feb 26, 2018
1 parent b6c431c commit 2ce4a96
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions class-fw-extension-seo.php
Original file line number Diff line number Diff line change
Expand Up @@ -397,8 +397,8 @@ public function _theme_action_update_seo_tags( $location ) {
global $post;
$this->seo_tags['date']['value'] = get_the_date();
$this->seo_tags['title']['value'] = get_the_title();
$this->seo_tags['excerpt']['value'] = ( has_excerpt() ) ? get_the_excerpt() : wp_trim_excerpt();
$this->seo_tags['excerpt_only']['value'] = ( has_excerpt() ) ? get_the_excerpt() : '';
$this->seo_tags['excerpt']['value'] = ! empty( $post->post_excerpt ) ? get_the_excerpt() : wp_trim_excerpt( $post->post_content );
$this->seo_tags['excerpt_only']['value'] = ! empty( $post->post_excerpt ) ? get_the_excerpt() : '';
$this->seo_tags['modified']['value'] = $post->post_modified;
$this->seo_tags['id']['value'] = $post->ID;
$this->seo_tags['author_id']['value'] = $post->post_author;
Expand Down

0 comments on commit 2ce4a96

Please sign in to comment.