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):
- Create a folder named
wcoffersinside your theme (or child theme). - Copy the template file you want to change from
wp-content/plugins/custom-offers/templates/into it. - 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
| Template | Renders |
|---|---|
card-offer.php | The offer card (chat, dashboard): status badge, price summary, action buttons. |
card-request.php | The request card. |
my-account-dashboard.php | The My Account → Custom Offers dashboard. |
popup-request.php | The customer request popup. |
popup-offer-builder.php | The 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.
