Image Quality Control With Uploaded Images in WordPress

WordPress Image Quality

Controlling the quality of your uploaded image files in WordPress might be something to consider. By default, WordPress doesn’t upload images with 100% image quality. If you want higher quality images or lower image quality, then consider adding this snippet of code to a plugin file or your currently active WordPress theme’s functions.php file.

This is going to be a short post. Mainly just a quick snippet of code. If you’re a developer or feel savvy enough to dive into hooks, this is a quick and useful snippet of code.

Continue reading “Image Quality Control With Uploaded Images in WordPress”

WordPress the_title Filter Hook Generically and Semi-uniquely

WordPress the_title Filter Hook

I ran into a situation where I needed to apply a callback function to the_title filter hook in WordPress. I thought this would be a simple task. After creating my callback function and assigning it to the the_title filter hook, I thought it did exactly what I needed it to do. Except, then I noticed it was also applying the same filter to navigation items as well. Thus, breaking the layout.

Continue reading “WordPress the_title Filter Hook Generically and Semi-uniquely”