@sub0810
3 years, 9 months ago
Topic insert format in specific forum can change using following code. For example, Forum post=1000,1300
if( is_single(1000) ){ echo 'Baseball rule'; return; }elseif( is_single(1300) ) { echo 'Football rule'; return; }
Then how can I customize reply insert format in specific forum? For example, Forum post=1000,1300
‘reply insert format’ in content-single-topic.php .
@robin-w
if the reply is 1500 and the topic it belongs to 1000 then
$reply_topic_id = bbp_get_reply_topic_id(1500) if( $reply_topic_id == 1000 ){ echo 'Baseball rule'; return;
Thank you for your advice.
Your code works well.
I do appreciate it every time.
🙂