Adding alt text to a post thumbnail

While working on a custom navigation using WP_Query and has_post_thumbnail for an icon I ran into an accessibility concern. By default, the_post_thumbnail will not display an alt tag when rendered in the browser. In the following code snippet I add an alt tag using the image file’s title. In short the code above starts with […]

Alphabetize All Categories Except News & Events plugin

After writing my previous post where I alphabetize all categories site wide except the ‘news-events’ slug it seemed appropriate to do the same thing as a very simplified plugin. Everything from that post remains the same except I’ve added a plugin header to provide information to WordPress about the plugin.