Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ヘッダーのカテゴリ フィールドで現在検索されているカテゴリの名前を表示したい。
このコードを試しましたが、「配列」と表示されます。
<?php echo osc_search_category(); ?>
何か案が?
次のコードが機能していることがわかりました
$cName = Category::newInstance()->findNameByPrimaryKey(osc_search_category_id());