WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
How to check if I'm on my shop page? (2 posts)

  1. Raider000
    Member
    Posted 7 months ago #

    Hi,

    how do I check if the current URL is my shop?
    I have tried out:
    <?php if (is_shop() || is_woocommerce() || is_product_category() || is_product_tag()) : ?>
    but none of them works.

    http://wordpress.org/plugins/woocommerce/

  2. Roy
    Member
    Posted 7 months ago #

    is_shop() should definitely work for the default shop archive unless you have changed it to something else in your WC settings.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.