Mar 16, 2023 8:02 am
Hello,
I want to use that function wpforo_topic_title()
But i wonder what is the meaning of the structure : {i}{p}{au}{t}{/a}{n}{v} in
wpforo_topic_title($topic, $topic_url, '{i}{p}{au}{t}{/a}{n}{v}')
It's not commented and i didn't find any doc about that.
Thank you
1 Reply
Mar 18, 2023 10:26 am
Hi @wacha,
{i} - topic icon (empty, one reply, replied)
{is} - topic icon and status icons (+ sticky, closed, private...)
{t} - topic title
{tc} - topic title cut by x number of chars
{au} - link opening tag, link goes to first unread post
{a} - link opening tag, link goes to the first post
{/a} - link closing tag, this is required
{v} - displays number of users currently viewing the topic
{n} - displays [new] info when a new unread post has been posted in the topic
Example {a}{t}{/a} - this is the topic title as a link going to the first post.