Forums

PHP Title Tag (1 post)

  1. jozizo
    Member
    Posted 2 years ago #

    I am currently using:

    <title><?php

    if (is_home()) { print "whatever title I want to have on my blog home page."; } else { bloginfo('name'); print " | "; wp_title(' '); } ?></title>

    for my title tag. The problem is the 'if (is_hom()' part. I want to display a specified title as this suggests, but I have the "front page" redirecting to a self made "home" page. That's the one I want to have the desired title tag for, and the dynamic one for the others. This code is making it so that the original home page is using my desired title. How do I fix this. Any and all help is greatly appreciated

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags