Notifications
Clear all

[Closed] function wpforo_topic_title()

2 Posts
2 Users
1 Likes
323 Views
Posts: 23
Topic starter
(@wacha)
Eminent Member
Joined: 6 years ago

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
Chris
Posts: 3650
(@chris)
Famed Member
Joined: 3 years ago

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.