You need the settings_errors();
function somewhere on your settings page:
function display_acme_options_page() {
settings_errors();
echo '<h2>Acme Options</h2>';
echo '<form method="post" action="options.php">';
do_settings_sections( 'acme-options-page' );
settings_fields( 'acme-settings' );
submit_button();
echo '</form>';
}
Related Posts:
- Tabbed theme options query about add_settings_section callback function
- How do I add settings to the Background Options Page?
- How To Add New Option Types To Option Tree?
- esc_url not working within add_settings_field callback
- Cannot update WordPress General Settings Site Title and Tagline
- How would you accomplish the following advanced settings page?
- How can I make my options in an array and store theme in WP options one DB row?
- Efficiency of wp_options vs a new table
- Consequences if using PHP include TEMPLATEPATH?
- Update Specific Key Value in Complex `wp_options` object
- Create settings field on button click
- Theme Option’s Save Button is not working
- How to store widget fields data as an array?
- WordPress API Menu/Submenu Order
- What are the advantages and disadvantages of Option Tree over the Customization API?
- Is it possible ( or advisable) to allow open access to the new theme customizer for potential clients?
- What WP folder can I use to write files to?
- WordPress Settings API error
- Add a dropdown to theme customizer
- Understanding wp_add_inline_style
- Add a new checkbox in theme options
- Modular theme settings
- How to add Color Picker in Theme Options for the following?
- Setting multiple default background images?
- Best practice way to implement custom sections into a WordPress theme
- How does WordPress decide what template to use as frontpage
- get_option function
- Best practice (forward compatibility) for theme options
- Get category slug and display it on a query_post
- Override Current Theme Setting in wp_config.php
- How to set the default value of a option in a theme?
- Why might $input (Settings API) be coming through empty?
- Where is default wp_head() implemented?
- Add a preview to a WordPress Control Panel
- WordPress settings API error when checkbox unchecked
- How to deploy a new theme/theme options from staging to production site
- WordPress Customizer Typography: How to load just the unique Google Fonts?
- Multiple Custom_Background, is it possible?
- What is the best way to export and import theme options?
- Static Front Page problem
- two tinyMCE editors in the same page
- How to remove menus section from WordPress theme customizer
- Settings API enable default settings on theme install?
- WordPress Errors in generated by theme check plugin [closed]
- WordPress Theme customisation CSS
- Select front page and blog page in custom theme settings page
- Using the theme options to change background
- Theme Options page not showing up in admin menu
- How to hook CSS file according to theme selection in the customizer section
- How Can I Create a List of Values to Be Iterated Through via WordPress Customization API?
- Change setting name in Customizer and keep the data
- Is there a way to activate different theme for specified users? [closed]
- How to upload images using Settings API
- after_setup_theme, Global Variable and Theme Customizer
- Is there an action for save_menu and/or update_menu?
- Theme settings keep getting reset/erased
- For best DB performance should I serialize all theme options together or by type?
- Set multiple templates per post
- Creating Theme Options Page
- Location of theme options page menu icon
- WordPress add options to theme not displaying
- qTranslate with my own theme and settings
- Where should I update_options in a theme?
- How can I display/hide certain content based on a Theme Option field?
- Create wordpress header with custom logo in between the menu splitting the menu into two equal parts [closed]
- Access theme options in templates
- Set the checkbox as checked by default at options page
- get_option in header.php not returning value from customizer
- Internal error 500 accessing Theme > Customize
- get_option() returning empty
- Can I have two different theme for two different language?
- Where to hook settings api init
- Using an if statement in the theme customizer page
- How to add “Template” option in page attributes panel?
- Single Page Design, Storing in Theme Options
- How to show custom meta_key in each li of menu
- How to: JQuery multiple wordpress media uploader buttons in the same options page?
- Update problem with update_option() in combination with register_setting()
- Following Web Performance Optimization techniques to output static and dynamic css
- How to disable wordpress from overload my stylesheet styles with customizer styles
- How to enqueue javascript for WP Customize options sidebar?
- How do i place same widgets multiple time by default on theme activation?
- Is it possible to save more than one image to an option?
- How to Call pages from a Options Panel
- Theme automatically inserting “more” tag on every post
- Custom widgets in theme option page
- wp_deregister_script was called incorrectly
- The content not wrapped in paragraph tags with get_page_by_title()
- Undefined index: debuging error for theme option template snippet
- How to Disable Color Options?
- Import/Export WordPress demo
- Turning WordPress Into full-featured website?
- How to make admin theme option with image slide show?
- Theme.json: creating different sections of the color palette
- Is it ok if I use this tag?
- How to show associated fields if checkbox is checked in customize widget screen using wp_customize?
- Remove nonindex meta tag
- TItle In Latest Post is not using H1 Tag [closed]
- Export WordPress theme with modifications for other site
- WordPress 6.4.2 – can’t load editor style css using ‘after_setup_theme’ or ‘admin_init’ actions