You can store values in a database and get that value from the database and pass the value to shortcode from the database.
Now you just need one admin page to update these 4 values.
to add menu page refer this
for example, after creating page you can save this 4 values in side option table using update_option() and using get_option() when needed.
update_option('anykey','3,100+');
$number = get_option('anykey');
[showsusp figure=$number usptitle="Satisfied Clients"]
I hope you get the idea.
Related Posts:
- How to call function at the bottom of post using plugin?
- Retrieve multiple values passed to a single attribute in a shortcode
- Display a text message if the shortcode is not found?
- append PHP function to the_content
- Loading page template into shortcode
- My shortcode is showing up twice
- How to add Shortcode (font awesome) in widget title?
- Custom plugin issue when trying to use the shortcode twice on a page [closed]
- How to set a custom path, for ajax image upload folder in admin?
- Wrap First Character after in a tag
- Making Quote Plugin more efficient
- custom shortcode will not display the wrapped content
- WordPress php filter admin_body_class not working
- Custom filter in admin edit custom post type responding with invalid post type?
- Append HTML Using Shortcode
- Plugin CSS not enqueing
- Showing content from one page on another
- How can I remove a function that has been added to wordpress with add_filter?
- Add a specific part of current category page url to shortcode
- Removing “wpautop” (auto tags) only on certain pages?
- Redirect to another page using contact form 7? [closed]
- Get URL from shortcode tag
- How to debug this search & replace strings snippet?
- Only first shortcode gets executed
- How to hook code to show after the_content?
- Is it possible to define variables in a wordpress shortcode, and then call the shortcode using a specific variable?
- Create a WordPress shortcode using PHP [duplicate]
- WordPress shortcode returns the data before
- Get the_content surrounded by instead of
- Action Hook Inside WordPress Plugin Shortcode
- Can I remove or edit an include() from a function with a filter?
- Including Custom fields within the_content
- What is the difference between Null vs Empty (Zero Length) string?
- Shortcodes not processing inside post content
- Display a custom name when the user has no name settle in his account
- I want to hide “sold by” on certain pages with id page 43
- using filter and hook inside class
- overwrite wordpress gallery with custom gallery shortcode
- How to return html as a string from php for WordPress
- How to bind each “the_content” elements to a custom variables
- Reload page with a different shortcode when a user selects from a dropdown
- Shortcode Works for Logged in Users but Not Working for Guest
- Add custom filter to register data in array
- using a shortcode in a hyperlink
- WP Custom tables query
- Custom plugin with shortcode not working
- Insert Custom HTML After Shortcode
- Remove class that has been added by parent theme
- How to use a frontend URL with a Plugin
- Get list of shortcodes from content
- Audio tags around Mp3 URL in content
- WordPress template_include filter not working properly
- “The plugin generated 2694 characters of unexpected output…” on Plugin activation, CREATE TABLE sql command not working
- How to display a value from a radio button in the options menu in wordpress
- Put php variable in shortcode
- WooCommerce: Add Payment Gateway Field to Webhooks [closed]
- How do I add text in a shortcode?
- Shortcode content filter?
- Nesting if statements to echo only one string based on what tag was filtered?
- How to properly loop through these external URLs to get them into the sitemap using this hook
- Input type search in Menu
- Why does my callback function not work with this custom filter hook?
- Custom shortcode outputs plain text instead of HTML at top of post
- Extend PHP regex to cover “srcset” and “style” attributes
- Excecuting php function in shortcode
- Check if variable is set in filter
- Returning data instead of echoing/printing
- wp_insert_post: array only. wp_update_post: array|object (?)
- do_action(), iFrame Gets Displayed Despite Password Protection [closed]
- Content filter won’t work
- Building a REST API for your web app exposes primary keys of DB records?
- Warning: in_array() null given in PHP function
- Shortcode conflicts
- PHP code inside Shortcode
- Custom Registration username_exists / email_exists
- PHP Helper Class to create shortcodes
- Can / should a widget plugin define its own Widget Area?
- Add a custom WooCommerce settings tab with sections
- Show related products by attribute based and certain conditions
- Using ACF Relationship field to set post type to draft or published status
- How can i avoid duplicate same post in wp?
- Time Stamp In A WordPress Post Title That Does Not Keep Refreshing
- Fatal error: Uncaught Error: Class ‘WP_Block_Styles_Registry’
- How to wrap pattern-matches from the_content in [wiki]-shortcode tags
- How can I create a shortcode from an html and php code written together
- Filter portforlio with librairie isotop
- CPT in a shortcode
- Redirecting the lost password page request when using a custon login page
- PHP/CSS: Shortcode won’t display correctly, and only displays in the head (before content)
- How to properly escape in ternary operators – Wp Coding Standards?
- WordPress Shortcode based on other shortcode
- How to send logs to plugin owner for a plugin?
- Wrapping shortcode content in a span or link
- Force CSV download with template_redirect
- Where to place PHP for shortcodes
- PHP Widget and do_shortcode
- Shortcode not passing variable to included file
- How to automatically convert images to WebP on WordPress?
- wp_register_script – illegal string offset
- I have a php function with a shortcode to add share buttons, but I’m having an error!