Support » Fixing WordPress » Simple Question. How to change link of image?

  • bill8

    (@bill8)


    http://printdat.pcriot.com/wp/?cat=14

    What do I edit to change where my header image is linked to? …or just stop it from linking anywhere? The theme I use doesn’t have built in settings for this 🙁

    I used firebug to inspect it but I cant find where it says what file I need to edit…

Viewing 1 replies (of 1 total)
  • Hi,

    Edit ‘masthead-logo-in-menu.php’ and ‘masthead.php’ located in Parts folder in the theme.

    Replace

    <?php vantage_display_logo(); ?>

    instead of

    <a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home" class="logo"><?php vantage_display_logo(); ?></a>

    I would advice you to create a child theme, so that you don’t lose any changes made in the theme when there is an update.

Viewing 1 replies (of 1 total)
  • The topic ‘Simple Question. How to change link of image?’ is closed to new replies.