2023-04-26, 09:41 PM
Add custom php code to forum description,
so I got a php code, and the plugin to display the php code in the theme, now how do I display that code in a particular forum's description.
For example, I was thinking to do so:
so I got a php code, and the plugin to display the php code in the theme, now how do I display that code in a particular forum's description.
For example, I was thinking to do so:
<?php
if ($forum['id'] == 2) {
echo 'This is description for ID2';
}
else
{
{$forum['description']}
}