How can i add customisation of text to my theme?

Question

I have a theme with a

<h2>Hello</h2>

I want a user to be able to come and edit this theme via “Appearence -> Customize”.
E.g. by changing the above to

<h2> Changed </h2>

I have tried looking at
https://codex.wordpress.org/Theme_Customization_API
However it doesn’t go into any detail about how to change the information.

e.g. it has tautology like

"Settings automatically use WordPress's theme_mod features to get/set settings for your theme."

Which equates to Settings change Settings????
Is there a tutorial/documentation that tells you how to create a theme customization?

0
Ryan Hinchliffe 1 year 2020-07-16T10:10:26-05:00 0 Answers 26 views 0

Leave an answer

Browse
Browse