This topic has 1 reply, 2 voices, and was last updated 11 years by SQadmin.

  • Author
  • #4848
     bananalust
    Participant

    I put a new version of the widget mailchimp php file in the correct directory in my child theme but it is not overriding the file in the core theme. Any suggestions>

    #4895
     SQadmin
    Keymaster

    Widgets do not work this way. Only template files work that way.
    You could remove the default widget and add add your code for the custom widget in sweetdate-child/functions.php. You can remove the mailchimp widget like this:

    COPY CODE
    
     function unregister_default_widgets() {
         unregister_widget('SQueen_Mailchimp_Widget');
     }
     add_action('widgets_init', 'unregister_default_widgets', 11);
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 2 posts - 1 through 2 (of 2 total)

The forum ‘Sweetdate – WordPress’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?