LearningSpot@Wordpress icon

LearningSpot@Wordpress

Consume Wordpress API

Post → Get Many

AI-generated

Summary

Retrieve multiple posts from a WordPress site with customizable filters and sorting options.

Inputs

  • Return All — Choose whether to return all available posts or limit the number of results.
  • Limit — Set the maximum number of posts to return if not returning all.
  • Options — Configure additional filters and controls including publication date range (After, Before), authors, categories, excluded categories, tags, excluded tags, context for response fields, order and order by preferences, search string, post status, and whether to include only sticky posts.

Output shape

a list of posts, each represented as a JSON object containing the details of a WordPress post under the specified filters and sorting conditions.

If 'Return All' is set to true, all matching posts are fetched via pagination internally; otherwise, the number of posts returned is limited by the 'Limit' parameter (min 1, max 10). The posts returned conform to the specified context and filters. Errors during retrieval will be thrown or optionally handled by continue-on-fail settings.

Links

Discussion