When a WordPress widget has no title, the title doesn’t appear. Simple enough. However, the same doesn’t apply for the in-built Calendar widget. It will still display the title’s before and after tags regardless of the fact is doesn’t have a title.
The following little code snippet will fix that. Just add it your functions.php file:
By the way, you don’t have to have ‘bryce’ in the bit of code. Just replace it with your theme’s text domain or something else.
For months, whenever one of the writers at a big WordPress site I help run (Android Australia) tried to set a featured image or insert an image into a post, they were greeted with the following:
Basically, the media library tab would acknowledge that there were X amount of images but you couldn’t actually use any of the pre-existing media. Everything would need to be uploaded again. This became very tiring and frustrating as we wanted to reuse a lot of the images already existing on the site but instead had to manually re-upload each one.
I searched long and hard and couldn’t find a solution. I asked about it, googled it and cried about it. But then one day, almost magically, I found the solution.