> For the complete documentation index, see [llms.txt](https://news-parser.gitbook.io/news-parser-plugin-v2/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://news-parser.gitbook.io/news-parser-plugin-v2/parsing-template/post-options.md).

# Post Options

The "postOptions" section in your code snippet defines the options for a post. Here's an explanation of each option:

1. "categories": This option allows you to specify the categories that the post belongs to. Categories are a way to organize your posts into different topics or sections on your website. You can provide an array of category names or IDs to assign the post to one or more categories.
2. "comment\_status": This option determines the comment status for the post. When set to "open", it allows visitors to leave comments on the post. Setting it to "closed" disables comments on the post.
3. "format": This option specifies the format of the post. The value can be "standard" or any other available post format supported by your WordPress theme or plugins. Post formats allow you to differentiate the presentation of different types of posts, such as a standard blog post, a gallery, a video post, etc.
4. "ping\_status": This option controls the ping status of the post. Pings are a way for other websites to notify your site when they link to your content. Setting it to "open" allows other sites to send pings, while setting it to "closed" disables this feature.
5. "status": This option determines the publication status of the post. When set to "publish", the post will be publicly visible on your site. Other possible values include "draft" (the post is saved as a draft), "pending" (the post is awaiting review), or "private" (the post is only visible to logged-in users with appropriate permissions).
6. "tags": This option allows you to specify tags for the post. Tags are similar to categories and provide another way to organize and classify your posts. You can provide an array of tag names or IDs to assign the post to one or more tags.

```
"postOptions": {
    "categories": [],
    "comment_status": "open",
    "format": "standard",
    "ping_status": "open",
    "status": "publish",
    "tags": []
  },
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://news-parser.gitbook.io/news-parser-plugin-v2/parsing-template/post-options.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
