• On the website https://thebayhorsemasham.co.uk I want to create a header image that links through to the booking page. So when you click the header image, it goes to booking.

    Any help would be appreciated, I’m pretty new to word press. Learning as I go along to help out my Dad.

    Cheers.

Viewing 8 replies - 1 through 8 (of 8 total)
  • hello,

    To create an image link from your header, you will first need to go to your header.php file, which can be done via edit:

    _______

    Find:
    <img src=”https://thebayhorsemasham.co.uk/wp-content/uploads/2013/07/cropped-HEADER11.jpg&#8221; class=”header-image” width=”2000″ height=”524″ alt=””>

    Replace:

    <img src=”
    https://thebayhorsemasham.co.uk/wp-content/uploads/2013/07/cropped-HEADER11.jpg&#8221; class=”header-image” width=”2000″ height=”524″ alt=”Go to bookings”/>

    _________

    This will open a new window linking to: https://securebooking.eviivo.com/MyWebsite/details.aspx?shortname=BayHorseHG44DX

    Hope it works.

    Best,

    Mia

    No! Do not edit the Twenty Twelve theme. It is the current default WordPress theme and having access to an original, unedited, copy of the theme is vital in many situations. First create a child theme for your changes.

    Hi,

    Great to make aware of a child theme. However, since it is a minor change I simple suggested to amend the image tag to include a link, as it will not interfere with any updates, etc. But to be on the save side; have at least a back up of your header.php before amending. Or create a child theme as suggested by Esmi

    Thanks.

    Changes WILL be overwritten when WP is updated – how is that not a problem?

    Also, as esmi said:

    having access to an original, unedited, copy of the theme is vital in many situations.

    Please do not advise people to modify theme files, period.

    Dear thehutc71,

    Please ignore any advice I have given, as I am clearly very ignorant in suggesting to change the code for a single image.

    Don’t worry. I will not give any more advice as I am a bit confused about the tone in this thread. Maybe esmi and WPyogi would consider to make suggestions in a more polite manner, as we are here to share information?

    @ thehutc71. Good luck on the project. I am sure the others can help you from here. I was actually not try to stir things up.

    Best,

    Mia

    Thread Starter Liam Hutchinson

    (@thehutch71)

    Hey Guys,

    Many thanks for the help so far, Would one of you be able to contact me via email ([redacted]) to assist a little further?

    Many thanks,

    Liam.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Sorry, support is meant to be kept within these forums.

    Thread Starter Liam Hutchinson

    (@thehutch71)

    Sorry, wasn’t aware of that.

    Could someone explain step by step what is actually needed to be done? as i say i’m a novice with word press so help is really needed.

    Cheers,

    Liam.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Header image link’ is closed to new replies.