AI Search
Classic Search
 Search Phrase:
 Search Type:
Advanced search options
 Search in Forums:
 Search in date period:

 Sort Search Results by:

AI Assistant
Notifications
Clear all

[Closed] function wpforo_topic_title()

2 Posts
2 Users
1 Reactions
984 Views
Posts: 23
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@wacha)
Eminent Member
Joined: 8 years ago
[#48563]

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
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@chris)
Famed Member
Joined: 5 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.


Share: