• peterlunglum

    (@peterlunglum)


    Hi all,

    I am trying to put together the PHP for assembling the sections of my wordpress blog but have run into the silly problem of being unable to get the title to display in the browser above. What php code do I need between the <title> </title> tags in my header php to get this to appear in my wordpress?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter peterlunglum

    (@peterlunglum)

    <html <?php language_attributes(); ?>>
    <!--<![endif]-->
    <head>
    <meta charset="<?php bloginfo('charset'); ?>">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="<?php bloginfo('description'); ?>">
    <meta name="author" content="">
    <title> Peter Lum Blog </title>
    <link rel="shortcut icon" href="favicon.ico" type="image/x-icon" /> 
    
    <link href='https://fonts.googleapis.com/css?family=Cabin:700,400italic,400,700italic' rel='stylesheet' type='text/css'>
    <!--<link href="boilerplate.css" rel="stylesheet" type="text/css">-->
    <link href="<?php bloginfo('stylesheet_url'); ?>" rel="stylesheet" type="text/css">
    <!--
    Thread Starter peterlunglum

    (@peterlunglum)

    That is currently what is in the <head> of my header php.

    Thread Starter peterlunglum

    (@peterlunglum)

    I also forgot to mention, as it is, my blog just says untitled document in the browser. I want it to say the name of the blog or what I choose to be there.

    Thread Starter peterlunglum

    (@peterlunglum)

    Also, is this rectified in the header php, index php, or in the styles css?

    Use wp_title().

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Browser Title Troubleshooting’ is closed to new replies.