• Resolved tendanceeim

    (@tendanceeim)


    Hello,

    When I try to use the manual placement in my code (eg. => ” if( function_exists(‘the_ad_placement’) ) { the_ad_placement(‘custom-manual-placement’); } ” ), the ads inside it don’t show at the right place, they use their default pattern, not the manual placement.

    The way I use it, is I inject the php code into my posts list and the ads should normaly show in the list between two posts. (link to an exemple image => https://ibb.co/6rM0V9t)

    I would like to show you a real print screen, but this is on an unrealesed project yet.

    BTW, great plugin!

    Best regards,
    Martin

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Thomas Maier

    (@webzunft)

    Hi Martin,

    thanks for reaching out.

    It looks like you might use a masonry grid and the ad is misplaced because it misses a specific wrapper. There is no single solution since every masonry script is different but I have written about one case and a solution in How to add ads to a masonry layout.

    Please let me know if that information helps.

    Best regards,
    Thomas

    Thread Starter tendanceeim

    (@tendanceeim)

    Hi Thomas,

    Saddly it didn’t work, but I found a work around with JavaScript by taking it from is bad place to the good one.

    Best regards,
    Martin

    Plugin Author Thomas Maier

    (@webzunft)

    Hi Martin,

    thanks for your feedback. I am happy to read that you found a solution.

    Please let me know if you need anything else.

    Best regards,
    Thomas

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

The topic ‘Problem with manual placement’ is closed to new replies.