Forums

[resolved] msonormal from WordPress templates (5 posts)

  1. unemployedinmichigan
    Member
    Posted 3 years ago #

    I get the following HTML code using the WordPress default template. Note the last bit containing "MsoNormal":

    <div id="content" class="narrowcolumn">
    			<div class="post hentry category-uncategorized" id="post-8">
    				<h2><a href="http://www.unemployedinmichigan.com/?p=8" rel="bookmark" title="Permanent Link to Day 33">Day 33</a></h2>
    				<small>April 24th, 2009 <!-- by admin --></small>
    
    				<div class="entry">
    					<strong><p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="font-size: small; font-family: Times New Roman;"</strong>

    I have seen other responses that claim this is from pasting from Word. However, I have downloaded fresh themes and still get the same result. Does anyone have any idea how to fix this? I am trying to specify a different font for my blog post, but this Times New Roman font always appears.

    Thanks.

    Bill

  2. whooami
    Member
    Posted 3 years ago #

    I have seen other responses that claim this is from pasting from Word.

    and that's because that's what it's caused by. its not about your theme.

    Its the content inside your posts .. you are pasting from Word into WordPress. Its clear just from what you pasted here.

  3. I have seen other responses that claim this is from pasting from Word.

    Yep, always is. That is from pasting from Word.

    However, I have downloaded fresh themes and still get the same result.

    Which is interesting, but doesn't have anything to do with this problem.

    You pasted into your POST and not your theme files. That MS Word badness is in your database with your post and will remain until you remove it. This is regardless of which theme you use.

    Does anyone have any idea how to fix this?

    You have to remove it from you posts with the editor. When you edit you post, try using HTML tab or turning off your visual editor. Then look for all that class and span text in your post and delete it.

    If you need to do this for many posts... that could get tiresome really quick.

    As long as you refrain from pasting into WordPress from MS Word, this should not re-occur.

    Edit: DOH! Six minutes for me to compose my thoughts, whoo got to this first.

  4. unemployedinmichigan
    Member
    Posted 3 years ago #

    Thanks! - now that I think of it, I did paste my blog from Word.

  5. whooami
    Member
    Posted 3 years ago #

    youre welcome :)

Topic Closed

This topic has been closed to new replies.

About this Topic