Home Design & Development Programming How to Insert Mobile Ads Unit in mobilepress – WordPress

How to Insert Mobile Ads Unit in mobilepress – WordPress

Inserting Mobile Advert Unit in mobilepress / Responsive WordPress themes Powered blog or website

is a tip I was moved to share after getting many a few request from our steady readers who accesses this blog via Mobile Devices. This is 2013 responsive design is the way to go which actually motivated me to share this tips for some that might be interested in implementing ads for the mobile version of their wordpress blog or website.

placing mobile adds unit in mobilepress and responsive themes

Almost all popular mobile ads serving Networks such as google adsense, addynamo, adtwirl.com, inmobi.com, chitika and yahoo-bing media.net have got a well  optimized code for monetizing your mobile traffic.

 

Here is;

How to insert ads in the header section of mobilepress powered mobile version of any wordpress site

Simply log in to your ads serving network provider dashboard and generate ads either for high ends phone or both low & high end ones . the go to your cpanel and navigate to wp-contents => Plugins => Mobilepress => themes =>Default => header.php

copy and paste this codes in the last line of it

Here is the code to copy to align the mobile adds in the center

1px; background: #ffffff;">

generated mobile adverts code here

Here is the code to copy to align the mobile adds in the Left Side

1px; background: #ffffff;">

generated mobile adverts code here

How to insert ads in the footer section of mobilepress powered mobile version of any wordpress site

Simply repeat all the initial steps above apart from the part of header.php ‘cos here we will be needing the footer.php

ALSO READ
Top 10 NFT Marketplace Development Tips For Developers

Paste this code in the very first line of your footer.php

1px; background: #ffffff;">

generated mobile adverts code

How to insert mobile add unit (google adsense) in responsive wordpress themes

By default your normal adds will show in smartphones and tablets if you are using a responsive wordpress theme so you will only need this tweak if you want the ads to be displayed to low end (feature) mobile phone users, In that case you will need create an add unit for low end phones only from your ads serving network dashboard. Then edit the single.php of your theme or simply use the “quick adsense” plugin or “simple hooks” Plugin for genesis framework users to implement your adds .

By default this particular add will be hidden from those visiting your site via computer, you can also serve your ads in the sidebar

Also see: How to add Numeric Pagination to Mobilepress Default Theme without Using any Plugin

and

google adsense placed Twice Inline in wordpress without a plugin: How to

Got any question? please feel free to ask anything about implementing mobile adds unit in your wordpress mobile version or responsive themes

12 COMMENTS

  1. Really nice article I just have a question that if I’m using a wordpress responsive theme and widgets from it’s sidebar appears at the bottom when I view my site on Smartphone so if I ever put an ad on my sidebar will my ad be still displayed at bottom.

    • That is a very brilliant step buddy, phones and mobile gadgets are now leading especially among youths, choosing not to monetize your mobile traffic is like deliberately choosing to loose some free funds

LEAVE A REPLY

Please enter your comment!
Please enter your name here