Tag: web development

  • How to break CSS cache in WordPress

    By default, the wp_enqueue_style() function will put whatever version of WordPress that you currently have installed behind your CSS call like this: <link rel=’stylesheet’ href=’https://jeradsdesign.com/wp-main/wp-content/themes/jeradsdesign-wp/css/main.css?ver=5.8.2′ type=’text/css’ media=’all’ /> Grab the theme version from your style.css file: $theme = wp_get_theme();define(‘THEME_VERSION’, $theme->Version); Pass it as the 3rd parameter in your wp_enqueue_style() function in your functions.php: wp_enqueue_style(‘main’, get_template_directory_uri() […]

    READ MORE


    Tags: , ,

  • Why is googling an important skill for developers?

    Someone on Twitter recently asked this, or more accurately… they asked, “what makes googling code different from googling anything else?” I responded: I’d say it comes down to specificity. “best apple pie recipe” has a high chance that great recipes display in the 1st results page & relate directly to what I’m looking for. However […]

    READ MORE


    Tags: , ,

  • The Usability of a Driveway

    Website usability is not always obvious. First, I should probably define usability so that all of us are on the same page. According to wikipedia, “Usability is the ease of use and learnability of a human-made object.” How Usable is a Driveway? The driveway at our house has a big problem. It’s only wide enough […]

    READ MORE


    Tags: , , , , ,

  • Good Advice: Pick One!

    Someone recently asked me, “My son wants to learn programming or web development, where should he start? What’s the best language to start with?” Choosing just one thing can feel like one of the hardest decisions when you are starting out and even after you’ve been working in the field for a while and want […]

    READ MORE


    Tags: , , ,

error

Enjoy this blog? Please spread the word :)