WordPress.org

Ready to get started?Download WordPress

Forums

Header seems to be pulling up mistakes (10 posts)

  1. practical
    Member
    Posted 1 year ago #

    Hi,

    Would anyone be able to let me know if my header has mistakes in? the w3 validator is pulling up errors but they are of characters such as'/' and '<'

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head profile="http://gmpg.org/xfn/11">
    
    <title>Primary Colours Records is an avant garde record label based in London</title>
    
    <meta name="description" content="Primary Colours Records is an avant garde record label and art studio based in London"/>
    
    <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
    <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats please -->
    <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
    <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
    
    <?php wp_get_archives('type=monthly&format=link'); ?>
    <?php //comments_popup_script(); // off by default ?>
    <?php wp_head(); ?>
    
    </head>
    
    <body>
    
    <div id="header">
    
    <a href="http://www.primarycoloursrecords.co.uk"><img class="alignleft size-full wp-image-313" title="Primary Colours Records" src="http://primarycoloursrecords.co.uk/wp-content/uploads/2012/12/logo_master_web_imageonly3.jpg" alt="Primary-Colours-Records" width="150" height="100" /></a>
    
    <div id="header-nav">
    
    		<a href="/">Home</a>
    <br/>
    		<a href="/shop">Shop</a>
    <br/>
    		<a href="/info/">Information</a>
    <br/>
    
    </div>
    
    <div id="header-social">
    
    <a href="http://www.twitter.com/kitgrill"><img src="http://primarycoloursrecords.co.uk/wp-content/uploads/2012/12/twitter-bird-light-bgs.png" alt="Primary Colours Twitter" width="40" height="40"></a>
    
    </div>
    
    <div id="header-email">
    
    <script type="text/javascript" src="http://signup.ymlp.com/signup.js?id=gjqsjmugmgj"></script>
    
    </div>
    
    <!--<ul id="navlist"><li><a href="<?php bloginfo('url'); ?>">All</a></li><?php wp_list_categories('title_li=0&exclude=3&orderby=count'); ?><a href="<?php bloginfo('url'); ?>/category/information">Information</a></ul>-->
    
    </div>
  2. Jose Castaneda
    Member
    Posted 1 year ago #

    Where did you get this theme?

  3. practical
    Member
    Posted 1 year ago #

    It's been modified from a previous theme a friend built for me,

  4. Andrew
    Forum Moderator
    Posted 1 year ago #

    The W3C validator exposes the line number and error type for you.
    Here's an explanation for all errors
    http://validator.w3.org/docs/errors.html

    You shouldn't need forum volunteers to additionally point this out.

  5. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

  6. practical
    Member
    Posted 1 year ago #

    The theme is pointing out errors like '>' and '/', as im not fully confident in wordpress it's why I asked in the forum for advice or help.

    Could anyone recommend?
    Many thanks

  7. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    Please post the URL for the page that you are dealing with.

  8. practical
    Member
    Posted 1 year ago #

  9. Jose Castaneda
    Member
    Posted 1 year ago #

    At the risk of sounding rude: I would suggest you look into using a different theme or possibly hiring somebody.
    What really scares me is seeing the unclosed tags and an h9 and h11 tags thrown into the mix.
    Unfortunately, what it looks like is that the rest of the files may have errors as well and not just the header. :(

  10. practical
    Member
    Posted 1 year ago #

    OK, thanks for your help. will do.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.