Integrations

Setting up WooCommerce and Gravity Forms with the Custom theme.

Table of Contents

Our own plugins and how to set them up are described under Plugins.

WooCommerce

The Custom theme ships the shop templates, the product teasers and a WooCommerce header. To set up a shop:

  1. Install WooCommerce and run its setup wizard.
  2. Replace the header with the one designed for WooCommerce: in the Site Editor under Patterns › Template Parts › Header.
  3. Set up the My Account page. WooCommerce provides no template for it, so wrap its shortcode in a full-width group with a nested wide group, the same shell every section uses.
  4. Link the privacy policy page in the WooCommerce settings.

On pages outside the shop, the WooCommerce stylesheets load at the end of the page instead of in the <head>. See Performance.


Gravity Forms

We usually build forms with Gravity Forms, and the form styles are prepared for it. One block of the Custom theme’s CSS styles all form elements centrally and uniformly: plain HTML form elements, WooCommerce form elements and Gravity Forms elements. A form from another plugin picks up the HTML part of these styles automatically.