[Plugin: Ad Injection] Text files
-
Hello,
On one of my site I am using a very simple theme- so simple that it allows only two widgets on left sidebar. If I want to show ads above the post title then I believe I would need to modify the theme file.
Anyway, my question is: you say that I should have one text file per category. However, how do I proceed if I want to show, say, 10 ads in same category, in rotation of course!
Like say, if I wish to show ads in “travel” category then I would need to name the first ad text file as travel.txt. How would I name the subsequent ad files? Should I name them as travel2.txt, travel3.txt, etc., or should I include all the ads belonging to the same category in the same text file?
Also, once I am done with creating the text file, I would probably add your given php code in my theme file??
- The topic ‘[Plugin: Ad Injection] Text files’ is closed to new replies.