Need Help: Wordpress Theme Problem - Post cut short with <!--[endif]--> in I Explore

Discussion in 'HTML & Website Design' started by iorgus, Jan 15, 2009.

  1. #1
    Hi There, I am only new to word press and have set up this blog: www.footielivestreaming.com using a free wordpress theme. It seemed to be working very well in Firefox and then we tested it in Internet Explorer 7. It cuts short the entire post, has all the sidebars missing and gives a message which reads: "<!--[endif]-->"

    You have to fiddle around click around (which doesnt always work in terms of displaying the blog site.

    Can anybody please help. I dont have the experience to even know the first to look for the kind of help I need. I've googled it, yahoo'd it, I've check on word press codex and I can find any information on it.

    I havent fiddled with any php or any code - havent needed to.

    Please help

    Iorgus
     
    iorgus, Jan 15, 2009 IP
  2. kk5st

    kk5st Prominent Member

    Messages:
    3,497
    Likes Received:
    376
    Best Answers:
    29
    Trophy Points:
    335
    #2
    I didn't look through the whole thing, but it looks like the part of the template to fix is the 'entry' class div. For some silly reason there's a conditional comment that is supposed to insert some markup for anyone viewing the page with Microsoft Office v9+. An example may be found at line 139 of the outputted source:
                    <p><!--[if gte mso 9]><xml> <w:WordDocument> <w:View>No­r­m­al</w:View> <w:Zoom>0</w:Zoom> <w:PunctuationKerning /> <w:ValidateAgainstSchemas /> <w:SaveIfXMLInvalid>f­al­se</w:SaveIfXMLInvalid> <w:IgnoreMixedContent>f­alse</w:IgnoreMixedContent> <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText> <w:Compatibility> <w:BreakWrappedTables /> <w:SnapToGridInCell /> <w:WrapTextWithPunct /> <w:UseAsianBreakRules /> <w:DontGrowAutofit /> </w:Compatibility> <w:BrowserLevel>Micro­so­ft­In­t­ern­et­Ex­p­l­o­rer4</w:BrowserLevel> </w:WordDocument> </xml><![endif]--><!--[if gte mso 9]><xml> <w:LatentStyles DefLockedState="false" LatentStyleCount="156"> </w:LatentStyles> </xml><![endif]--><!--[if !mso]><span class="mceItemObject"   classid="clsid:38481807-CA0E-42D2-BF39-B33AF135CC4D" id=ieooui></span><br />
    <mce:style><!  st1:*{behavior:url(#ieooui) } --></p>
    <p><!--[endif]--> <!--[if gte mso 10]><br />
    <mce:style><!   /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-parent:""; 	mso-padding-alt:0cm 5.4pt 0cm 5.4pt; 	mso-para-margin:0cm; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:"Times New Roman"; 	mso-ansi-language:#0400; 	mso-fareast-language:#0400; 	mso-bidi-language:#0400;} --></p>
    <p><!--[endif]--></p>
    Code (markup):
    I can think of no sane reason for the CCs. Remove them from your template. The format of the CC is <!--[if gte mso 9]> some stuff, then the close <![endif]-->

    There are some CCs that test for IE. Leave them; they're ok. If that makes you nervous, just remove the two hyphens preceding the [endif]; i.e. <!--[endif]--> should be <![endif]-->

    See http://msdn.microsoft.com/en-us/library/ms537512.aspx

    cheers,

    gary
     
    kk5st, Jan 15, 2009 IP
  3. kk5st

    kk5st Prominent Member

    Messages:
    3,497
    Likes Received:
    376
    Best Answers:
    29
    Trophy Points:
    335
    #3
    Whoa! Are you using Word to post entries? Don't! Use a plain text editor, not a word processor. Those CCs are Word .doc formatting instructions. Using Word for anything web related is to screw something up.

    cheers,

    gary
     
    kk5st, Jan 15, 2009 IP
  4. iorgus

    iorgus Well-Known Member

    Messages:
    1,232
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    175
    #4
    Thanks Gary for your advice!
     
    iorgus, Jan 15, 2009 IP