• Resolved denism300

    (@denism300)


    I want to output a widget directly in code using a function the_widget().
    I do this:
    the_widget( 'PWB_Filter_By_Brand_Widget', array( 'hide_submit_btn' => 'on', 'limit' => 20 ) );
    However, the widget is not displayed.

Viewing 1 replies (of 1 total)
  • Plugin Contributor titodevera

    (@titodevera)

    Hi denism300,

    You have forgotten the namespace, replace PWB_Filter_By_Brand_Widget with \Perfect_Woocommerce_Brands\Widgets\PWB_Filter_By_Brand_Widget

    Regards ??

Viewing 1 replies (of 1 total)
  • The topic ‘the_widget() don’t work’ is closed to new replies.