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] Show posted topics

2 Posts
2 Users
1 Reactions
1,050 Views
Posts: 7
Topic starter
(@parsa)
Active Member
Joined: 5 years ago

I have a website that supports WooCommerce customers through tickets
Now I want to answer questions and problems through the forum
I want the topics posted in the forum to be some of them private and some of them public, is this possible?
Only the manager and the person who posted the post can see it
And the administrator can hide or publicize the post whenever he wants


1 Reply
Sofy
Posts: 5636
 Sofy
Admin
(@sofy)
Support Team
Joined: 8 years ago

@parsa,

You can use the folloing js code:  

jQuery(document).ready(function($){
function wpforo_topic_private_checked(){
$("input[id^=wpf_t_private_]").prop('checked', true);
}
wpforo_topic_private_checked();
document.addEventListener('wpforo_topic_portable_form', function(e){
wpforo_topic_private_checked();
});
});

Helpful article: https://www.collectiveray.com/add-javascript-to-wordpress

This makes all topics private by default. 

The if moderators want they can make it public.