Woocommerce already has a widget called best_sellers, which is conflicting with the name you’re using, and it’s making your widget use the Woocommerce widget update function. Since that one also has a field called title, that field is still saving.
Add in a prefix to best_sellers in your construct function to fix the problem:
public function __construct() {
$widget_options = array(
'classname' => 'best_sellers',
'description' => 'A list of products that are your best sellers'
);
parent::__construct("my_best_sellers", "Best Sellers", $widget_options);
}
Related Posts:
- Show Woocommerce minicart widget in checkout page sidebar? And, how to make this update secure by overriding widget?
- Woocommerce Product Category Widget – hide categories that have no products in stock [closed]
- Bookshelf plugin and/or widget [closed]
- Copy widget settings from one blog to another
- Edit and make class-wc-widget-featured-products.php update-proof
- How to create a ‘single’ category widget for woocommerce plugin [closed]
- Show Woocommerce Product “attributes/extra information tab” in widget [closed]
- How add short description Featured Products or Related Products
- How do I stop out of stock items from appearing on my WooCommerce site when using the Layered Nav widget [closed]
- How can I use the built in WordPress “browse link” functionality?
- Modifying the default search widget
- Prevent widgets removal
- How can I make my custom shortcode work in a Custom HTML Widget?
- Disable Specific Widgets on Selected Pages of a WordPress Website?
- How to build widget with arrays inside arrays?
- How do I save data from submitted form from widget
- Add div class to only one widget
- How to use control_callback when creating a widget via functions.php or plugin?
- Disable default WordPress widgets in sidebar
- Updating to Version 4.5 bumped my “main sidebar” widget out of place
- Adding classes to dynamic sidebar
- Need help adding additional controls to a custom widget
- Why do none of my widgets have a title?
- Defer Code in Widgets – Page Speed
- Where are widget configurations stored?
- Detect if a plugin was included in a certain page
- Adding a widget to a string of HTML
- How to add a class to a link in text editor
- WordPress widget new instance creates content duplicates
- Multisite Widget/Content
- Remove/Add widgets from/to the Available Widgets pool
- Remove/Unregister or hide a widget added by a plugin
- Check if widget is active
- Radio buttons in widget not saving
- How can I apply css styling to the current day in the calendar widget
- How to check if a widget has no title
- AJAX Contact Form Issue
- Including PHP files doesn’t work outside of Localhost
- Excluding specific widgets from default sidebar class
- How to truncate titles in Recent Posts widget?
- Can WordPress Read Its Own RSS Feed?
- Can’t see widget areas in my customizer
- Widget for adding HTML markup to a page
- Debug errors on sidebar
- Dynamic sidebar based on category
- Widget textarea input gets formatted
- Show widget differently depending on if it’s in the sidebar or footer
- Get posts after today (upcoming events)
- How to pass data from page to widget functions?
- Adding a rich text editor to a widget – specifically CKEditor
- Calendar Plugins – Featured Widget [closed]
- WordPress plugin subscribe2 not looking the same as before migration
- Widget page is missing from menu and default widgets are not showing
- wp_editor in widget breaks after save (no buttons and visual tab broken)
- How to use a dropdown to populate a list of post from CPT
- Access Customizer widget instance form
- Allow shortcode for custom widget
- Registering a stylesheet inside my WordPress widget
- Trying to create a table/list of my EventBrite course listings [closed]
- is_tax() not working in Widget Logic [closed]
- How to position custom dashboard widgets on side column
- One register_sidebar function works, the other doesn’t?
- Modify WordPress widgets Screen
- What does apply_filters() do exactly? [duplicate]
- PHP Warning: Declaration of aec_contributor_list::form() should be compatible with WP_Widget::form($instance)
- How do I remove/reset all current widgets from the database?
- Change Woocommerce Product Categories Widget ‘Title’ based on Product Category
- Why isn’t my custom widget outputting any content?
- Make single widget area top level in 4.0 Customize Panel
- Sidebar widgets – dynamic CSS : problem with widget-title
- widget not displayed
- Dynamically creating multiple widgets from Mustache templates
- Jquery checkbox -show posts with checked tags
- changing the style of sidebar
- Vimeo Feed gived dead link with RSS widget?
- Creating New Dynamic Fields for a Certificate (Number Generation, Code Referencing, and more)
- How to translate widget titles in 2021 theme?
- Is it possible to add a preview to custom developed Widget?
- How to change widget title in wordpress version 5.8.1?
- why the code html apear in this widget in footer
- Custom content per post in widget
- A checkbox Option for description in Widget
- My widgets do not save
- How to make wp multisite subdomain exist search
- Custom Widget not Available after Plugin Installation
- Handling dozens of sidebars
- How can I only show a widget prior to a specific date?
- Add sidebar in inner pages
- Inkness theme sidebar
- My Email Newsletter plugin will not configure when I try to import the widget
- Automatically hide Widgets that would lengthen page
- Add New Footer Widget Area with Limited Options?
- Imported blog page layout messed
- My understrap-child theme doesent have a head.php, footer.php
- How do you submit a widget for the wordpress directory?
- Database size Widget
- Text Widget Not Working
- Sample widget code which get data(1-5 record) from Wp_Admin panel and display to Homepage(WordPress Custom Theme)
- Can’t edit the widgets sidebar or footer
- Custom dashboard widget – load style only for added widget