Remove hyperlink and indication from the header on a specific page
-
Hi –
First of all, this is a great plugin – thank you!
I’m using the twentysixteen theme and 4.6.1
In the Settings dashboard I have the ‘Front page displays’ set to ‘Your latest posts’
In header.php I set the default URL for the header image to a specific page that is appropriate for every page except one:
<div class="header-image"> <a href="<?php echo esc_url( home_url( '/agents-of-disrupt' ) ); ?>" rel="home">
On that specific page (agents-of-disrupt) I want the header image to be a dead-end, so I set the URL to ‘None’ when I gave it a custom header image. However, it still behaves as if there is a hyperlink – the cursor changes to a hand, and the image dims opacity.
Is there a way to make that specific page’s header image not behave as a hyperlink, since it seems to be linking back to itself?
Thanks!
- The topic ‘Remove hyperlink and indication from the header on a specific page’ is closed to new replies.