Displaying different template files based on url - little help? (1 post)

  1. edbury
    Posted 7 years ago #

    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?

Topic Closed

This topic has been closed to new replies.

About this Topic