That is not native behavior of it.
If you check the source of WP_Widget_Categories
$title = apply_filters( 'widget_title', empty( $instance['title'] ) ? __( 'Categories' ) : $instance['title'], $instance, $this->id_base );
The title comes exclusively from the value saved in instance (or default if not). There is no logic to tie it in with current context.
Something is changing that behavior, some possibilities that come to mind:
- you might have something override native widget
- some code might be using
widget_title
, possibly incorrectly, to override - some JS code on front end might be changing title
Related Posts:
- Limit number of Widgets in Sidebars
- How to load Widget javascript + css files only if used?
- check if registered sidebar is active & has widget content
- How to use wp_dequeue_style() for style enqueued in WP_Widget class
- Storing custom dashboard widget options in wordpress
- Programmatically edit the text of a widget
- Shortcode from a widget is wrapped in unwanted element
- How to update widget from widget() function?
- Create a Widget Area in the Navigation Bar for the Genesis Theme Framework?
- Manual display of widget
- Customized widget area – how to override or filter class xoxo?
- Unable to get Alert function to consistently work with backend widget with latest WP
- How to add a description to Widgets?
- Widget options get
- Insert custom content before widget title/after widget opening tag
- Custom Menus, Widgets & Conditional Statements
- Dynamic widgets
- How do I stop a widget from displaying on mobile site?
- cannot drag and drop widgets since wordpress 3.2.1
- Show widget when not using SSL
- How/where is the global variable $wp_registered_widgets filled?
- Converting a WordPress widget to a block
- Change recent posts widget title
- Color Picker Showing Twice When Widget Added to Sidebar
- How can I use AJAX to save/update a widget form?
- Hide all Dashboard Widgets (not remove)
- Widget modifications in a child theme
- How to get “Widget Logic” plugin’s input value in a custom widget code (to display on the Widget admin page)
- Extending WP_Widget throws error when Monster Widget used
- Making footer widgets responsive
- Custom html widget with a Joomla-style assigment
- Form link throwing website to main language
- Is there a way to extend the default image widget into a new custom widget and add additional fields to it?
- Conditional Tags Based on Previously Viewed Posts
- Make page jumps in widget
- Query in query for Widget
- How to display first post thumbnail as a background image of a widget?
- Create widget in dashboard displaying a custom user field?
- Widget without DIV wrapper
- Widgets not displaying since 4.3
- Custom widget with WYSIWYG
- Limit number of widgets in widget area
- How to create pagination for homepage with widgetized area?
- Hooking action once but called twice
- How to update the widget form when the image is selected?
- How can I add an author-box below a post?
- How to overload the update() of existings widgets?
- Override WordPress Widget CSS Classes?
- Help me out with this Undefined index ?
- displaying tags in a widget
- Dynamic Sidebar and XHTML Validity?
- Displaying a WordPress widget by name
- How to use wordpress content class?
- How to use get_results() in widget front end?
- How to best include widget area just on homepage?
- Remove “Content” and “Discussion” from Right Now Dashboard Widget
- wordpress widgets screen disappeared
- Different widgets in sidebar on sub-children pages?
- Why custom widget won’t appear in Block editor (Gutenberg)?
- Can the qTranslateX-Plugin translate non-article text? [closed]
- Custom widget is not appearing in the admin area
- A/B test options at the widget level [closed]
- Random sidebar/widget background
- event organiser not loading in main content area
- Creating a widget that displays the content of a page
- How to place my g+ or fb plugin at the bottom of post or page?
- WP 3.3 RC1 new switch_theme() method foobars sidebars
- How to Catch Last Widget box From Same Widget Area?
- Countdown Widget
- recent comments filter by author, page, category
- How do I get my custom widget to show on live site?
- How can I add a widget area to the top of the Dashboard?
- How do I enable the admin form for a custom widget that is called in a sidebar template, not to widget area?
- Create a new recent post widget
- How to prevent Widget from echoing to wrong position in DOM
- Search box displaying just title → Default WordPress Widget for Search Box
- Need two sidebar (right and left)in Twenty Seven theme
- Fatal Error (Call to a member function… ) on production site, but not development site
- wp_enqueue_media(); in multiple widgets
- conditional widget title
- Add Social Media icon widget to customizer
- Create a setting at backend,to print only selected categries at front-end
- Widget Admin page and Javascript enqueuing
- Custom php Widget keeps disappearing from the front end
- Add space to the end on a widget
- Insert to wp_footer if widget is found in the sidebar
- Using javascript on the new widget preview / customizer page
- Options page for widget
- user definable sidebar per page
- List.js inside WordPress widget
- Show or hide custom menu widget in side bar conditionally
- Custom tabs widget don’t work in google chrome, is blocked, do not change the tabs. Why?
- WordPress Hide Widget If $_Session Is Active?
- Post Thumbnails on Sidebar Widgets
- Widget which displays thumbnails, but links to urls?
- Using Conditional Tags to restrict something to 1 user?
- Recent posts with different class name for each post and a scrollbar?
- Problem on register/login widgets
- Widget block editor: Unable to collect checkbox values inside widget update() method
- Theme Widget Area Defaults