feedburner
Enter your email address:

Delivered by FeedBurner

feedburner count

Adsense in Main Page

Labels: , , ,

photos from The Mabini Academy site

First and foremost, we need to put google ads on our main page to maximize your earning. On this tutorial, I use the plugin CUSTOMINDEX and enable it on administration page. On my site, I edit the code to display two 336x280 ads.

To do that, you need to browse your Elgg installation and edit the file content.php which can be found on this path \mod\customindex\views\default\customindex\content.php

I pressume you already have an adsense account so prepare your adsense code for insertion. Open the file and insert your code on below format.

Notice that I insert 2 adsense code in the file and insert it using this order:

(replace * with <) *table border="1">
*tbody>
*td>
*ADSENSE CODE 1
*/td>
*td>
*ADSENSE CODE 2
*/td>
*/tr>
*/tbody>

Save the file after editing and you have now your google ads displayed on the main page.

If you found this blog useful, please consider buying me a cup of coffee thru my paypal address rlmacalintal@yahoo.com. Put a link on my site too so that other Elgg users will know.