How to update multiple instances of Phone Number and business name in one go? Should I use a short code plugin?

[ad_1]

Most of my pages have multiple buttons with phone number and multiple places where the business name is mentioned.

If I want to use the same pages for another client, I have to either update everything manually or find and replace everything.

Is there a way I can use a “variable” where I mention the phone numner / business name once, instead of hardcoding the phone number and business name everywhere? Should I use a short code plugin for this?

[ad_2]
2 Comments
  1. Many ways you could go about this. What setup around you using? A page builder, blocks, etc? You could set these values in the customizer and then use the values, but can’t tell you exactly how unless we know if you’re using, divi, oxygen, gp, etc. short codes would also work but you don’t need a plugin to create those. Just PHP is fine. You could ask GPT4 to help if you aren’t sure how (it’s generally pretty easy). Lastly, template parts for header/nav etc

  2. If this were done in blocks then you could use a reusuable block. Editing it makes the changes wherever that block is used on site. No plugin needed as it is already part of core.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer