MS Web Arts Rebranding Logo Icon
MS Web Arts Rebranding Logo
View Categories

Template Overrides

< 1 min read

All frontend markup lives in the plugin’s templates/ folder and can be overridden from your theme without touching the plugin (your overrides survive plugin updates):

  1. Create a folder named wcoffers inside your theme (or child theme).
  2. Copy the template file you want to change from wp-content/plugins/custom-offers/templates/ into it.
  3. Edit your copy. The plugin looks in the child theme first, then the parent theme, then falls back to its own copy.
wp-content/plugins/custom-offers/templates/card-offer.php
            ↓ copy to
wp-content/themes/your-child-theme/wcoffers/card-offer.php
TemplateRenders
card-offer.phpThe offer card (chat, dashboard): status badge, price summary, action buttons.
card-request.phpThe request card.
my-account-dashboard.phpThe My Account → Custom Offers dashboard.
popup-request.phpThe customer request popup.
popup-offer-builder.phpThe seller offer builder popup.

Advanced: the lookup paths themselves are filterable via wcoffers_template_paths.

Important: keep the CSS class names and data-* attributes from the original templates when overriding, because the plugin’s JavaScript targets them. Styling is driven by CSS custom properties (--wco-*), so most visual changes need only a few CSS variable overrides, not a template override at all.

Go to Top