WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Hyperlink Syntax Removal From Header File. Help. (4 posts)

  1. neospyce
    Member
    Posted 7 years ago #

    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>
  2. Andrew Ozz
    WordPress Dev
    Posted 7 years ago #

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

  3. neospyce
    Member
    Posted 7 years ago #

    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.

  4. neospyce
    Member
    Posted 7 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic