Any way to include a page inside all pages ? (php include or ssi)

  • Author
    Posts
  • #34379

    adriantnt
    Member

    Hello.

    I wanted to add Google AdSense code into my posts and I wanted to make an external file like adsense.html and include it in all posts so I can modify the ads site-wide just by modifying one file.

    Any ideas on how to include a file in pages?
    I think php include and ssi doesn’t work.

    #34661

    adriantnt
    Member

    I just found that Google AdSense ads are not allowed at wordpress.com, I wished I knew this earlier.
    I wonder if this is same thing if I use my own domain and not my_user_name.wordpress.com is AdSense still forbidden then ?

    Thanks.

    #34663

    timethief
    Member

    Have you found the pink sticky post at the head of the forum titled “please read me first before posting”? http://wordpress.com/forums/topic.php?id=3700&replies=1
    Maybe what you’re looking for is a self-hosted wordpress.org blog http://wordpress.org
    As far as the adsense on your own domain question goes there is another pink sticky post at the head of the forum for questions on domains http://wordpress.com/forums/topic.php?id=4766&replies=12

    #34667

    drmike
    Member

    Someone owes me a steak dinner.

    That’s a joke by the way. :)

    You can grab a copy of the WordPress software from http://wordpress.org and host it elsewhere. WordPress.com is just a host that uses the software.

    This is also discussed in the FAQs.

The topic ‘Any way to include a page inside all pages ? (php include or ssi)’ is closed to new replies.