---
agentTools:
  projectIndex: https://rooftopcms.readme.io/llms.txt
---

# Post Object

[block:image]
{
  "images": [
    {
      "image": [
        "https://files.readme.io/9494d76-Screen_Shot_2016-08-19_at_13.51.30.png",
        "Screen Shot 2016-08-19 at 13.51.30.png",
        1028,
        938,
        "#f4f4f4"
      ],
      "caption": "Adding a post object field"
    }
  ]
}
[/block]

[block:image]
{
  "images": [
    {
      "image": [
        "https://files.readme.io/26d7fed-Screen_Shot_2016-08-19_at_14.43.57.png",
        "Screen Shot 2016-08-19 at 14.43.57.png",
        976,
        73,
        "#ededed"
      ],
      "caption": "Editing a post object field"
    }
  ]
}
[/block]

[block:code]
{
  "codes": [
    {
      "code": "{\n  \"name\": \"post_object_field\",\n  \"label\": \"Post Object Field\",\n  \"class\": \"post_object\",\n  \"value\": {\n    \"ID\": 100,\n    \"title\": \"Biscuits\",\n    \"post_type\": \"page\",\n    \"slug\": \"biscuits\",\n    \"excerpt\": \"\",\n    \"content\": \"<p>Page Content</p>\",\n    \"status\": \"publish\",\n    \"advanced\": [ ]\n  },\n  \"relationship\": {\n    \"type\": \"post\",\n    \"class\": \"all\"\n  }\n}",
      "language": "json"
    }
  ]
}
[/block]

[See more](https://www.advancedcustomfields.com/resources/post-object) information on this field.