Displaying different template files based on url – little help?
I’d like WordPress to display a different single.php file depending on how the post is accessed.
For instance http://blog.nakedink.us/2008/07/28/simon-has-hands-made-of-meat/ would return the normal, stylized post page (single.php).
http://blog.nakedink.us/2008/07/28/simon-has-hands-made-of-meat/unstyled would return single-unstyled.php.
Or some variant thereof.
I’m asking because I’d like to be able to return bits and pieces of content for Ajaxian retrieval using only the templating system.
Any ideas on something I might be able to drop in the functions file to get this going?
- The topic ‘Displaying different template files based on url – little help?’ is closed to new replies.