Notifications
Clear all

Limited Support

Our support team is currently on holiday from December 25, 2025 to January 7, 2026, and replies may be delayed during this period.

We appreciate your patience and understanding while our team is away. Thank you for being part of the wpForo community!

Merry Christmas and Happy Holidays! 🎄

[Closed] function wpforo_topic_title()

2 Posts
2 Users
1 Reactions
888 Views
Posts: 23
Topic starter
(@wacha)
Eminent Member
Joined: 8 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: 3610
(@chris)
Famed Member
Joined: 4 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.