打开/include/taglib.type.lib.php文件
在里面添加以下代码
<span style="font-size:14px;">$row['parent_name'] = '';if($row['topid']){$row1 = $dsql->GetOne("select typename as parent_name from dede_arctype where id ='".$row['topid']."'");$row['parent_name'] = $row1['parent_name'];}</span>
前端调用
{dede:type typeid=''}[field:parent_name/]{/dede:type}