# How get post title by {post\_title} for post with id 4?

**URL:** <https://forum.bricksbuilder.io/t/how-get-post-title-by-post-title-for-post-with-id-4/27779>\
**Category:** Uncategorized\
**Created:** [November 11, 2024, 12:38pm UTC](https://forum.bricksbuilder.io/t/how-get-post-title-by-post-title-for-post-with-id-4/27779 "2024-11-11T12:38:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Faradei](https://forum.bricksbuilder.io/letter_avatar_proxy/v4/letter/f/7c8e57/32.png) [@Faradei](https://forum.bricksbuilder.io/u/Faradei)\
**Post date:** [November 11, 2024, 12:38pm UTC](https://forum.bricksbuilder.io/t/how-get-post-title-by-post-title-for-post-with-id-4/27779/1 "2024-11-11T12:38:46Z")

</div>

Hello,

How get post title by {post\_title} for post with id 4? (without Query Loop) only by Dynamic Data

---

<div class="post-metadata">

**Author:** ![timmse](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/timmse/32/1192_2.png) [@timmse](https://forum.bricksbuilder.io/u/timmse)\
**Post date:** [November 14, 2024, 10:17am UTC](https://forum.bricksbuilder.io/t/how-get-post-title-by-post-title-for-post-with-id-4/27779/2 "2024-11-14T10:17:22Z")

</div>

Hi Faradei,  
You can use the WP native get\_the\_title function:

`{echo:get_the_title('4')}`

Make sure to add get\_the\_title to the allowed function names:

> **[Filter: bricks/code/echo\_function\_names](https://academy.bricksbuilder.io/article/filter-bricks-code-echo_function_names/)**
>
> Starting at Bricks 1.9.7, you must explicitly allow any function names you want to call via Bricks’ dynamic data echo tag using the new bricks/code/echo\_function\_names filter. You can add this to your Bricks child theme or the code snippet plugin of...

Best regards,  
timmse
