This repository has been archived by the owner on Mar 17, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix is_front_page() not working on WC shop page set as site's static …
…front page Not sure why this branch of IF conditional set post_type to 'product', since post_type is not set when using WooCommerce shop page as site's static front page. Removing this ELSE branch fix the issue and everything else is working fine. Tested with WooCommerce 3.1.2 and 3.2.1, switching default languages, using both shop page as site's front page and on standalone shop pages in all language versions.
- Loading branch information