• Resolved elmojackson

    (@elmojackson)


    Would someone please take a look and tell me where I’m going wrong. This is for my header template. I get the following error:

    Parse error: parse error, unexpected ‘?’ in /var/www/html/wp-content/themes/equix/header.php on line 9

    <head profile=”https://gmpg.org/xfn/11″&gt;
    <meta http-equiv=”Content-Type” content=”<?php bloginfo(‘html_type’); ?>; charset=<?php bloginfo(‘charset’); ?>” />
    <title>
    <?php bloginfo(‘name’); ?> <?php if ( is_single() ) { ?> » Blog Archive <?php } ?> <?php wp_title(); ?>
    </title>
    <meta name=”generator” content=”WordPress” <?php bloginfo(‘version’); ?
    <meta name=”description” content=”Short Stories by Elmo Jackson. Fiction, Non-Fiction, Art, Photography and more” />
    <meta name=”keywords” content=”elmo jackson, short stories, fiction, non-fiction, nonfiction, rome local writers, rome, rome georgia, rome ga, rome georgia, floyd county, floyd county georgia, ezgenerator, image line software, doteasy, web hosting, website building software>” />
    <meta name=”robot” content=”All” />

    Thanks,

    Elmo

Viewing 4 replies - 1 through 4 (of 4 total)
  • At least there’s an error on <meta name="generator"> line. Don’t know if that code is shown correctly… but it should be <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" />

    Thread Starter elmojackson

    (@elmojackson)

    Okay… thanks. I edited and closed the ? with >. It seems to work okay now. About the issue you mention, well I just saw the no ending ” and thought it should be closed. I’ll change that back.

    Thanks,

    elmo

    add the /> as well, otherwise you’ll have invalid html/xhtml

    Thread Starter elmojackson

    (@elmojackson)

    Minna,

    Thanks for taking time to help me with this. I’ll check the code again and make sure that ?/>. I hope that’s what your talking about? The place I said I closed the ?.

    Thanks,

    Elmo

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Header Error’ is closed to new replies.