When the pre-form or post-form content is shown for Gated Content Widgets, default templates are used. You can use the default style for these widgets, and the background color for this default style is configurable in WordPress under Settings > Newfangled Gated Content > Gated Content Widgets > Gated Content Widget Background Color. Alternatively, you can customize these templates using the below instructions.
Gated Content Widget Pre-Form Customization
To customize the Gated Content Widget ‘pre-form’ template:
- Copy the file default template from
/wp-content/plugins/newfangled-gated-content/templates/gated-content-widget-pre-form-content.php - Paste this file into your theme folder with this naming convention:
/wp-content/themes/[your_theme_name]/nf-templates/gated-content-widget-pre-form-content.php - Make desired customizations to the file.
Gated Content Widget Post-Form Customization
To customize the Gated Content Widget post-form template:
- Copy the file default template from
/wp-content/plugins/newfangled-gated-content/templates/gated-content-widget-post-form-content.php - Paste this file into your theme folder with this naming convention:
/wp-content/themes/[your_theme_name]/nf-templates/gated-content-widget-post-form-content.php - Make desired customizations to the file.