is_shopp_catalog_page()

determines if the requested page is a catalog page.

is_shopp_catalog_page ()

@return bool true if the current page request a catalog page, else false.

Description

determines if the requested page is a catalog page.

This function will return true for WordPress Shopp product taxonomy requests, WordPress Shopp product page requests, and Shopp smart product collection requests. This function will return false for all requests for other non-Shopp product taxonomies, non-Shopp post-types, and WordPress posts/pages. When a Shopp product/taxonomy/collection is loaded through the theme or development api, and not through the web page request, the load will not cause this function to return true.

Example

if ( is_shopp_catalog_page() ) {
    // code specific to Shopp content here
}

See Also

You must be logged in to post a comment.

© Ingenesis Limited. Shopp™ is a registered trademark of Ingenesis Limited.

Skip to toolbar