# Demo Import

Whether you're new to Advanced Views or just want a quick way to set up the basics, this demo import will automatically create a working example for you.\
It's perfect for exploring how Layouts, Post Selections, and ACF fields work together.

### What this demo does

Display page's ACF fields on the same page

1. Creates 'draft' pages for 'Samsung Galaxy A53', 'Nokia X20' and 'Xiaomi 12T'.
2. Creates an ACF Field Group called "Phone" assigned to those pages.
3. Creates a Layout called "Phone" that displays fields from the "Phone" Field Group.
4. Populates each page’s ACF fields with sample text and adds the Layout shortcode to the page content.

Display a specific post, page or CPT item with its fields

1. Creates a "draft" page called "Article about Samsung"
2. Adds a Layout shortcode to the page content with "object-id" parameter pointing to "Samsung Galaxy A53".

Display multiple items using Post Selections

1. Creates a Post Selection called "List of Phones" using the "Phone" Layout and filtering for the phone pages.
2. Create a 'draft' page called 'Most popular phones in 2022' and adds the Post Selection shortcode to the page content.

#### Importing

Click Import Demo and wait a few seconds. When done, you'll see quick links to edit all imported items.

#### After Import

A Delete Demo button will appear if you’d like to remove the demo content later.

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

{% hint style="success" %}
Note: When the process has completed, you'll see links to all the items for quick editing.
{% endhint %}


---

# 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/tools/demo-import.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.
