I saw on the changelog 1.2.9.5.6 “Improvement: Code block now accepts dynamic tags, ie: {post_id}”.
I tried doing echo {post_id}
and it doesnt work inside code block.
I saw on the changelog 1.2.9.5.6 “Improvement: Code block now accepts dynamic tags, ie: {post_id}”.
I tried doing echo {post_id}
and it doesnt work inside code block.
also in my use case, i need the comment id and put it inside a code block. And this code block is inside the query loop - > comments.
Hello @kris,
Thanks for bringing this up.
Indeed, the changelog is incorrect as {post_id}
is not a valid tag, I’ve modified it accordingly.
In this case, you’ll want to echo like this:
<?php
echo "{post_title}";
?>
thanks @Louis . can i have list of dynamic tags available. is it possible to have comment id dynamic tag inside a comment query loop? im planning to use each comment id on a query loop in the code block element