feed-{slug}.php content template

content template for specific product collection RSS product feeds.

The feed-{slug}.php content template is used to theme the content of the storefront product collection RSS feeds. feed-{slug}.php is more specific than feed.php, and will be used instead of feed.php if found in your content template directory.

Note, this content template must conform to accepted RSS and the XML 1.0 standard.

Installation

This template file is used when located in the shopp subdirectory of your theme.

For instance, if your “My Theme” WordPress theme is located at:

/my-site/wp-content/themes/my-theme/

Any Shopp content templates should be added to:

/my-site/wp-content/themes/my-theme/shopp/

Some of the more general content templates have examples that can be installed in your theme, using the Content Template Starter Set. The Content Template Starter Set can be installed from your WordPress Admin by navigating to Shopp → Setup → Presentation → Theme Templates.

Examples

  • feed-t-shirts.php used for product collection (category, tag, term) with slug t-shirt.
  • feed-catalog.php used for preprogrammed product collection of all catalog products.
  • feed-new.php used for preprogrammed product collection of new products.
  • feed-featured.php used for preprogrammed product collection of featured products.
  • feed-onsale.php used for preprogrammed product collection of on-sale products.
  • feed-bestsellers.php used for preprogrammed product collection of best selling products.
  • feed-search-results.php used for product collection of search results.
  • feed-tag.php used for preprogrammed product collection of tag products.
  • feed-random.php used for preprogrammed product collection of random products.
  • feed-promo.php used for preprogrammed product collection of promo products.

See Also

You must be logged in to post a comment.

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

Skip to toolbar