Support » Themes and Templates » Detecting if result is individual or multiple entries

  • Hey guys,

    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.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Detecting if result is individual or multiple entries’ is closed to new replies.