Skip to content

Get the Page fields when using Posts Page #344

@asecondwill

Description

@asecondwill

If I set Posts Page in reading settings & go to the blog, I get to the list of posts via index.php and index.twig

{{post.title}} and the other post fields are not populated. setting

$context['page'] = new TimberPost();

sets the page to the first blog post

How can i fetch the page? (without hard coding the id into the TimberPost() creation )

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions