Customizing the Gated Content Widget Templates - Newfangled Customizing the Gated Content Widget Templates - Newfangled

Newfangled Documentation

Newfangled Documentation

  1. Home
  2. Docs
  3. Gated Content Widgets
  4. Customizing the Gated Content Widget Templates

Customizing the Gated Content Widget Templates

Note: If your version of the Newfangled Gated Content plugin is less than 2.4.10, “Gated Content Widgets” will be referred to in WordPress as “Content Upgrades”.

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:

  1. Copy the file default template from
    /wp-content/plugins/newfangled-gated-content/templates/gated-content-widget-pre-form-content.php
  2. 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
  3. Make desired customizations to the file.

Gated Content Widget Post-Form Customization

To customize the Gated Content Widget post-form template:

  1. Copy the file default template from
    /wp-content/plugins/newfangled-gated-content/templates/gated-content-widget-post-form-content.php
  2. 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
  3. Make desired customizations to the file.