I’m writing a plugin with a settings/option page and I want some php code to […]
Tag: settings-api
WordPress Settings API: saving multiple rows of similar data
I’ve been experimenting with the plugin options starter kit but can’t find a way to […]
How can I include a setting that has a variable number of values in a settings page using register_setting?
I have one option on a settings page that can have between 1 and 5 […]
Displaying errors with settings api
I’m not using the full settings api, just this code: register_setting( ‘my_options’, ‘my_options’, ‘my_options_validate’ ); […]
Possible to add another setting to ‘Front page displays’ setting for Custom Post Type
Let me set the scene: I have a CPT that will work on a multi-site […]
wordpress settings api add fields
I am trying to add some code to a theme that will allow the user […]
Adding labels to Setting titles with API
If I add a setting using add_settings_field(), it doesn’t create a <label> around the title […]
What are the advantages to the Settings API?
Let me preface this by saying that I hardly ever work with WordPress – in […]
What’s the best method for emptying an option created with the Settings API?
I’m trying to empty an option created with the Settings API and failing. update_option ( […]
Using the Settings API, how should I add multiple values to an option?
I’m trying to add/ update additional values to an option created with the Settings API. […]
No More Posts Available.
No more pages to load.