我使用Events Calendar Pro插件(https://theeventscalendar.com/product/wordpress-events-calendar-pro/),我需要獲取每個事件的所有類別。獲取Wordpress活動日曆Pro插件中的事件類別
我試過single_cat_title()
和get_the_category()
但他們不是我所需要的。
實際上,single_cat_title()
函數只顯示第一類,而get_the_category()
返回空數組。
我也面臨這個問題。讓我知道你得到了什麼。 – MrIndomitable