修改 include/arc.searchview.class.PHP 文件
Addsql}"; //搜索 $query = "Select arc.*,act.typedir,act.typename,act.isdefault,act.defaultname,act.namerule,act.namerule2,act.ispart,act.moresite,act.siteurl,act.sitepath from `dsfw_archives` arc left join `dsfw_arctype` act on arc.typeid=act.id where act.id not in (4,5,6....) and {$this->Addsql} $ordersql limit $limitstart,$row";
sql语句换成我这两句,括号里面的是你不搜索栏目的id
原文链接:https://www.f2er.com/dedecms/403808.html