Placeholder Replacements - ariel-fer/Araena GitHub Wiki
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.
In order to replace the words. do the following:
-
On the page where it is required, make sure you have the webflow component
wc-custom-code
included. -
Go to the component, and modify the
c-custom-code_replaceWords
element.
3.In the embedded editor, you will find these words. You can go ahead and replace them accordingly.
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:
If this appears, it means either the word has not been set correctly or the script is not placed in that page at all: