Home Forums Front-end Issues Angular, Limit Number of posts to fetch


Angular, Limit Number of posts to fetch

  • I am using ACF as a headless cms for my angular website i’m building.
    Currently I have a post type called News and i am fetching them all at once.
    However I would like to fetch only a handful of them with pagination enabled.
    I have tried adding posts_per_page in the query params and offset and none work, instead i get all posts.
    How can i fetch only a certain number of posts and enable pagination ? ( Using HttpClient module )

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.