Show post on alternate template depending on context
-
Hi all,
I want to be able to choose between two templates to show an entry. So when you click on the permalink on the archive page, you get a thickbox with a very simple layout showing the entry (template A), but when you click on the permalink in the search results, you are sent to a full page (template B).
Is there a way/plugin to pass a parameter along with the permalink so it uses the appropriate template?
Or does anyone know a way to determine with php or javascript if a page is being opened with thickbox/javascript? I could then either use the appropriate template, or at least feed a different CSS file.
Thanks
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Show post on alternate template depending on context’ is closed to new replies.