Where to put code that customizes API

Typically changes like this you would either create a plugin or create a child theme and put your code in your child theme’s functions.php file. You make changes to a child theme because if your theme updates you will lose any changes you have made directly to it. Code in a plugin is always run … Read more

How do I avoid color distortion of uploaded images?

You must use standard color profiles, and convert your color profile to sRGB (in Photoshop -> Save for the web -> convert to sRGB checkbox). You should also set quality compression to 100 add_filter(‘jpeg_quality’, function($arg){return 100;});

Text Wrapping in Editor not Matching Website View

This is a common occurence. Many themes provide front-end styles that they don’t enqueue in the Editor, so what shows on the front end of the website doesn’t exactly match what’s in the Editor. The Block Editor has brought the Editor much closer to the front end view, but they’ll likely never be quite exactly … Read more