I’m loving the new theme functionality in WordPress 1.5, I’m trying to port my old ‘hacked’ setup to the new theme mechanism. The last bit that is giving me grief is detecting whenther this is an individual item (i.e clicked on a perma link) or an index.
If the user is viewing a permalink I want to show one kind of adsense ads (underneath the comments) and if it’s an index with multiple entries I want to show the ad somewhere else (left hand panel).
I figure that this must be possible with the themes as they seem to know whether to show the comment form or not.
- The topic ‘Detecting if result is individual or multiple entries’ is closed to new replies.