Placeholder Replacements - ariel-fer/Araena GitHub Wiki

Solution description

This solution is intended to reuse some of the components & pages that should appear on every website project such as Privacy Policy, Accessibility, Cookies description, etc. Since content is usually repetitive, only a few words must be replaced within each project. This is why this solution comes in handy.

This is already implemented in the base template in Webflow.

Setting values

In order to replace the words. do the following:

  1. On the page where it is required, make sure you have the webflow component wc-custom-code included.

  2. Go to the component, and modify the c-custom-code_replaceWords element. image.png

3.In the embedded editor, you will find these words. You can go ahead and replace them accordingly. image.png

Verify

In order to check if these are working, go ahead and open de following published pages (inside webflow this does not work):

  • Accessibility statement
  • Cookie policy
  • Privacy policy

This shows it works properly: image.png

If this appears, it means either the word has not been set correctly or the script is not placed in that page at all: image.png

⚠️ **GitHub.com Fallback** ⚠️