Variables

{{ url }}

{{ url }} prints the permalink URL for the current WordPress post or page.

Example#

phpresources/views/front-page.php
{{ query:posts }}  <a href="{{ url }}">{{ title }}</a>{{ /query:posts }}

Use it for links to the current item.