Title: Optimize HTML Code? Error loadmore ajax
Last modified: November 21, 2019

---

# Optimize HTML Code? Error loadmore ajax

 *  [hellodollys](https://wordpress.org/support/users/hellodollys/)
 * (@hellodollys)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/optimize-html-code-error-loadmore-ajax/)
 * Hello, I am having problems using the function.
    ( Optimize HTML Code ) I am 
   using the load more ajax function for the website
 * Normal code when not clicked loadmore
 *     ```
       <div class="poster">
       <a href="http://domain.com">
       <img src="http://domain.com/a.jpg">
       </a>
       </div>
       ```
   
 * And after click loadmore
 *     ```
       <div class="poster">
       <img src="http://domain.com/a.jpg">
       <a href="http://domain.com"></a>
       </div>
       ```
   
 * The img tag is out of the a tag
 * I had to turn that off, looking forward to your feedback. Hope you understand
   what I said.
    -  This topic was modified 6 years, 6 months ago by [hellodollys](https://wordpress.org/support/users/hellodollys/).

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

 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/optimize-html-code-error-loadmore-ajax/#post-12158845)
 * can you share your site’s URL hellodollys so I can have a look?
 *  Thread Starter [hellodollys](https://wordpress.org/support/users/hellodollys/)
 * (@hellodollys)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/optimize-html-code-error-loadmore-ajax/#post-12158870)
 * Thanks for the quick response.
    I am using this theme. [http://demo.keremiya.com/en/v5/](http://demo.keremiya.com/en/v5/)
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/optimize-html-code-error-loadmore-ajax/#post-12158971)
 * Thanks, but you also share the URL of your own site? 🙂
 *  Thread Starter [hellodollys](https://wordpress.org/support/users/hellodollys/)
 * (@hellodollys)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/optimize-html-code-error-loadmore-ajax/#post-12160062)
 * I am testing it on xampp. But I found the cause.
    If I add title=”” then everything
   works fine.
 *     ```
       <div class="poster">
       <a href="http://domain.com" title="demo">
       <img src="http://domain.com/a.jpg">
       </a>
       </div>
       ```
   
 * Do you have any other solutions to this problem?
    -  This reply was modified 6 years, 6 months ago by [hellodollys](https://wordpress.org/support/users/hellodollys/).
    -  This reply was modified 6 years, 6 months ago by [hellodollys](https://wordpress.org/support/users/hellodollys/).
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/optimize-html-code-error-loadmore-ajax/#post-12160131)
 * well, it _should_ work fine even without that title … this must be a conflict
   of some kind, what other plugins do you have active?
 *  Thread Starter [hellodollys](https://wordpress.org/support/users/hellodollys/)
 * (@hellodollys)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/optimize-html-code-error-loadmore-ajax/#post-12160208)
 * I just use: Autoptimize and Classic Editor
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/optimize-html-code-error-loadmore-ajax/#post-12160338)
 * weird hellodollys, this should not happen and I can’t reproduce either;
 * ![](https://i0.wp.com/pix.toile-libre.org/upload/original/1574353457.jpg)
 * no idea what’s happening, sorry :-/

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

The topic ‘Optimize HTML Code? Error loadmore ajax’ is closed to new replies.

 * ![](https://ps.w.org/autoptimize/assets/icon-256X256.png?rev=2211608)
 * [Autoptimize](https://wordpress.org/plugins/autoptimize/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/autoptimize/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/autoptimize/)
 * [Active Topics](https://wordpress.org/support/plugin/autoptimize/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/autoptimize/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/autoptimize/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * Last activity: [6 years, 6 months ago](https://wordpress.org/support/topic/optimize-html-code-error-loadmore-ajax/#post-12160338)
 * Status: not resolved