1343 posts
  • Elite Author: Sold more than $75,000 on Envato Market
  • Made it to the Authors' Hall of Fame
  • Has been part of the Envato Community for over 5 years
  • Has sold $250,000+ on Envato Market
+6 more
fuelthemes says

It seems that I cannot access custom post type categories from the Widget class. I think I am doing a mistake.

If anyone can point me in the right direction, it would help alot.

3007 posts
  • Has been part of the Envato Community for over 4 years
  • Has referred 200+ members
  • Has sold $250,000+ on Envato Market
  • Had an item featured in an Envato Bundle
+7 more
duotive says

Did you try with WP_Query ?:) And add a query reset before the widget query and after?

1343 posts
  • Elite Author: Sold more than $75,000 on Envato Market
  • Made it to the Authors' Hall of Fame
  • Has been part of the Envato Community for over 5 years
  • Has sold $250,000+ on Envato Market
+6 more
fuelthemes says

I didn’t want to use WP_Query at first, but after some research I guess thats the only option.

ps, I tried to use get_terms but didn’t work.

by
by
by
by
by
by