WordPress.org

Ready to get started?Download WordPress

Forums

WPtouch Mobile Plugin
[Plugin: WPtouch] Are DFP tags for mobile supported? (5 posts)

  1. montymcmahon
    Member
    Posted 1 year ago #

    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.

    Monty

    http://wordpress.org/extend/plugins/wptouch/

  2. TekWorx
    Member
    Posted 1 year ago #

    Hi Monty,

    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. :-)

    -Bert
    http://tekworxph.com/

  3. BraveNewCode Inc.
    Member
    Plugin Author

    Posted 1 year ago #

    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.

  4. montymcmahon
    Member
    Posted 1 year ago #

    Thanks guys.

    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?

    Monty

  5. BraveNewCode Inc.
    Member
    Plugin Author

    Posted 12 months ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic