# Creating your first shortcode

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

* **Navigate to your shortcodes list:**\
  In your WordPress dashboard, go to **Snippet Shortcodes > Your Shortcodes**.
* **Create a new shortcode:**\
  Click **Add via Full Editor** in the top-right corner.
* **Name your shortcode:**\
  Enter a name — this will automatically generate the slug used in your shortcode.
* **Add your content:**\
  Use either the built-in WordPress editor or the HTML editor to add your desired content.
* **Save your shortcode.**
* **Use your shortcode on a page:**\
  Copy the generated shortcode and paste it into the page where you want it displayed.

```
[sv slug="business-development"]
```


---

# 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://yeken.gitbook.io/snippet-shortcodes/getting-started/creating-your-first-shortcode.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.
