Support » Fixing WordPress » Display page title without "Category: Transport"

  • Hi guys,

    I have a small issue. I want to display the following titles on the WordPress instance as follows:
    – home page (title: My Directory)
    – on secondary pages (title: My Directory | Medical)

    I have the following rendering the header:
    <title><?php bloginfo('name'); ?><?php wp_title(' | ', 'echo', 'left'); ?></title>

    It works fine on the home page but on secondary pages it shows:
    – My Directory | Category: Medical

    How to I get rid of the “Category:”?

  • The topic ‘Display page title without "Category: Transport"’ is closed to new replies.