在每个类别页面中,我需要创建一个显示相关类别的块。要在管理面板中添加此相关类别,我已经为此创建了一个字段。现在,在j_categories表中,我有列'params',类似于此类 - {“show_title”:“1”,“category_layout”:“”,“image”:“”,“related”:[“12 ”, “23”] 下, “image_alt”: “”, “show_related_categories”: “1”}
所以我有相关类别的ID。
如何获取这些类别的标题并将这些标题放入类别页面?
抱歉我的英文。提前谢谢。