IDEA BOARD: Dynamic data tag {post_slug}

Unless it’s already there or undocumented, {post_slug} would be great. I’m trying to set up a dynamic category page and I have some anchor links directing people to various parts of the page.

It would also be even better if we could use {post_slug} on section IDs.

3 Likes

+1 for this.

What I’m doing now is I create a function that produces the slug and then call that function with a dynamic data tag {echo:my_custom_function}.

But the lack of the post slug is a glaring omission. =)

2 Likes

This feature request is already on the idea board: https://bricksbuilder.io/ideas/#7613 :wink:

4 Likes

This is working for me:
{echo:get_post_field(‘post_name’,}

3 Likes

Perfect, just what I was looking for, thanks :+1:

Does this work inside a query loop?