Wordpress. Create theme. Options API. Create custom options

Home » Tutorials » CMS » WordPress. Create theme. Options API. Create custom options

In this tutorial we will finish wordpress theme making. Our last task in this video series is to make page header text customizable in admin panel. For this purpose we will use wordpress api settings.

To add new field in admin panel we will use register_settings function for register a new options, and add_setting_field function to register a new fields in specified section/page in function params. For output our settings we will use get_option function.
It will be last tutorial from this “intro to wordpress” series. You can download our created theme by this link.

Подписаться на рассылку

Будьте в курсе - получайте последние статьи на свой email

Ваша подписка успешно оформлена

Pin It on Pinterest

Share This