Hi,
here's the deal: I have an adsense site that I have added Adsense to all pages one by one using the Adsense thingy inside Xsitepro
But say I want to remove the adesense from this particular website (remove from all pages), I would then have to go page by page removing the adsense code (i've placed the adsense ads just below the title, that's why I had to insert the code on each page as opposed to inserting in the main panel header for instance).
Now, is there a way that I can set this up in the future so I can easily insert/remove adsense from page no matter where I place it?
My first thought was of either creating all pages as .php OR creating them as .html and inserting a code in my .htaccess file to include php statements.
This way I could still have my .html pages and I would just need to create a page to serve as a template and then use a <php include ...> inside all my pages.
Then I would only need to edit one file when I wanted to change something.
Makes sense?
Any other ideas!?
Thanks in advance!
EDIT: yeah, I tested now and I COULD have inserted the adsense ad WITH the tile above by making use of {%TITLE%} token - but I did not knew about it then
Anyhow, say I supposedly would like to insert a common template code for adsense in the middle of my articles instead of at the top, how would I do it? PHP include as I've mentioned above or any other better idea!?