IMPORTANT: Atlas Content Modeler is entering an end-of-life phase. During this phase, we will continue to support Atlas Content Modeler to ensure it is secure and functional, giving you time to move your site to our recommended replacement. While security and critical bug fixes will continue to be provided through 2024, no new feature development will happen in Atlas Content Modeler. The plugin will be shutdown in early 2025.
We recommend Advanced Custom Fields (ACF) as a replacement for Atlas Content Modeler. ACF is a mature and stable product, with a large community, and it has most of the features that Atlas Content Modeler has, and more!
Read more about ACM's deprecation and how to migrate your site to ACF here.
Atlas Content Modeler is a WordPress plugin to create custom post types and fields for headless WordPress sites.
Download the latest plugin zip file.
Developers get a modern content modeling system with WPGraphQL and REST support.
Publishers get friendly and familiar content entry pages.
Once installed, Atlas Content Modeler and WPGraphQL check for updates and display prompts to install new versions.
Atlas Content Modeler has a three-step workflow:
You will see “The Cats model was created”. Now you're ready to add your first field.
Let's add one more field so that publishers can add an image of their cats.
Nice work! You defined your first model and added two fields. It's time to add your first cat entry.
You defined a cat model and added your first cat entry. That's everything you need to be able to fetch cats using a GraphQL or REST request.
Atlas Content Modeler is designed for headless WordPress, where a developer creates an app or website to display custom content. Developers can fetch content with GraphQL or REST:
Install and activate the WPGraphQL plugin to follow along with this example.
Visit https://example.com/wp-json/wp/v2/cats
in your browser, replacing https://example.com
with your WordPress URL.
You will see model data for your cats. Atlas Content Model fields appear in the acm_fields
property:
[
{
"acm_fields": {
"name": "Garfield",
"photo": {}
}
}
]
Models with a “Private” API Visibility need authenticated GraphQL and REST requests. Learn about authentication options from the WPGraphQL documentation.
Change the API Visibility of a model at any time by choosing “Edit” from the model options.
Requests sent in a GraphiQL session in the WordPress admin area are authenticated by default. This makes GraphiQL a good place to experiment with queries for private model data.