is_shopp_catalog_frontpage()

determines if the requested page is the catalog front page.

is_shopp_catalog_frontpage ()

@return bool true if the current page request is for the Shopp catalog front page, otherwise false.

Description

Determines if the requested page is the front page of the store.

This function will only return true if viewing the base catalog landing page request, and not a product taxonomy, product collection, or single product page request.

Example

if ( is_shopp_catalog_frontpage() ) {
    // code specific to the Shopp frontpage
}

See Also

You must be logged in to post a comment.

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

Skip to toolbar