Not Solved Disable forum section in daily post [?]
#6
Not Solved
though I do not recommend modifying the core files, here is a method for your requirement

search.php#L1401 and search.php#L1487

find below code at above two lines
$unsearchforums = get_unsearchable_forums();

after that code line
in a new line , add below code segment
if($unsearchforums) $unsearchforums .= ","; 
$unsearchforums .= "'fid'";  // fid  is forum number of required forum eg. 15 


Note: php files should be saved with utf-8 encoding without Byte Order Mark.
in general, we use editor like Notepad++ or file editor at web host panel to edit the files.
Reply


Messages In This Thread
RE: Disable forum section in daily post [?] - by .m. - 2019-05-26, 11:58 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)