Title: Complicated code not working correctly
Last modified: December 7, 2020

---

# Complicated code not working correctly

 *  Resolved [robinmnz](https://wordpress.org/support/users/robinmnz/)
 * (@robinmnz)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/complicated-code-not-working-correctly/)
 * Hi there
    I am migrating all ads from another ad plugin over to Advanced Ads,
   but am having problems with one ad in particular which starts with style code
   and also has <?php code within it and dynamic linking. I have tried all options,
   as in ticking execute PHP, but that seems to affect the layout. The previous 
   program had an option to “process PHP code in block” which solved the problem
   when the ad was first supplied, but I am unable to make it work properly in Advanced
   Ads.
 * Any help appreciated.
    thanks

Viewing 1 replies (of 1 total)

 *  Plugin Author [Thomas Maier](https://wordpress.org/support/users/webzunft/)
 * (@webzunft)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/complicated-code-not-working-correctly/#post-13758757)
 * Hi robinmnz,
 * thanks for reaching out.
 * I believe the problem might be within the PHP code of your ad. Since you are 
   a premium user and reached out via our support desk, we will continue the conversation
   there.
 * Thanks,
    Thomas

Viewing 1 replies (of 1 total)

The topic ‘Complicated code not working correctly’ is closed to new replies.

 * ![](https://ps.w.org/advanced-ads/assets/icon-256x256.gif?rev=2773443)
 * [Advanced Ads – Ad Manager & AdSense](https://wordpress.org/plugins/advanced-ads/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/advanced-ads/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-ads/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-ads/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-ads/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-ads/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Thomas Maier](https://wordpress.org/support/users/webzunft/)
 * Last activity: [5 years, 6 months ago](https://wordpress.org/support/topic/complicated-code-not-working-correctly/#post-13758757)
 * Status: resolved