How to put a phone number in wordpress?

How to put a phone number in wordpress? (it is desirable to be able to edit the admin control panel)

5b53283e830b3579919318.jpeg
June 3rd 19 at 19:17
3 answers
June 3rd 19 at 19:19
Solution
Install ACF Pro plugin. Create the text field. Select exactly where in the admin it needs to be removed. If it must be done as a separate item, then look to the side acf_options. Create a menu item in functions. Add the field there. And template print the following:
(a simple example)
<a href="tel:<?php the_field('custom_field','options');?>"><?php the_field('custom_field','options');?></a>
June 3rd 19 at 19:21
through coding
Oh well) the question is how to implement it using WordPress - devan24 commented on June 3rd 19 at 19:24
Try this Creating configuration pages - Taylor_Lockman commented on June 3rd 19 at 19:27
June 3rd 19 at 19:23
If we are talking about a specific website, but not on the development of a template, the easiest way to do this using the widget. Disadvantage — if the template is not widget area in the desired location, it must be added manually, or find another template.
For the more experienced fit plugin ACF

Find more questions by tags WordPress