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
- Edit password change email text or disable it
- Using send_password_email filter after wp_update_user
- Usage of call back function of add_meta_box()
- Building a REST API for your web app exposes primary keys of DB records?
- Change product_base programmatically
- Scheduling an event inside plugin class is not working
- How to remove the message ‘We could not find any results for your search’ without changing template files and without adding posts/pages?
- calling a custom field value inside functions.php
- Using ob_start and ob_get_clean with wordpress shortcode
- How to add the sidebar to all the pages except the home page? [closed]
- Custom meta box values are not getting saved for my custom post type
- Warning: in_array() null given in PHP function
- how to save checkbox data for custom setting?
- Upload multiple files in randomly generated folder using wp_upload_bits
- Create page template via functions.php?
- Short code template + ajax
- Add meta tags to a custom header
- Ajax filter button display all posts
- How do I add custom HTML to the content of an archive page’s posts?
- How to Change CSS Colors from Custom Plugin Settings Page
- Passing the name of selected color from the custom component to `render_callback`
- List all blogs, but exclude the main site
- How to append to an array and return the results in a filter?
- Shortcode to embed Edit Account form not working
- Any ideas why I am getting “I’m getting “wp-admin/admin-ajax.php 401 (Unauthorized)”
- Can a plugin redirect product page based on IF condition?
- Cant register rest routs from class instance
- Shortcode not staying inside div tag
- Line breaks inside shortcode variable
- Save html content of a widget textarea
- Plugin development and composer
- How to Schedule Cronjobs for start of every month and year
- Shortcode conflicts
- How to have different site identity logos on each page on Astra Theme [closed]
- Handling PHP/HTML inside the output of a shortcode function
- Shortcode for Listing Users from Meta Value?
- Can’t upload CSV file to plugin directory using custom upload form in admin panel
- wordpress frontend editor to add extra css to website
- Validate and Sanitize WP REST API Request using WP JSON Schema?
- how to Update 15k products on plugin activation with meta_option
- Cant display an image via PHP in wordpress
- Shortcode to pull posts
- How do I create a secondary version of the_content
- Why does my settings form redirect to the homepage?
- Using admin-post.php for admin form but it directs me to admin-post.php white screen
- Custom query vars filters problem with pagination
- PHP code inside Shortcode
- Filter by field with array value in ACF on WP REST API
- Set default Database Storage Engine when creating tables with plugins?
- Need to Modify a WordPress Shortcode with another wordpress shortcode
- Hooks for post saving make a post-new.php to load latest post’s data
- Help Fallback (thumbnail)
- wrap a span tag around author’s post count
- How to return a string that has a jQuery and Ajax inside in a shortcode?