maddisondesigns / customizer-custom-controls

WordPress Customizer Custom Controls
403 stars 120 forks source link

How do I load it into my plug-in #28

Closed muze-page closed 1 year ago

muze-page commented 1 year ago

Sorry, my technology is limited. After I failed several times, I came here to ask for help

maddisondesigns commented 1 year ago

Take a look at how my Sample Theme loads everything. Adding it into a plugin should be very similar to that.

maddisondesigns commented 1 year ago

I created a very simple sample plugin for you to look at, so you can see how to implement my Customizer Controls within a plugin (rather than a theme). As mentioned above, it's very similar to how you implement it within a theme.

You can find the sample plugin in my Customizer-Custom-Controls-Sample-Plugin repo.

Simply upload the 'simple-custom-controls' folder to your '/wp-content/plugins/' directory and activate. Read the readme.txt file in the 'simple-custom-controls' plugin folder to find out what controls this sample plugin adds to the Customizer.

maddisondesigns commented 1 year ago

I presume the details I posted above help with your query so I'm going to close this for now.