Home › Forums › Support › image link This topic has 5 replies, 3 voices, and was last updated 4 years, 3 months ago by David. Viewing 6 posts - 1 through 6 (of 6 total) Author Posts January 10, 2020 at 7:25 pm #1128431 Erik Hi Tom, Can you help me to add a image-url on the header-image in this hook: <?php if (is_archive() || is_single() || is_search() || is_404() ) : ?> <div class="page-header-image grid-container grid-parent generate-page-header"> <img width="1100" height="400" alt="" class="attachment-full" src="xxxxxx"> </div> <?php endif; ?> January 10, 2020 at 8:31 pm #1128463 LeoStaff Customer Support Hi there, Sorry not quite sure if I understand. What are you trying to achieve? January 11, 2020 at 12:48 am #1128546 Erik Hi Leo, I would like to add an image link to the image of the page header for the pages where I use this code in GP Hooks. <?php if (is_archive() || is_single() || is_search() || is_404() ) : ?> <div class="page-header-image grid-container grid-parent generate-page-header"> <img width="1100" height="400" alt="" class="attachment-full" src="xxxxxx.jpg"> </div> <?php endif; ?> January 11, 2020 at 3:10 am #1128620 DavidStaff Customer Support Hi there, i am not sure if i fully understand but if you want to make the image link to another URL then try wrap the tag in an anchor so this: <img width="1100" height="400" alt="" class="attachment-full" src="xxxxxx.jpg"> becomes: <a href="add_the_url_here"> <img width="1100" height="400" alt="" class="attachment-full" src="xxxxxx.jpg"> </a> January 11, 2020 at 6:07 am #1128713 Erik thanks, that’s working… January 11, 2020 at 6:20 am #1128718 DavidStaff Customer Support You’re welcome Author Posts Viewing 6 posts - 1 through 6 (of 6 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In