I use @Siropu Ads Manager plugin to create buttons fixed to the footer that stay on screen when scrolling.
The code I use is very simple, for example:
How can I add a link to the edit button? The problem I'm encountering is that it uses the post ID in the URL:
I've tried the post_macros template code and it doesn't work. How can I fix it?
The code I use is very simple, for example:
Code:
<a href="./post-thread" aria-label="Comment thread">
<i class="far fa-reply" data-xf-init="icon"></i></a>
How can I add a link to the edit button? The problem I'm encountering is that it uses the post ID in the URL:
HTML:
https://xxxx.com/posts/11472/edit
I've tried the post_macros template code and it doesn't work. How can I fix it?
HTML:
<a href="{{ link('posts/edit', $post) }}">{{ phrase('edit') }}</a>