D
Custom Post Type Widgets Content

Display a list of the most recent custom posts

display a list of the most recent custom posts.

What it does

display a list of the most recent custom posts. It is one of the abilities the Custom Post Type Widgets plugin exposes, so an AI agent connected to your site can run it for you.

Input schema

FieldTypeRequiredDescription
input string Required What you want this ability to do, in plain language.

Output schema

FieldTypeDescription
result string The result produced by the ability.

Permissions

The agent's WordPress user needs these capabilities. Grant only what's listed here, never a full admin account.

πŸ”’ edit_posts

How an agent calls it

Agents call this ability by name and pass the inputs it needs. A call looks roughly like this:

custom-post-type-widgets.display-a-list-of-the-most-recent-custom
{
  "ability": "custom-post-type-widgets.display-a-list-of-the-most-recent-custom",
  "args": { "input": ... }
}

The agent runs the ability, then hands the result back for you to review before anything is published.

Keep exploring

More Custom Post Type Widgets abilities

All Custom Post Type Widgets abilities β†’
D
Display post date? - if checked, display post date
Custom Post Type Widgets
Display post date? - if checked, display post date.
D
Display a list of archive links for each month that has
Custom Post Type Widgets
display a list of archive links for each month that has custom posts.
D
Display as dropdown - if checked, this box causes the
Custom Post Type Widgets
Display as dropdown - if checked, this box causes the archives to be displayed in a drop-down box.
D
Display a list of categories that has custom posts
Custom Post Type Widgets
display a list of categories that has custom posts.
D
Display a calendar of the current month
Custom Post Type Widgets
display a calendar of the current month.