WordPress.org

Ready to get started?Download WordPress

Forums

Book Lite
[resolved] Remove Link In Site Title (3 posts)

  1. wpodeskstar
    Member
    Posted 1 year ago #

    What is the easiest way to make the site-title not a link? Would I edit the css or the header.php file?

    http://www.libertykennedy.com

  2. W.P. Ginfo
    Member
    Posted 1 year ago #

    !!NOTE!!
    ALWAYS Make a backup of your site, before making any changes!!

    1. Use FTP to backup the files.
    2. Make sure to also backup your database.
    3. Use a childtheme to make the changes in.
      Suggestion: use the 'one click childtheme plugin'.
    4. Installed a\nd activated the childtheme?
    5. Use FTP to access the files of your site and it's childtheme.
    6. To make the changes in the CHILDtheme:
      - copy php files / css-file(s) of the original theme [as required] to the childtheme directory and edit them as required.

    In this case:

    1. copy header.php of the original theme to the childtheme folder and edit it
    2. Change the header.php of your childtheme - line 56-60 as follows:
      <hgroup>
      <!-- original code --
           <h1 class="site-title"><a href="<?php echo home_url( '/' ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1> end original code -->
      
           <h1 class="site-title"> <?php bloginfo( 'name' ); ?></h1>
           <h2 class="site-description"><?php bloginfo( 'description' ); ?></h2>
      </hgroup>
  3. wpodeskstar
    Member
    Posted 1 year ago #

    W.P. Ginfo It Worked Brilliantly. Thanks for your help!

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.