hey guys, so I’m pretty new with WordPress, but I wanted to know if there’s a shortcode plugin I could use to quickly change data in my text using shortcodes.
The site I’m working on is about VPNs, and I’d like to use shortcodes to automatically complete data like number of servers or connections.
Here’s an example of what I mean. Say vendor X has 2,000+ servers. Is there a plugin that would allow me to us a shortcode to auto-complete vendor X’s server count across all of my posts? So that I don’t have to do it manually. I’m thinking of a main shortcode (like [VendorXServerCount]) where I enter the desired value, and then just insert [VendorXServerCount] in my posts instead of typing in the actual server number.
Sorry if this sounds dumb, but I’m not good with programming or stuff like that, and was just curious if there is a plugin that can handle this. Cheers for the help in advance.
[ad_2]
So you want a shortcode that will display a static number that you input manually?
And if that number changes you can just update the shortcode code and all your posts will update?
You don’t need a plugin for something so simple. It’s just a few lines of code.
Here’s a guide that tells you how to make your own: [https://www.wpbeginner.com/wp-tutorials/how-to-add-a-shortcode-in-wordpress/]) – it’s super easy. You put the code into your child theme’s functions.php file.
[https://wordpress.org/plugins/shortcode-variables/])
[https://wordpress.org/plugins/shortcoder/])