I don’t really know much about this, but my ad rep told me if the mobile plugin I use for my WordPress site supports DFP tags then their network will deliver mobile ads.
In this case, I use WPtouch to make my site look decent on mobile devices. So, does WPtouch support DFP tags?
And I apologize if this is a stupid question.
No, it’s actually not a stupid question. 🙂
And yes, WPTouch support DFP tags.
Similar to how you implement DFP tags (both Header and Body) so that ads would render on standard desktop browsers, you’d also need to implement the DFP tags within the WPTouch theme, so that whenever your website is viewed on mobile devices, the mobile DFP tags are executed and it calls on the DFP server to deliver the ads.
Basically, you’d be able to accomplish this by copying the header.php file from wptouch-pro/themes/classic/iphone to wp-content/wptouch-data/themes/<your-child-theme>/iphone and do your edits there.
I hope this helps. 🙂
Thanks Bert. Yes, in WPtouch Pro you can create child themes and do the edits in the child theme’s templates. Though, it looks like Monty is using WPtouch (free). While editing the templates in WPtouch (free) is possible, all those changes will be overwritten in an event of an update.
So, why are the edits overwritten in the free version and not in the Pro version when there’s an update?
Is there a different way of implementing this in the Pro version?
The free version of WPtouch is not customizable beyond what’s available in its admin panel. Updates install new core files. WPtouch Pro allows full customization of your mobile theme and provides child theme functionality which retains customizations through updates to the core files.
- The topic ‘[Plugin: WPtouch] Are DFP tags for mobile supported?’ is closed to new replies.