I'm looking for a way to allow post editors to see two different previews of the posts they are writing. On the front, the same post can appear it two different sections of the website (each shows a different amount of custom fields). How can I create two preview links (for ex : "Preview with template 1" and "Preview with template 2") ?
The easiest way to solve this is to create a special template file for previews, that will show the post twice in the different layouts.
The following code will use the
If you want to show the same post twice you must remember to add