Answer the question
In order to leave comments, you need to log in
Editable phone number in header and footer, how?
Answer the question
In order to leave comments, you need to log in
1. you can use wp custom fields and display them (you can do them in the admin panel on the Contacts page, and display them where necessary).
2. The same with ACF (simplicity and convenience)
3. Creating a custom page in wp to display settings
4. Using the same ACF, creating an options page https://www.advancedcustomfields.com/resources/opt...
and output on it all the fields that are needed for the site
I think for each custom field to create records is nonsense)
create a page where the title is the phone number and in the template you pull it by id
<?php
$my_id = 7;
$post_id_7 = get_post($my_id);
$telefon = $post_id_7->post_title;
?>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question