I use the same templates for live preview as for the front end. Until a recent change in Craft 3, they worked fine for live preview, then they stopped showing most fields.

I use a lot of includes to build pages, for example, I send the id of an entry to a separate template to display a Matrix field. I just pass entry.id.

1 Answer 1


According to Brandon, in live preview, you can no longer use entry.id, you have to use entry.sourceId to get the current draft.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.