Skip to:
Content
Pages
Categories
Search
Top
Bottom

Moving admob ad to the top of the mobile theme? And putting info on homepage.


  • Craiglovelock
    Member

    @craiglovelock

    Hello, the buddypress mobile plugin is amazing.

    I signed up to admob and put in my code but it puts the advert at the bottom (where i think no one will look) any idea how to put it at the top?

    I found this:

    add_action(‘wp_footer’, ‘bp_mobile_addFooterSwitch’);

    function admob_footer_code(){
    if (get_option(‘admob-on-off’)==1 && get_option(‘admob’)==true) {
    ?>

    <?php
    }
    }
    add_action(‘bp_after_footer’, ‘admob_footer_code’);

    But not quite sure, also, how do i add information to the homepage of the plugin? for now its just a blank screen with a tool bar?

    Thanks Craig :)

  • The topic ‘Moving admob ad to the top of the mobile theme? And putting info on homepage.’ is closed to new replies.
Skip to toolbar