Customizing Chitika eMinimalls
This page provides a WordPress plugin to customize Chitika eMiniMalls (sponsored link) to use one of the following methods as the query array that determines what ads are shown:
1) Use the Categories the post is assigned to
2) Use one of the categories the post is assigned to (which is my current setting - click around this site’s posts to see how it fairs)
3) Use the first category the post is assigned to
One important thing in this code is that it is WITHIN The Loop. I will attempt to develop code to work outside The Loop, and will post it here when it’s available. (Although the plug-in will handle that).
Also, I use this code within a condition statement that only places the ad after the first post - which works well as I don’t need any special code for a single post page. It uses a $postcounter variable and checks if it’s post number 1 on that page. The Chitika ad at the foot of the page is just a standard one.
If you want to talk blogging with me, feel free to visit my blogging website Qwertyrash
[Update: 1 November 2005] The plugin is now available chitika_keywords.zip and click here to see the readme file: ckreadme.html.