Title: PlugIn is changing HTML-Structure
Last modified: August 21, 2016

---

# PlugIn is changing HTML-Structure

 *  [Manuel Engler](https://wordpress.org/support/users/manuel-engler/)
 * (@manuel-engler)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/plugin-is-changing-html-structure/)
 * Hi!
 * First of all:
    Great PlugIn – works perfectly!
 * Just one thing:
 * The comments area in my theme (based on Headwaytheme) is structured as follows:
 *     ```
       <div id="comments">
           <h3 id="comments"> … </h3>
           <ol class="commentlist"> … </ol>
           <div id="respond"> … </div>
       </div>
       ```
   
 * Now, when submitting a new comment it seems that the plugin is changing that 
   to:
 *     ```
       <div id="comments">
           <ol class="commentlist"> … </ol>
           <div id="respond"> … </div>
       </div>
       <h3 id="comments"> … </h3>
       ```
   
 * The h3 is not in the comments container anymore.
 * What can I do?
 * Thanks very much in advance!
 * Cheers,
    Manuel
 * [http://wordpress.org/plugins/wp-ajaxify-comments/](http://wordpress.org/plugins/wp-ajaxify-comments/)

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

 *  [janjonas](https://wordpress.org/support/users/janjonas/)
 * (@janjonas)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/plugin-is-changing-html-structure/#post-4171006)
 * Hi Manuel,
 * please try to change the id of the h3 element (“<h3 id=”comments”>…</h3>”). In
   your HTML code you have two elements with the same id. If this does not help 
   please send me a link where I can reproduce the problem…
 * Hope this helps,
    Jan
 *  Thread Starter [Manuel Engler](https://wordpress.org/support/users/manuel-engler/)
 * (@manuel-engler)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/plugin-is-changing-html-structure/#post-4171014)
 * Hey Jan,
 * thanks for your fast response.
 * You´re right, same ID twice, shouldn`t be. 🙂
 * Unfortunately I set up that site based on the Headway Theme which is generating
   that code automatically – I don´t have access to the code in that part (as far
   as I figured it out up to now).
 * Here´s a [link](http://synchronistory.com/relaunch/this-is-my-second-post/) were
   you can test yourself.
 * Just post a comment, then you see the h3 appearing below the comments-area.
 * Thanks again,
    Manuel
 *  [janjonas](https://wordpress.org/support/users/janjonas/)
 * (@janjonas)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/plugin-is-changing-html-structure/#post-4171025)
 * If you cannot fix the (duplicated) id, please try to set “Comments container 
   selector” option to
    `div#comments`
 * Hope this helps…

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

The topic ‘PlugIn is changing HTML-Structure’ is closed to new replies.

 * ![](https://ps.w.org/wp-ajaxify-comments/assets/icon-256x256.png?rev=2962290)
 * [Ajaxify Comments - Ajax and Lazy Loading Comments](https://wordpress.org/plugins/wp-ajaxify-comments/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-ajaxify-comments/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-ajaxify-comments/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-ajaxify-comments/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-ajaxify-comments/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-ajaxify-comments/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [janjonas](https://wordpress.org/support/users/janjonas/)
 * Last activity: [12 years, 7 months ago](https://wordpress.org/support/topic/plugin-is-changing-html-structure/#post-4171025)
 * Status: not resolved