WordPress integration

WordPress content can be queried from Plasmic with the WordPress integration. This integration is useful for listing and rendering WordPress content such as posts with built-in pagination and sorting controls.

Configure data query for WordPress

Getting started

  1. In Page Data or Component Data, add a new data query and set a query name.
  2. Set Custom function to Query WordPress.
  3. Fill the parameters from the table below.
  4. Execute and save the query.

Parameters

FieldDescriptionRequired?
WordPress URLRoot URL of your WordPress installation.Required
Content TypeContent type to query (for example Posts).Required
FiltersConditions to filter the results.Optional
PagePage number to fetch.Optional
Items per pageNumber of items returned per page.Optional
OffsetNumber of records to skip.Optional
Sort bySorting field.Optional
Reverse orderToggle descending order.Optional

Is this page helpful?

NoYes