What is the correct way to add global pieces of information that will be dynamically displayed in some parts of the site like the phone number, ..

These data may be changed from time to time. So, I want to make some centralized tweaking and avoid changing the code.

So far, I have found some solution like global variables, adding entries in wp_topions table with phpMyAdmin and then retrieve theme with WordPress functions.

I am still undecided about the most reliable method.

Read more here: Manage Global Settings in WordPress


Solution:

If you know the solution of this issue, please leave us a reply in Comment section, to update the question.


Wordpress related questions and answers: