arsenalist
Forum Replies Created
-
Forum: Plugins
In reply to: [AMP] Google Ads Don't Show Up On AMP PagesThanks everyone. Yes, I got it working. Basically, you can’t just put the ad code in your template file. It has to be inserted via a filter or an action.
So, for me, it was using the the_content filter.
Thank you.
Forum: Plugins
In reply to: [AMP] Google Ads Don't Show Up On AMP Pages@ehliyetco – How did you get that working?
I’m using the latest version of that plugin, and I have my <amp-ad> tag in the HTML which shows up in the regular view, but not in the /amp version.
Does the <amp-ad> tag need to be inserted a special way, maybe using a WP filter or something?
Forum: Plugins
In reply to: [Plugin Show Unread Comments] Not working in 3.0 – alternatives? Workarounds?My fix is still working: http://www.raptorsrepublic.com
I think the way global variables are stored in WP 3.0 are a little different than previous versions (atleast this plugin seems to be accessing them in an incompatible way). So I just made sure that the methods have access to the global variables.
Forum: Plugins
In reply to: [Plugin Show Unread Comments] Not working in 3.0 – alternatives? Workarounds?OK, I figured this out, just replace all occurrences of:
$GLOBALS[‘tablecomments’]
with
$db->comments
in the plugin file show-unread-comments/show-unread-comments.php
That did it for me.
Forum: Plugins
In reply to: [Plugin Show Unread Comments] Not working in 3.0 – alternatives? Workarounds?Any fix for this?