Disabling plugin breaks site
-
Hi!
First of all, thanks for the great plugin.I was investigating the reason why no social sharing plugins are able to display their buttons on a WP site I manage, and ran into an issue with AA.
When I disabled the plugin, the site stopped rendering from the first (and only) instance of in-theme ad injection code, right below the ite header (through header.php in a twentysixteen child theme).
When I commented out the html line inserting the ad, like so
<!-- <?php the_ad_placement('under-header'); ?> -->
there was no change.
When I comented out the php itself, like so
<?php // the_ad_placement('under-header'); ?>
the site rendered only the main content, but not the sidebar, nor the footer.
I re-enabled the plugin, disabled ads in the settings, and removed the sidebar widget. After disabling the plugin again, there was no change – only the main content renders.
Removing the line of code from the child template altogether didn’t help either.
Since it’s a production site, I re-enabled everything as it was, but you can still have a look at it, if it helps – https://translancer.netAny ideas why disabling the plugin would break the site?
And where to look for the next breaking point that stops the sidebar and footer from rendering?
- The topic ‘Disabling plugin breaks site’ is closed to new replies.