Tagged: categories, portfolio widget
Hi there,
I’d like to ask you for some help. I would like the “portfolio latest” widget to show the post categories in place of the time/date.
From what I can see, the widget is extended upon the Newsbox widget. I would like to keep that one as it is.
Also, would it be possible to exclude certain categories (for instance exclude the first category in the array) from being shown?
I would have tried to fiddle with the code myself, however everything I tried so far also affected the Newsbox widget, which I rely upon heavily. :-(
Thanks in advance!
Hey,
Try creating a complete new Widget using:
class avia_newsbox extends WP_Widget {
...
}
as a base, if you’re using a child theme you can do that via functions.php.
Best regards,
Josue