• Hi all,

    I am new to WordPress and in the past have mostly been working with the perch cms.

    What I cannot understand from WordPress at the moment is editing regions such as the header and the footer in the wp-admin console?

    I understand where the information contained in the header and the footer resides, but it looks to me like you have to directly edit the file.

    This is fine for someone who knows what they are doing, but if you hand it over to a client and let’s say they have a phone number in the footer that changes, how would they edit it?

    Thanks for your time and help.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi,
    The client would not edit the files and the values should not be hard coded.

    Options
    Text Widget:
    Use a text widget in the footer widget area, add the details in the content area of the text widget, you can use html tags in a text widget, then show the client how they can change the number.

    Theme Setup Page:
    Create a theme setup page with the text boxes you require, the client can then update them as and when they need to, this would mean you will code the header and footer to get the values from the setup array.

    Choose a Theme:
    Different themes will have options, some may have shortcodes or functions to do what you want “out the box”.

    What theme are you using?

    HTH

    David

    Thread Starter John Press

    (@john-press)

    Hi David,

    Thanks for your quick reply.

    I am using the nathan staines starkers html5 theme. I was told the best way to learn was to use a minimalist theme.

    The text widget sounds good but the Theme setup page sounds even more ideal as there is no interaction from the client with any html which is what I think they would appreciate with their CMS.

    Are there any examples of both of these methods that you could point me too?

    Thanks

    John

    Hi John,
    I do have examples and use them in my child themes, the starkers theme is based on the twenty ten theme I think?

    I wrote a post back in February 2011 with a tabbed options page, this should work fine with the starkers theme.

    I will be writing an updated version using the WordPress admin layout this weekend that will also work with most themes, so check my website at some point over the weekend.

    HTH

    David

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Header and Footer Edits’ is closed to new replies.