Is it possible to use this code on a widget? For example, on the HTML text Widget?
I'm trying to list the last X news from a category on a widget.
I've mount a website with the same categories and pages. For example:
- Category: Bikes
- Category: MotorBikes
- Page: Bikes
- Page: MotorBikes
And I want to bind Page & Category to show on a widget on my sidebar of the page BIKES, X last posts from categoty BIKES.
Is it possible with this plugin?