A custom post type gives products a place of their own in WordPress. A taxonomy groups those products into categories, ACF stores each item’s specifications, and your theme controls how visitors see them. ACF has included a UI for registering post types and taxonomies since version 6.1, including in the free plugin. Register a post type · Register a taxonomy

1. Plan the post type and taxonomy

  • Post type bwp_product is labeled Products in the dashboard.
  • Taxonomy bwp_product_category is labeled Product Categories. Start with one term, Flange Couplings.
  • Public URLs use /products/ for the archive and paths such as /products/fc-304-50/ for individual products. Check that products is available before using it.

Use the taxonomy for groups buyers can browse and fields for individual properties, such as the model number. For an attribute you plan to filter by, define its unit or allowed values before entering the catalog. This setup works for a product catalog that takes inquiries. If buyers need a cart and checkout, see the WooCommerce integration in Part 6.

2. Register the product post type

  1. Go to ACF → Post Types → Add New. Enter Products for the plural label, Product for the singular label, and bwp_product for the post type key.
  2. Turn on Public and open Advanced Configuration. In the supported features, keep Title and Editor. Add Featured Image if a catalog card will use it. The featured image and the ACF product photo are separate fields.
  3. In the URL settings, set a custom rewrite slug of products, enable Archive, and use products as the archive slug. If your permalink structure adds an unwanted prefix, turn off Front URL Prefix for this post type. Keep Show in REST API enabled for the block editor. Individual ACF field groups have their own REST visibility setting.
  4. Save and check for a Products menu. If the site uses plain query-string permalinks, review Settings → Permalinks. On a live site, map existing URLs and redirects before changing the global structure.

3. Create product categories

  1. Go to ACF → Taxonomies → Add New. Set the plural label to Product Categories, the singular label to Product Category, and the key to bwp_product_category.
  2. Connect the taxonomy to Products. Enable Hierarchical if you need parent and child terms. Check Show in REST API if editors will assign terms in the block editor.
  3. Save, then go to Products → Product Categories and add Flange Couplings with the slug flange-couplings. Use the term’s View link to find its archive URL.

4. Attach the fields and publish a product

  1. Open ACF → Field Groups → Product specifications. Change the location rule to Post Type → is equal to → Product and save.
  2. Under Products, add a product titled FC-304-50 Stainless Steel Flange Coupling. Write a short introduction, set its slug to fc-304-50, and assign Flange Couplings. Copy the sample values from your practice post.
  3. Insert [bwp_product_specs] after the introduction using a Shortcode block. Preview the specifications before publishing the test product.

A location rule determines where the fields appear for editing. Values on the practice post remain attached to that post, so a new product needs its own values. If you’re moving an existing public catalog, inventory its old URLs and plan a permanent redirect for each moved product. Get the full shortcode example

5. Set up the archive and single-product template

Open /products/ and confirm that the archive lists your test product. Add the archive to the site navigation. In a block theme, open the archive template in the Site Editor and make sure its Query Loop inherits the archive query. In a classic theme, use archive-bwp_product.php in the child theme when you need a dedicated layout.

For a catalog-wide specifications section, place a Shortcode block after the Post Content block in the single-product template. With a classic theme, a developer can render the shortcode inside the main Loop in single-bwp_product.php. After moving it into the template, remove any copies in individual product descriptions to prevent duplicate output. WordPress template hierarchy

6. Test the catalog with two products

  1. Add a second product under the same category, such as FC-316-65 in 316 stainless steel. Open both products from the archive and make sure each displays its own specifications.
  2. Visit the Flange Couplings term archive and confirm that both products are listed. Check the catalog, specifications, and PDF link at a phone-sized viewport.
  3. If a product or archive returns a 404, check its publication status, post type visibility, archive setting, and possible slug conflicts. On a test site, resave the existing permalink settings to refresh the rewrite rules.

Plan the rest of your B2B website and inquiry flow