1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How To Show Ads Only On Homepage?

Discussion in 'General Troubleshooting' started by procash65, Sep 13, 2013.

  1. procash65

    procash65 New Member

    I was surfing the net on how to show ads on homepage only or in any page (one page only) but I can't find the solution yet. Can you please help me? Thanks in advance.
  2. maxmk

    maxmk Active Member


    Try following code in index/footer/sidebar files according to your requirement.
    <?php if (($h->isHome())){
                            echo('<a rel="dofollow" href="http://" title="" target="_blank" alt="">TEXT</a><br ><br >');}
    realje likes this.

Share This Page