Skip to content

Add Two New WordPress Blocks to the AutoGPT Platform #11002

@Torantulino

Description

@Torantulino

​We need to extend the existing WordPress integration on the AutoGPT Platform by adding two new pieces of functionality:

  1. New Block – Get All Posts
    • Create a new WordPress block that fetches all posts from the logged-in WordPress account.
    • Must use the existing credential system and WordPress setup.
    • Should follow the same style and structure as the existing WordPress blocks.
    • Add support for an optional parameter to filter posts by status (e.g., drafts only vs. published only).
  2. Enhancement – Publish Post Block
    • Extend the existing "Publish Post" WordPress block.
    • Add a toggle (or equivalent option) to determine whether the post should be published as a draft or as public.

Acceptance Criteria:

  • New "Get All Posts" block exists and fetches posts correctly.
  • Block respects WordPress credentials and works with the current setup.
  • Block allows filtering between published posts and drafts.
  • "Publish Post" block has a functional toggle for publishing as draft vs. public.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions