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] display a shortcode in the category description

3 Posts
2 Users
1 Reactions
1,963 Views
mazohho
Posts: 5
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
(@mazohho)
Active Member
Joined: 5 years ago
[#15656]

I will leave this to you.

I know HTML is working

I want to display a shortcode in the category description.

If that doesn't work, can I expand the first topic under the category instead?

(I'm sorry I'm not good at English)


2 Replies
Sofy
Posts: 5777
 Sofy
Admin
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
(@sofy)
Support Team
Joined: 8 years ago

@mazohho

You can customize the forum.php file of the current layout and add the shortcode using either the apply_shortcode() or do_shortcode() functions (depends on the WordPress version). 

The update-safe way for the theme customization is described here: https://wpforo.com/docs/root/forum-themes/theme-customization/


mazohho
Posts: 5
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
(@mazohho)
Active Member
Joined: 5 years ago

@sofy

Thank you, Sofy
I'm sorry
 

I followed the procedure but couldn't...
Success when trying from the plug-in core

What do you think is wrong?
 image2

Share: