I have now found that if I add a new category in WordPress I can’t add it to my posts. For example I have added the top level category “Trains” and a category beneath that “Wrapped Trains”:
![](https://www.zoyinc.com/wp-content/uploads/2022/11/image.png)
However if I try to select “Wrapped Trains” it isn’t in the list of categories:
![](https://www.zoyinc.com/wp-content/uploads/2022/11/image-1.png)
In fact before I applied the below work around even “Trains” didn’t appear.
FYI: I was running PHP 7.3 although 7.4 was the recommended. Otherwise all up to date. This was done 6/11/2022
Workaround
From “Posts | All Posts” select the post in question
![](https://www.zoyinc.com/wp-content/uploads/2022/11/image-3.png)
Then, under “Bulk actions” select “Edit” and click Apply
![](https://www.zoyinc.com/wp-content/uploads/2022/11/image-4.png)
In the edit screen select the category you want, “Wrapped Trains” and then “Update”
![](https://www.zoyinc.com/wp-content/uploads/2022/11/image-5.png)
Refresh your post and you should find the new category selected:
![](https://www.zoyinc.com/wp-content/uploads/2022/11/image-6.png)
You will now also find that the category is now available for new posts.
Things tried
Before the above workaround was done I had unsuccessfully tried:
- Hard refresh of the browser
- Restarting the host the web server ran on
- Creating a new post – the category was displayed
- Deleting and recreated the category