The problem is that I want to ACCUMULATE these options and store them
in the options database. Meaning I would be able to add multiple
records to the database, instead of only updating a single option.For example, I need to store testimonials that will allow the user to
keep the name/testimonial for several different people (i.e. Brad’s
testimonial, Carrie’s Testimonial, etc), so the option would need the
ability to add multiple records.
What you’re describing is not an option, but rather a Custom Post Type.
So, don’t try to force custom content square peg into an option round hole. Instead, register a testimonial
Custom Post Type.
Related Posts:
- Make Database query only when option is updated
- framework for plugin/theme options panel? [closed]
- How do I add CSS options to my plugin without using inline styles?
- “Error: Options Page Not Found” on Settings Page Submission for an OOP Plugin
- Is get_option function cached?
- Update Option Stored in Multi-Dimensional Array
- Get page content using slug
- Where to store PHP files created by plugin / themes
- Where to store plugin settings fields
- Is get_option() faster than accessing get_transient()?
- What’s the best method for emptying an option created with the Settings API?
- Releasing new plugin version, how to rename old options keys?
- WordPress updates defined vs add_filter?
- Creating Settings Page with dropdowns for Plugin
- Custom plugin: Trying to show saved data on frontend
- How to add a new plugin page under desired Options page?
- Has anyone managed to integrate the wp_editor inside a widget?
- How to find out if option exists but is empty?
- Deletion of shared options using uninstall.php
- Two-step login process – Is it possible?
- Why won’t register_setting() create a setting?
- $wp_filesystem returns NULL. What are the dependencies?
- Multiple entries in get_option results? or why is _multiwidget set to 1?
- Dropdown list of pages to get page id to store in plugin options
- update_option_{$option} Too Few Arguments
- Save user-specific options in WordPress admin
- Creating option to allow user to select the page my plugin content will display on
- Unified Approach for Placing Option Pages
- Admin-ajax.php appending a status code to ajax response
- array_map() for sanitizing $_POST
- WordPress plugin options and jQuery
- Performance of several get_option() calls
- Extend plugin options page
- Can I use the different settings sections over different pages using the save options group?
- Options API – Validation Callback $input is NULL
- Best choice of options/settings framework for plugin/theme development
- Correct way check nonce (security) using old Options API
- Show dialog box in TinyMCE plugin and use WordPress php functions in it
- How to store a medium amount of options?
- Remove Internal Style Sheet if no Value Provided?
- What could cause my plugin’s options/settings page not to load?
- WordPress setting with select – where is my mistake?
- Update Option Error: Notice: Undefined index
- Applying OO patterns and principles to plugin development
- Adding Default Settings to Theme My Login plugin
- Custom delete option button in plugin settings
- Storing product price data in the database
- How To Change Post Author Default?
- Editing options pages?
- Multiple options pages validation for a plugin
- Failed to Open Stream: Permission Denied While Writing to an XML File in a WordPress Plugin
- Whitelisting items from custom options page
- get_option() not returning expected value from plugin
- Options API get_option() and update_option() Not Correctly Updating or Returning
- Prevent invalid or empty values from being saved to the database and retain the form field values upon error
- Update problem with update_option() in combination with register_setting()
- wordpress JSONAPI introspector always limits number at 10?
- Access bloginfo, get_option, and plugins_url from a non-core php file
- Saving plugin settings – ERROR: options page not found
- How Can I add Fields in wp-option table?
- Checked() function on a multidimensional array
- get_option() will not work without access to wp-config.php
- WordPress Specified file failed upload test
- Issue on Checkbox with Custom Option Page
- The Correct Way to Use Nonce Field without Settings API
- Getting a WordPress Debug Strategy
- How to Change CSS Colors from Custom Plugin Settings Page
- Settings API: Setting default option via ‘get_option’ fails
- Custom Plugin Options Won’t Update
- Problem with display data from get_option
- Use options to control jQuery plugin
- why does get_option( ‘home’ ) not work while using in plugin [closed]
- Plugin Options not saving options and doesn’t work
- What could cause a WP Option to get truncated?
- Adding Permalink to Slides with ‘Simple Nivo Slider’ plugin?
- Setting a post’s category
- post content and shortcode content displaying out of order
- Decontruct serialized data array from wp_options
- “Rendering of admin template [path to template] failed”
- Add a custom WooCommerce settings tab with sections
- Add multiple checkboxes as single field to Custom Shipping Method Settings Page
- update_option() passing empty array() but still updating
- How to create plugin settings page for each admin user?
- Plugin setting page – update_option problem
- Cannot save settings value
- Array/List Edit in Backend
- What should I use instead of get_blog_option?
- Tie specific functions to options-update for limiting API requests
- Can’t switch theme after activation
- How do I build a settings panel under the plugin
- Saving an array to get_options
- update_option() updating the option with an empty value?
- Add_menu_page and saving settings
- Plugin options page – save two related options as one entry
- Saving multiple fields as array
- Options don’t save, validation callback not executed
- Menu_slug used for creating options page
- Modify a Themes Appearance >> Header admin screen from a plugin
- Settings API not Saving to Database or Display
- Admin Message after Plugin Option Updated