• I’m trying to get the title and link to the parent page inside a Timber twig file I’m making. So through post.post_parent I can get the parent’s ID number. But I have no idea how to get the full post object from that. Does var = new TimberPost() only work inside PHP files? It seems to crash my site when I try to use it.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Creating a TimberObject within twig file’ is closed to new replies.