WordPress.org

Support

Support » Themes and Templates » Title not showing properly for static front page Cutline theme

Title not showing properly for static front page Cutline theme

  • antorera

    @antorera

    On a blog I’m working on, it has a static front page and the Title is showing as Mozilla Firefox and the tab title just shows the site URL “http://www.myklogica.es”. The rest of the pages are behaving correctly.

    The title should be showing the name of the company Myklogica etc.

    The theme is Cutline Column Right.

    I’ve tried a fix to the header.php file I found, but it didn’t work.

    Any ideas? Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Michael

    @alchymyth

    Forum Moderator

    the title tag is actually empty – look at the hmtl code in your browser.

    maybe best to download a fresh theme and copy the title tag code from the fresh header.php:
    <title><?php if (is_single() || is_page() || is_archive()) { wp_title('',true); } else { bloginfo('name'); echo(' — '); bloginfo('description'); } ?></title>

    I found a solution, you might want to check this parameter:

    if (is_front_page() )

    So my Title tag is now like this

    <title><?php if (is_front_page()) { bloginfo('name'); } else if (is_single() || is_page() || is_archive()) {wp_title(false); } else { bloginfo('name'); } ?></title>

    Tags: static home page doesn’t load page title / empty title

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Title not showing properly for static front page Cutline theme’ is closed to new replies.
Skip to toolbar