Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #644936

    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!

    #645645

    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

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.