> For the complete documentation index, see [llms.txt](https://wplake.gitbook.io/advanced-views/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wplake.gitbook.io/advanced-views/guides/display-custom-post-type-cpt-on-another-post.md).

# Display Custom Post Type (CPT) on another post

### Step by step guide

Visit the **Advanced Views** tab in WordPress backend.

Click the **Add New** button to add a new *Layout*.

<figure><img src="/files/SFi8wjt6xa9uRhScRkUR" alt=""><figcaption></figcaption></figure>

Enter a **Name** for your *Layout*.&#x20;

<figure><img src="/files/8ZWGlQWWy2S2bW0nKybd" alt=""><figcaption></figcaption></figure>

Click the **Add Field** button in the *Fields* section.&#x20;

<figure><img src="/files/Kk5TS2vo87wrdNhOLRm4" alt=""><figcaption></figcaption></figure>

Then **select** the target *Group* from the list and the *Field* from the dropdown.&#x20;

<figure><img src="/files/FiDLs7WgsJhDPpjshXZh" alt=""><figcaption></figcaption></figure>

Continue to **Add Fields** until they've all been assigned.

<figure><img src="/files/jPMWOoztaFyEiXX7LhuZ" alt=""><figcaption></figcaption></figure>

Click on the **Publish** button to save and publish your *Layout*.&#x20;

**Copy** the shortcode from the sidebar.&#x20;

<figure><img src="/files/Naot95ah40dki15ZvXcP" alt=""><figcaption></figcaption></figure>

**Paste** the shortcode in a post or page.

<figure><img src="/files/y70H1bR5KpkSgQ53HX4H" alt=""><figcaption></figcaption></figure>

**Modify** the shortcode and **insert** the *object-id* parameter, as well as adding the *ID* of the post you want to display, then click the **Publish** button to save.

<figure><img src="/files/NBtUZKi1wdCAoz4m3nfE" alt=""><figcaption></figcaption></figure>

**Remember** to fill out the fields on the post of the *ID* you've used.

**Visit** the page containing the shortcode to see the results.

{% hint style="info" %}
Learn more about the Layout [shortcode](/advanced-views/shortcode-attributes/layout-shortcode.md) parameters.
{% endhint %}
