[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]
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
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.