Skip to content
This repository has been archived by the owner on Mar 17, 2022. It is now read-only.

Commit

Permalink
Merge pull request #253 from marian-kadanka/fix-is-front-page-conditi…
Browse files Browse the repository at this point in the history
…onal-tag

Fix is_front_page() not working on WC shop page set as site's static front page
  • Loading branch information
hyyan committed Dec 5, 2017
2 parents 6c73f8a + 2dc44a1 commit 13409a5
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/Hyyan/WPI/Pages.php
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,6 @@ public function correctShopPage(\WP $wp) {
$wp->query_vars['post_type'] = 'product';
}
}
} else {
$wp->query_vars['post_type'] = 'product';
}
}

Expand Down

0 comments on commit 13409a5

Please sign in to comment.