How can I get the value that is set for the container width inside the customizer layout section?
I need to use the width value in a template file.
Thanks for your help in advance!
Yes, the value can be set and is showing in the backend / customizer. What I’m asking is, if there is a function to get this value, which is stored in the database, to be echoed in a template file. Just like the value of a custom field for example.
Thanks Leo, but this doesn’t solve my problem.
What I need is to get the value of the container width set in the customizer.
If that value is changed at any time, I need that value to be changed as well in my special template file.
The value from the customizer gets saved to the database. So I need to retrieve this exact value via a function, so I can use it in a page template.
Thanks for your help!