Any time Gated Posts, Webinars, or Gated Content Widget are shown as a smart sidebar widget, a default template is used. For most cases, these default templates do not need to be modified and simply need CSS styling to match the styling of your site. You can customize these templates using the below instructions.
Gated Post Sidebar Widget Customization
To customize the Gated Post sidebar template:
- Copy the file default template from /wp-content/plugins/newfangled-gated-content/templates/smart-cta.php
- Paste this file into your theme folder with this naming convention: /wp-content/themes/[your_theme_name]/nf-templates/nfgated-smart-cta.php
- Make desired customizations to the file.
Webinar Sidebar Widget Customization
To customize the Webinar sidebar Smart CTA template:
- Copy the file default template from /wp-content/plugins/newfangled-webinars/templates/smart-cta.php
- Paste this file into your theme folder, naming it: /wp-content/themes/[your_theme_name]/nf-templates/nfwebinars-smart-cta.php
- Make desired customizations to the file.
Gated Content Widget Sidebar Widget Customization
To customize the Content Upgrade sidebar Smart CTA template:
- Copy the file default template from /wp-content/plugins/
newfangled-gated-content/ templates/gated-content-widget-smart-cta.php - Paste this file into your theme folder, naming it: /wp-content/themes/[your_
theme_name]/nf-templates/ nfgated-gated-content-widget-smart-cta.php
- Make desired customizations to the file.