我使用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