Title: haluhe's Replies | WordPress.org

---

# haluhe

  [  ](https://wordpress.org/support/users/haluhe/)

 *   [Profile](https://wordpress.org/support/users/haluhe/)
 *   [Topics Started](https://wordpress.org/support/users/haluhe/topics/)
 *   [Replies Created](https://wordpress.org/support/users/haluhe/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/haluhe/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/haluhe/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/haluhe/engagements/)
 *   [Favorites](https://wordpress.org/support/users/haluhe/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Advanced Ads – Ad Manager & AdSense] Post-list ad not compatible?](https://wordpress.org/support/topic/post-list-ad-not-compatible/)
 *  [haluhe](https://wordpress.org/support/users/haluhe/)
 * (@haluhe)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/post-list-ad-not-compatible/#post-8691941)
 * Hi limo,
 * the best way to access the theme files would be locally on your own PC, the relative
   path to the file would be oria/js/masonry-init.js, but you won’t need to edit
   something in that script, sorry if I made it seem this way.
 * All you need to do is adding “hentry” as a container class in your ad settings,
   this will be enough for your theme to treat the ad like any other post on the
   homepage.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Advanced Ads – Ad Manager & AdSense] Post-list ad not compatible?](https://wordpress.org/support/topic/post-list-ad-not-compatible/)
 *  [haluhe](https://wordpress.org/support/users/haluhe/)
 * (@haluhe)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/post-list-ad-not-compatible/#post-8691865)
 * Hi limo,
 * thank you for pointing out that issue here, the issue you are experiencing occurs
   because the masonry script that your theme uses to reposition each article isn’t
   targeting the ad . To resolve this issue, you would need to tell your theme to
   target the ad too and treat it like an article.
 * Having a look at the masonry.js file of your theme, I found out that it is targeting
   elements with the class “hentry” inside of your post container, so you just have
   to ad the css class “hentry” to your ad container and it should appear properly
   between your other posts.
 * Best regards,
 * haluhe
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Advanced Ads – Ad Manager & AdSense] HTML5](https://wordpress.org/support/topic/html5-4/)
 *  [haluhe](https://wordpress.org/support/users/haluhe/)
 * (@haluhe)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/html5-4/#post-8406476)
 * Hi Vitor,
 * It is currently possible to display HTML5 ads using Advanced Ads, but it is slightly
   complicated. We are currently working on a way to make it easier, until then 
   please use the solution below.
 * First, you need 2 different placements/ads, one for the code in the header, and
   one for the container in the content. You can get the code for each of those 
   ads by copying it over from the .html file of your ad. All the code inside the
   <head> tag should go into a header code placement, all the code inside the <body
   > tag, should go into your content placement. The source files of your Ad should
   be placed in a suited directory inside your WordPress installation e.g. wp-content/
   uploads/my_ad. The last step for displaying your ad would be setting all the 
   source links inside your header and body ads to the correct direction of your
   files, please keep in mind, that this path is relative to the root of your WordPress
   installation, so “wp-content/uploads/my_ad/assets/my_ad.css” would be the correct
   path to replace “assets/my_ad.css” (path relative to the root folder of your 
   ad).
 * I hope this will be helpful to you.

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