Example#
<article data-post-id="{{ id }}"> <h1>{{ title }}</h1></article>Inside a query loop, {{ id }} changes to the ID of the current item in that query.
Variables
{{ id }} prints the current WordPress post or page ID.
<article data-post-id="{{ id }}"> <h1>{{ title }}</h1></article>Inside a query loop, {{ id }} changes to the ID of the current item in that query.