Forum Replies Created

Viewing 1 replies (of 1 total)
  • Change this code <?php if (is_home()) { bloginfo(‘name’); ?><?php } elseif (is_category() || is_page() ||is_single()) { ?> <?php } ?><?php wp_title(”); ?>

    to

    <?php if (is_front_page()) { bloginfo(‘name’); ?><?php } elseif (is_category() || is_page() ||is_single()) { ?> <?php } ?><?php wp_title(”); ?>

    My problem was solved using this. Thank god.

    What if I set a page to be the blog’s static front page, but then I also want the page’s title to show up in <title> </title>?

    In your solution the blog’s name is the <title> irregardless of the page’s own title. I tried:
    <title><?php if (is_front_page()) { wp_title(”);} ?>
    but that doesn’t work

Viewing 1 replies (of 1 total)