Title: Is this code correct?
Last modified: September 9, 2016

---

# Is this code correct?

 *  Resolved [michael2525](https://wordpress.org/support/users/michael2525/)
 * (@michael2525)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/is-this-code-correct-2/)
 * </p><div id=”about-us”></div><h1>About Us:</h1><p> my webmaster is out of town.
   i installed yoast and it wrote over my home page code. I’m trying to replace 
   it before the AM.

Viewing 12 replies - 1 through 12 (of 12 total)

 *  [catacaustic](https://wordpress.org/support/users/catacaustic/)
 * (@catacaustic)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/is-this-code-correct-2/#post-8162187)
 * What you’ve got there is wrong in two parts – the `<p>` tags and the `<h1>` tag.
 * But… this is assuming that this is the entire string, and not jsut part of it
   that you’ve cut out as that wudl make a very big difference.
 * This needs to start with `<p>` and end with `</p>`
 * The `<h1>` tag should not be inside a `<p>` tag.
 * I have never seen Yoast re-write anything like that, so just from that for me
   I wouldn’t think that it’s Yoast that’s doing it.
 * Do you have a link to a page so we can see that for ourselves?
 *  Thread Starter [michael2525](https://wordpress.org/support/users/michael2525/)
 * (@michael2525)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/is-this-code-correct-2/#post-8162196)
 * yes…go to getcars4less.com………..thank you so much!
 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/is-this-code-correct-2/#post-8162214)
 * Also, you may want to consider updating your WP.
 * The current version 4.6.1 is a security and maintenance release for all previous
   versions.
 *  Thread Starter [michael2525](https://wordpress.org/support/users/michael2525/)
 * (@michael2525)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/is-this-code-correct-2/#post-8162229)
 * <div id=”about-us”></div><h1>About Us:</h1>………..this?
 *  Thread Starter [michael2525](https://wordpress.org/support/users/michael2525/)
 * (@michael2525)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/is-this-code-correct-2/#post-8162237)
 * <p><div id=”about-us”></div></p>
    <h1>About Us:</h1>
 * or this?
 *  [catacaustic](https://wordpress.org/support/users/catacaustic/)
 * (@catacaustic)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/is-this-code-correct-2/#post-8162259)
 * That’s… really something that I wasn’t expecting. From the source code it looks
   like your theme is doing some strange things with the page titles. I’d start 
   there, and work back.
 * I highly dougt that Yoast is doing anything with that because Yoast doesn’t make
   any modifications to the page titles anywhere, but if you think that could be
   an isue, remove it and see if that changes things back to how they were before.
 *  Thread Starter [michael2525](https://wordpress.org/support/users/michael2525/)
 * (@michael2525)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/is-this-code-correct-2/#post-8162271)
 * &amp;lt;/p&amp;gt;&amp;lt;p style=”text-align: left;”&amp;gt;Please fill out 
   the forms below and submit them to us. <yoastmark class=’yoast-text-mark’>Once
   we receive your information we will get back with you within 48 hours to schedule
   an interview and answer any questions or concerns you may have.</yoastmark>&amp;
   lt;/p&amp;gt;&amp;lt;p&amp;gt;
 * See the word yoast in there? Yoast wrote over my code. All I need is the code
   for About Us: I just have the code in the wrong positions.
 *  [catacaustic](https://wordpress.org/support/users/catacaustic/)
 * (@catacaustic)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/is-this-code-correct-2/#post-8162318)
 * I do not believe that Yoast did that. I use Yoast on every site that I’ve made,
   and I have never seen this… ever.
 * Having said that, did you delete the Yoast plugin? If that is what’s causing 
   the problem, then remove it and the problem will stop.
 *  Thread Starter [michael2525](https://wordpress.org/support/users/michael2525/)
 * (@michael2525)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/is-this-code-correct-2/#post-8162336)
 * I deleted the yoast plugin.
 * &amp;lt;/p&amp;gt;&amp;lt;div id=”about-us”&amp;gt; &amp;lt;/div&amp;gt;&amp;
   lt;h1&amp;gt;About Us:&amp;lt;/h1&amp;gt;&amp;lt;p&amp;gt;
 * This is the code i’m trying to decipher. You can see the about us in there. I
   think everywhere there is an & there should be a < or >. If so the code should
   look like this: </p><div id=”about-us”></div><h1>About Us:</h1><p>
 * Can you help me with the correct code?
 *  [catacaustic](https://wordpress.org/support/users/catacaustic/)
 * (@catacaustic)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/is-this-code-correct-2/#post-8162349)
 * The “correct” code is just as you’ve got it on here.
 * `</p><div id=”about-us”></div><h1>About Us:</h1><p>`
 * BUT, that’s not correct HTML code, and it should not ever be part of your title.
   There is something very very very wrong going on either in your theme or the 
   way that you’re entering your page titles.
 * If you are entering your titles as plain text (eg: ‘About Us’) then your theme
   is doing soemthing very bad with them, and you’ll need to contact the themes 
   author or vender for support on that. If you are entering the title using the
   HTML code that you’re uisng above, then you are realyl doing it the wrong way
   and you should only be using the the plain text and not the rest.
 *  Thread Starter [michael2525](https://wordpress.org/support/users/michael2525/)
 * (@michael2525)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/is-this-code-correct-2/#post-8162359)
 * <div id=”about-us”></div>
    <h1>About Us:</h1>
 * This is the correct code. Thank you.
 *  Thread Starter [michael2525](https://wordpress.org/support/users/michael2525/)
 * (@michael2525)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/is-this-code-correct-2/#post-8162364)
 * My webmaster logged on remotely and reset the code to two weeks ago.

Viewing 12 replies - 1 through 12 (of 12 total)

The topic ‘Is this code correct?’ is closed to new replies.

## Tags

 * [code](https://wordpress.org/support/topic-tag/code/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 12 replies
 * 3 participants
 * Last reply from: [michael2525](https://wordpress.org/support/users/michael2525/)
 * Last activity: [9 years, 8 months ago](https://wordpress.org/support/topic/is-this-code-correct-2/#post-8162364)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
