multiple single page templates for the same post
-
Website: https://www.shadetoshade.com
So I have a photo blog that I am in the process of putting up. I have a single post per page, use permalinks, and have prev and next buttons to go from picture to pictures. As I understand it, the single page template is used for any posts other than the main page (so for instance, when you hit the prev button off of index.php, it goes to the previous post but uses the single page template).
I don’t have a single page template. Instead, I have a stripped down version of index.html without comments, sidebars, or footers.
What I want to do is have two seperate views of a single post, one which uses my index.php, and another that displays more detailed information, such as image details and comments when the user clicks on “read more” (bottom right of image).
So I’d like to change the HREF for the “read more” to be like https://shadetoshade.com/2006/02/mist.html?DETAIL and then have detail.php be used as the template for the single page view.
Is this possible?
As I have it now, I have an index.php that is used for both the main page and for the single page views (whic
- The topic ‘multiple single page templates for the same post’ is closed to new replies.