Show: function WP_Widget::widget() must be over-ridden in a sub-class. in website.

How to fix it?

1 Answer 1


The class that extends WP_Widget must have a widget method. That is:

class Dummy_Widget extends WP_Widget {

  /* This method is required */
  function widget($args, $instance) {



Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.