• Resolved akacruiseman

    (@akacruiseman)


    Good Day,
    I recently downloaded and installed the Smiles Theme 1.0.4 and am looking for just a little assistance.
    I would like to relocate the Site Title but really cannot find the code.
    Thanks,
    Jim

Viewing 4 replies - 1 through 4 (of 4 total)
  • Lisa

    (@workingwebsites)

    Hi Jim,

    The Site Title is in the header.php file.

    About half way down the file you will see something like:

    <div class="site-branding">
        <?php endif; ?>
    		  <strong><h1 class="site-title"><a>" rel="home"><?php bloginfo( 'name' ); ?></a></h1></strong>
          <p class="site-description"><?php bloginfo( 'description' ); ?></p>
        </div><!-- .site-branding -->

    [Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been damaged by the forum’s parser.]

    Specifically:
    <?php bloginfo( ‘name’ ); ?> is the site title.
    <?php echo esc_url( home_url( ‘/’ ) ); ?> is the link to the home page of the site.

    For more info on editing the header.php file, see:
    https://codex.wordpress.org/Editing_Files
    also:
    https://codex.wordpress.org/Editing_Files#Using_the_Theme_Editor_and_Plugin_Editor

    esmi

    (@esmi)

    Do not edit the theme itself. First create a child theme for your changes.

    Thread Starter akacruiseman

    (@akacruiseman)

    Lisa,
    Thanks very much. I am all Smiles again.

    Esmi – thanks for that tip. I have used Child themes successfully before.

    Jim

    esmi

    (@esmi)

    Esmi – thanks for that tip. I have used Child themes successfully before.

    Excellent. It’s always better to be safe than sorry. 🙂

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Location of Title’ is closed to new replies.