If you are currently developing your own WordPress Theme and you want to make it fully customizable, the WP Customizer API is a great option to get started. In this tutorial, I will show you how to create a Customizer Class and use the WP Customizer API to add and retrieve data without doing any complicated database queries. I will cover how to add the Select option, Textarea and Image.
Article: https://www.raddy.dev/blog/wordpress-customizer-api-editable-sections-theme-development/
☕ BuyMeACoffee: https://www.buymeacoffee.com/RaddyTheBrand
Discounts:
⚡ Hostinger: https://www.hostg.xyz/aff_c?offer_id=408&aff_id=69300
⚡ Elementor: https://be.elementor.com/visit/?bta=26518&brand=elementor
Recording Equipment:
◾ Microphone: https://amzn.to/3Ppp8Ok
◾ Shotgun Mic: https://amzn.to/3IVqIot
◾ Camera: https://amzn.to/3z0bxpF
◾ Lens: https://amzn.to/3Pw4s7d
◾ Lighting: https://amzn.to/3PGXvzW
Computer Gear:
◾ Keyboard: https://amzn.to/3PGXvzW
◾ Headphones: https://amzn.to/3PJl9fg
◾ Mouse: https://amzn.to/3z1TGPf
Connect with me:
◾ Website: https://www.raddy.dev
◾ Newsletter: https://www.raddy.co.uk/newsletter
source
how to create new sections by user ( i need for my slider )
how can i put an image as a default ?
Thanks. it's useful for me. How can I add blue pen edit icon at each section?
This is what I needed. Thanks for posting!
Thank. But is this not possible in procedural programming? I have no idea about OOP yet.
Very helpful! Thank you! I would like to see more videos like this.
Great video – thanks for sharing!
Why did you use that extra function 'restister_customize_sections' inside __construct. Is it possible to use 'author_callout_section' instead of 'restister_customize_sections' in __construct ?
If no, why ?
I want to slap on the face of those 7 people who disliked this video. Awesome work man, I was looking for this for the last 4-5 hours. 👏👏👏👏👏
Thank you!!! Great tutorial!!!
Thank you so much for this video!
thank you
This was reaaally helpful! <3 Thanks
what if we want to use it for a plugin?
sir thank u thank u
but i want to create font-family option using customizer setting control plz guide me create these typography ,
Best regards
Thx ! amazing tutorial. Is there a way to register multiple Customizer using this class ?
Gracias por este tutorial, me ha servido de grán ayuda, gracias por compartir su sabiduría
Thanks for your helpful tutorial bro
please do the social section as well…. great tutorial
…
Great tutorial! This is just what I was looking for. Thanks!
Wow! So generous of you to share this! It's just what I needed, too.
Thank you! make another video in customizer please
I'm just a bit confused about sanitize_callback. Why you assign an array? I can't find other examples.
Excellent video. Straight to the point.
thank you man for making this video
Good one but reminds me like and old movie scene as thats going to happen for some one new to wordpress 😀 https://youtu.be/-6rKV8EoKaI?t=32
Hey Raddy, I've got a page which is styled by a plugin. The style values (colours, typography etc) are stored in the plugin's wp_options settings. I want to create a customizer section for the plugin so I need to update those wp_options values when the controls for that section are changed. I.e. changing the font colour in the customizer needs to update the plugin's wp_options value for font colour. Also, the live preview pane needs to refresh as normal and show the updated styling. Do you know how I could do that? Maybe using some kind of control action hook?
Very nice tutorial
Thank you, RaddyTheBrand
Hello sir, i want some help of yours. I have jdoodle API and i want to add in wordpress. Can you help me to integrate jdoodle compiler in my website via APi??
Great. ..
Nice turorial! Definitely create more like this. One request: please bump-up the font-size in VS. It helps when viewing your tutorials on mobile.
subscriber 666 )) Thanks!
Thanks. It would be helpful if you could create a gist or repo for the code in the tutorial too. Thanks again.