• Resolved tomwood

    (@tomwood)


    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!

Viewing 1 replies (of 1 total)
  • Plugin Author Ryan Hellyer

    (@ryanhellyer)

    Just remove the link on that specific page instead of setting the URL to none. Setting it to a blank value also triggers the page to reload when it is clicked, so people usually use a URL of “#” to avoid that occurring. But in your instance, it sounds like removing the whole link makes the most sense.

    This isn’t really related to this plugin BTW, so I’m just going to mark this as resolved.

Viewing 1 replies (of 1 total)
  • The topic ‘Remove hyperlink and indication from the header on a specific page’ is closed to new replies.