• Hi,

    Kindly can you please let me know if it is possible to adjust the Site Title to link to another website?

    I have 2 different websites and I would like that when someone clicks on the site title they will be directed to the other website.

    At the moment I am using The Chateau Theme.

Viewing 3 replies - 1 through 3 (of 3 total)
  • when you say ‘site title’ what do you mean exactly? where is this site title located? is it part of the main navigation/top menu? if this is the case, you will simply need to add a custom link from Appearance > Menu that point to the concerning site

    what’s your website ? you need to edit your theme header.php in order to add <a href="/path/"> before the title starts and then close the link tag </a> .. well a link to your site would be better ??

    * open you theme file : appearence then editor
    * scroll down to find header.php file then click on it,
    * scroll down to find this code :
    <h1 id="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>

    * replace this code : <a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a> with :
    <a href="https://your-site" title="my site title"></a>
    * save your header.php file.
    now check with you website .

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Site Title links to another website’ is closed to new replies.