I’ve found out that having mulitple settings_fields
wouldn’t work. So in register_setting
I use the same group name and now all the fields are updated correctly.
I got it from this http://www.mendoweb.be/blog/wordpress-settings-api-multiple-sections-on-same-page/
Related Posts:
- Hook if somebody saves plugin options?
- Where can I find a schema of wordpress plugin core architecture?
- How to Loop Plugin Option Field Set?
- Save and retrieve custom plugin options value
- How should I use register_setting, add_settings_section, & add_settings_field in my plugin’s options page?
- Using tabs for wordpress plugin
- How to handel multiple checkbox field in the admin settings page with Settings API
- Custom plugin settings: clicking “save changes” does not display success message
- How can I include a setting that has a variable number of values in a settings page using register_setting?
- Saving Plugin settings to the database
- check for the current screen
- Plugin set default setting value when it activated
- Get page slug in Admin menu
- Stop the form of beign submitted on “Save changes” custom option page
- Add a Custom Permalink option in the Permalink Admin Screen?
- Settings API – input always updates over validation
- Wp die causing 500 Internal Server Error?
- redirect on theme switch – WordPress
- Can’t get plugin settings page to save data
- Why this global array is returning NULL from a callback function
- How to get specific setting by settings_fields()?
- Most efficient way to use classes to create admin pages using Settings API
- Show admin notice on incorrect value on form field
- Cannot display settings field
- Checkbox conflict in my custom plugin admin page
- Bulk update all posts from plugin settings screen
- Change the display of Settings API (do_settings_sections)
- Settings API saved values not getting shown in the dropdownbox
- Can I use register_settings and unregister_setting once the settings page has loaded?
- Update WP option by plugin
- How to save plugin custom settings page fields
- How to change php variable value using wp setting api
- Settings API Message Error is global
- 500 error when updating plugin option
- How to make sure settings are not lost when plugin is updated?
- Editable select options in quick edit OR in plugin settings
- How to save Setting pages data to the database?
- update_option_{$option} not working (do function after options are saved)
- How do I render content from a wp_editor in a plugin setting field?
- Settings Fields not showing up in Submenu Page
- How to save the option’s new values plus old value without overwrite old one
- WordPress Boilerplate Plugin doesn’t see callback functions for add_settings_field and add_settings_section
- How do I add a textarea (multirow) option to my WordPress plugin?
- WordPress Settings – Custom Button actions
- Option page not updating multiple records in settings api
- Creating a register settings class that supports extended classes
- Unable to Retrieve Setting Value for my Plugin
- Validating values using Settings API?
- Extend my plugin settings with hooks
- How can I save a setting field with multiple checkbox options generated by a foreach loop on a custom wordpress admin page?
- move setting data from wordpress api to codestar freamwork
- When to store store plugin options as a single database record?
- Super slow plugin page (lots of error 500)
- How to make a dynamic css class whose name changes every visit to confuse scraper
- serverSideRender does not render “preview” html inside Gutenberg block
- How use wp media upload liberary in react components?
- Add_rewrite_endpoint doesn’t work with post name permalink structure
- How to notify wordpress instalation about my plugin update?
- Is it possible not to load theme on a specific page in wordpress?
- How to change shortcode’s default theme?
- Integer in Array returns null
- Plugin onclick button activate other plugin
- composer not working on my plugin when i upload it to my website
- wc_get_template new template does not showing up
- How to select a paragraph other than the 1st to be the post’s excerpt?
- Moving Jetpack buttons to appear below the first H2 title on all project/post pages [closed]
- Send email to multiple addresses on Contact Form 7, but exclude personal details on all but one
- How can I support plugins in a custom theme?
- Display site language setting in source code
- Show icons or badges under title on product archives/category pages
- How to get theme’s info from wordpress.org/themes using api.wordpress.org?
- Override/ignore CSS from active theme as not to interfere with my custom CSS
- WordPress Custom Pages that work with Plugins?
- posts from multiple post types in one slider
- How to automatically redirect to custom admin menu after plugin activation?
- How to use the CSS of the WordPress core in the development of my administration page?
- Redeclare function after plugin activation
- add_submenu_page returns null
- What is the WordPress approach to custom data?
- Conditional Shipping Options if Certain Products are in Cart WooCommerce
- Readable titles in mobile
- How to do the simplest possible frontend ajax call from a plugin?
- The XXX plugin has been deactivated due to an error: The plugin does not have a valid header
- How can I add “last updated” in plugin descripton?
- get_edit_post_link() not working on wp-cron
- get_option / wp_localize_script Not Working in OOP Plug In
- New bulk action to resend welcome emails
- Get site url and updates data, then use them
- How to have a gallery in which each image’s caption is a whole “post”?
- I receive taxonomy id
- How do we update a custom file upload field with the Advanced Custom Field plugin?
- WordPress won’t allow for updates to plugins or WordPress Core
- WordPress Stock Update Programatically
- Loading a plugin’s js file from functions.php
- Woocommerce Backend Search by Title and SKU
- I Setup Rate My Post Plugin On Site But Now Got Issues In Google Webmasters
- How to integrate together a website currently hosted WordPress.com and a custom web application currently hosted on Azure?
- How-to: This block can only be used once
- output html on post or page from custom plugin [closed]
- Custom Post Type – custom form in dashboard