• Resolved vitorsimao72

    (@vitorsimao72)


    Is it possible to add HTML 5 ads in advanced ads? If so, how? If not, is it a feature that is planned for future releases?

Viewing 1 replies (of 1 total)
  • 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 1 replies (of 1 total)

The topic ‘HTML5’ is closed to new replies.