Can I use a text shortcode to somehow format a page background colour?

[ad_1]

Hi.

I am using a plug-in which gathers information from users, via a form.

Each field on the form creates a shortcode so the data can be displayed elsewhere on my site (a user page for example).

I’ve tried adding a text field to the form to collect a user chosen colour (hex code).

I hoped the resulting shortcode could be used in the formatting of a user page thereby allowing users to choose their background colour.

It doesn’t work though.

Is it possible to do this please? I have Elementor Pro if that helps.

How would you do it?

Cheers

[ad_2]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer