->> Check Default Category Settings → Go to Settings → Writing and ensure a default category is set.
->> Theme/Plugin Conflict → Disable plugins and switch to a default theme to test if something is interfering.
->> Recent WordPress Update → Some updates may change behavior; check WordPress release notes.
->> Use a Plugin → Try “Default Category” plugins to restore auto-selection.
->> Manual Fix → Add custom code in functions.php to auto-select a default category.
Sorry, but I don’t understand anything by you answer, please by more specific. I have a category set by default in Settings → Writing it changes nothing.
As far as I know, this has never been the case. That’s why I developed a plugin to solve this some time ago – give it a try: https://wordpress.org/plugins/auto-category-for-posts/
As far as I know, this has never been the case. That’s why I developed a plugin to solve this some time ago – give it a try: https://wordpress.org/plugins/auto-category-for-posts/
Thanks, this is a nice solution. This is so weird that WP by some reason cancelled this feature because for two years I had selected category by default every time. Or maybe this is a bug? I don’t know.
It is also possible that you have used a theme or a PageBuilder that has adopted what my plugin does. As far as I know, the WordPress Core has never done it. When I started developing it, I also checked the history of changes in the source WordPress Core code at that point and, to my astonishment, I couldn’t find it. Of course, I may have overlooked something – it’s been over 20 years of source code history. My plugin is therefore a little help here.