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

  1. wpodeskstar
    Posted 3 years ago #

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


  2. W.P. Ginfo
    Posted 3 years ago #

    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:
      <!-- 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>
  3. wpodeskstar
    Posted 3 years 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


No tags yet.