How to manage frequently changing values and automatically show them in posts?
-
Let’s say I have a website that shows features and prices of different services. These features and prices change very often and I don’t want to update the posts manually or by mysql every time they change…
In fact I want to be able to edit the features and prices for all services within a single file / or mask.
In every wordpress post I want to use a shortcode or something like that to show “service_a_features” + “service_a_price” or “service_b_features” + “service_b_price” and so on.
How could I accomplish that?
Before WordPress I just used a file called “update.php” in which I had defined variables. I then included the update.php in all of my webpages and used echo $service_a_price to show the the value.
I need to do this with hundreds of custom data fields. How can I comfortably achieve my Goal?
- The topic ‘How to manage frequently changing values and automatically show them in posts?’ is closed to new replies.