• When I am on my site, I see my site URL in the tab of my browser instead of my site title. Any ideas? I have double checked in WordPress settings, and when I go to themes -> customize -> site title. Everything looks good.
    I also tried WordPress default, and my site title shows in my tab so I am pretty sure it is a theme issue. Thanks ??

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi Ham Radio,

    wow not sure if this has been always like that,

    but I created a ticket in the issue tracker of Custom Community at Github:
    https://github.com/Themekraft/Custom-Community/issues/227

    cheers, konrad

    i also have the exact same issue with Custom Community, would appreciate any suggestion ??

    Hi konradS,
    I also have same issue, Site URL is showing instead of Site Title.

    @and plz look at this issue also its very very important for me.
    https://www.ads-software.com/support/topic/website-width-issue

    Thread Starter Ham Radio

    (@ham-radio)

    Here is my fix:

    You need to find the header.php file of the Custom Community theme. There are two ways you can do this:

    1. Go to your WordPress Dashboard, and go to Appearance -> Editor -> header.php.

    2. Log into your hosting cPanel, or FTP and go to public_html -> (Your Website Directory) /wp-content/themes/custom-community/header.php.

    After finding the header.php file, open it up and find <title><?php wp_title(); ?></title> For me, it was line 9.

    Replace that, with this:

    <title><?php if (is_home () ) { bloginfo('name'); } elseif ( is_category() ) { single_cat_title(); echo ' - ' ; bloginfo('name'); }
    elseif (is_single() ) { single_post_title(); }
    elseif (is_page() ) { bloginfo('name'); echo ': '; single_post_title(); }
    else { wp_title('',true); } ?></title>

    Save the file, and resfresh your browser.

    thank you Ham Radio, I changed header.php as you said, i only have an issue with my home page, because it is linked to a static page named Home(settings>reading>front page displays>a static page) when i’m in my home page i see
    Home: Site Title

    while i’d like to see
    Site Title: Tagline

    i figured it out, i replaced
    <title><?php wp_title(); ?></title>

    with:

    <title><?php bloginfo('name'); ?> | <?php is_front_page() ? bloginfo('description') : wp_title(''); ?></title>

    thanx to https://codex.www.ads-software.com/Function_Reference/wp_title

    Thread Starter Ham Radio

    (@ham-radio)

    Your Welcome, and thanks for that refrence too.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Site URL in tab instead of site title’ is closed to new replies.