> For the complete documentation index, see [llms.txt](https://docs.feedotter.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.feedotter.com/newsletters/content-sources/wordpress-api.md).

# WordPress API

1. Go to **Settings** > **Content Sources** > select **New Content Source**.
2. Select **WordPress** as your Platform and give your content source a **name**.
3. Paste your **WordPress** content site in the suggested box and select **Connect**.

<div align="left"><figure><img src="/files/BN71lx9WpU8QwRXIvaj2" alt=""><figcaption><p>Add your WordPress URL to FeedOtter content sources.</p></figcaption></figure></div>

Once connected, you'll see additional information to fill in for your content.

4. Choose the maximum number of post content you'd like to see from your WordPress site. By default this is set to 25, and will show the most recent content by published date.
5. Click **Save**.

You'll then be able to choose your WordPress site content to pull from when creating your newsletters.

<div align="left"><figure><img src="/files/jeusoLt6gkVb4oJrIifv" alt=""><figcaption><p>Add your WordPress content in your newsletter.</p></figcaption></figure></div>

## Selecting Tags and Categories from your WordPress site

You may have also noticed the option for **Tags** and **Categories** when connecting your WordPress site. You can choose to include/exclude specifics tags and categories of content from showing in your content source.

1. **Edit** your content source or create a new one.
2. Under **Tags** or **Categories**(whichever you choose to use) select whether you'd like to **include** or **exclude** specific tags/categories.
3. **Click** the search box and **type** or **select** the tags/categories you're looking for.
4. Click **Save**.

<div align="left"><figure><img src="/files/56rg3B6DKUN4nJ0225Qx" alt=""><figcaption><p>Select the tags/categories you'd like to include/exclude in your FeedOtter content source.</p></figcaption></figure></div>

Now FeedOtter will filter the content in your content source accordingly when providing content to use in your newsletter.


---

# 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://docs.feedotter.com/newsletters/content-sources/wordpress-api.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.
