• Hi I have a site that has been created by a thirdparty. They wont tell us how to edit the telephone number in the header.

    I have tried doing a search of the database
    Searched all the php etc files

    the site is http://www.rickfry.co.uk/wp

    Just cant find it any help would be much appreciated

    • This topic was modified 9 years, 4 months ago by rickfry.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Hi @rickfry, We’re almost in the same position as you but we’re also blind to the underlying code of your website. This is why we cannot support commercial themes or themes that have been custom built.
    If it helps further attempts to search the code, this is the HTML generated for the telephone number:

    
    <div id="phone">Tel: 01942 396589 (Lines Open 24/7)</div>
    

    You might not find an exact match because the underlying PHP used for that line could be different.

    A common convention for themes distributed on WordPres.org is to put information that appears at the top of the page in a file called ‘header.php’, or sometimes a mixture of that and the ‘functions.php file’. This might be helpful, but it might lead you astray as this is just a convention adopted by themes distributed on WordPress.org.

    Thread Starter rickfry

    (@rickfry)

    Hi thanks for the suggestions. A developer friend has just found it buried in the menu_section.php file. Access via Appearance-Themes-Editor-menu_section.php

    I downloaded all the files on the site an did a text search but it didn’t show up. I need to review my search techniques.

    Hope this helps someone

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Cant edit header’ is closed to new replies.