AI GROWTH WordPress icon

AI GROWTH WordPress

Create, read, update and delete WordPress content with AI GROWTH - SEO WP plugin support

Post → Get Many

AI-generated

Summary

Retrieve multiple WordPress posts with optional filtering, sorting, pagination, and inclusion of SEO metadata, FAQs, and CTAs from the AI GROWTH - SEO WP plugin.

Inputs

  • Return All — Whether to return all posts or limit the number of results.
  • Limit — Maximum number of posts to return when not returning all.
  • Additional Parameters — Optional filters including search term, post status (published, draft, etc.), comma-separated category IDs, comma-separated tag IDs, page number for pagination, order by parameter (date, title, modified, ID), and order direction (ascending or descending).
  • Include SEO Metadata — Optionally include SEO metadata in the output for each post.
  • Include FAQs — Optionally include FAQ data related to each post in the output.
  • Include CTA — Optionally include Call to Action (CTA) data related to each post in the output.

Output shape

a list of post objects

Returns an array of WordPress posts matching the specified filters and pagination. Each post object may include additional SEO metadata, FAQ entries, and CTA data if requested. If 'Return All' is false, results are limited to the 'Limit' parameter. Supports server-side filtering but falls back to client-side filtering for categories and tags if the API does not support these filters. Pagination is supported via the 'Page' parameter.

Examples

Example 1: Get up to 20 published posts tagged with certain IDs, include SEO metadata and FAQs, ordered by title ascending.

Set 'Return All' to false, 'Limit' to 20, specify post status as 'publish', tag IDs as needed, 'Order By' as 'title', 'Order Direction' as 'asc', and enable 'Include SEO Metadata' and 'Include FAQs'.

Links

Discussion