# Current Post

### How to use it

Create your *Post Selection* and assign a *Layout* as usual. (See [Creating Your First Post Selection](/advanced-views/getting-started/introduction/creating-your-first-post-selection.md)).

**Switch** to the *Meta Filters* tab.

**Click** on the **Add Rule** button.

**Click** on the **Add Field** button.

In the **Group** field select the field group.

Select the **Field** from the dropdown.

For the **Comparison** field, select how you would like to compare the fields.

Type in $post$ in the **Value** field to pick up the post ID.

Click **Update** to save your *Post Selection.*

{% hint style="info" %}
Note: adding more than one Rule will create a relation to control how field rules will be joined within the meta query with AND or OR.
{% endhint %}

{% hint style="success" %}
Note: Do you want to customize a query (WP\_Query) that is used to get posts for a *Post Selection*, but the option is missing in the UI? Continue reading about the [Post Selection Filters](/advanced-views/customization/filters-and-hooks/post-selection.md).
{% endhint %}

### **Current post with field value comparison**

[See how to use it here](/advanced-views/query-content/meta-filters-pro/comparison.md).


---

# Agent Instructions: 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:

```
GET https://wplake.gitbook.io/advanced-views/query-content/meta-filters-pro/current-post.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
