Support » Fixing WordPress » Hyperlink Syntax Removal From Header File. Help.

  • Resolved neospyce


    How do i safely and neatly reomove the hyperlink from my title? I want to retain the title, I just want to remove the hyperlink. If this was html, it would be so easy, but I am brand new to php. Thank you in advance. Below is the syntax that I currently have in header.php.

    <h1><a href="<?php echo get_settings('home'); ?>/"><?php bloginfo('name'); ?></a></h1>
    <h5><?php bloginfo('description'); ?></h5>
Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator Andrew Ozz


    WordPress Dev

    … Delete the
    <a href="<?php echo get_settings('home'); ?>/">
    </a> from the header.php?

    I’ve tried that, cuz it seemed like the logical solution, however, when I do exactly as you suggested, it leaves the link address in text as the title.

    Never mind, I was just removing the a href and /a, not what was in between. Thank you very very very much. Smiles.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Hyperlink Syntax Removal From Header File. Help.’ is closed to new replies.