Skip to content

Commit

Permalink
maybe fix front page title snippet awesomemotive#411
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeltorbert committed Oct 10, 2016
1 parent 190cb55 commit 9688b17
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions aioseop_class.php
Original file line number Diff line number Diff line change
Expand Up @@ -1352,9 +1352,6 @@ function get_page_snippet_info() {
$title = $this->wp_title();
}
$description = $this->get_main_description( $post );
if($this->is_front_page == true ){
$title_format = $aioseop_options['aiosp_home_page_title_format'];
}

// All this needs to be in it's own function (class really)

Expand Down Expand Up @@ -1400,7 +1397,10 @@ function get_page_snippet_info() {
}
$description = $this->internationalize( $description );
}

if($this->is_front_page == true ){
//$title_format = $aioseop_options['aiosp_home_page_title_format'];
$title_format = ''; // Not sure why this needs to be this way, but we should extract all this out to figure out what's going on.
}
$show_page = true;
if ( ! empty( $aioseop_options['aiosp_no_paged_canonical_links'] ) ) {
$show_page = false;
Expand Down

0 comments on commit 9688b17

Please sign in to comment.