admin管理员组

文章数量:1420891

I'm adapting a theme for my use, and it currently doesn't have a field for a banner in the header and I would like to add one.

But rather than hardcoding it into the theme, I would like to be able to select the header image with the theme customizer, where can I learn to do that?

I'm adapting a theme for my use, and it currently doesn't have a field for a banner in the header and I would like to add one.

But rather than hardcoding it into the theme, I would like to be able to select the header image with the theme customizer, where can I learn to do that?

Share Improve this question asked Apr 4, 2020 at 9:58 metichimetichi 1375 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 1

Theme Customization API on Wordpress Codex:

https://codex.wordpress/Theme_Customization_API

本文标签: How to add field customizable by the theme editor to your theme