Skip to content

Instantly share code, notes, and snippets.

@stylewp
stylewp / resources-web-developers-designers.md
Created October 31, 2020 08:35 — forked from kevinwhoffman/resources-web-developers-designers.md
Resources for Web Developers and Designers

Resources for Web Developers and Designers

This is an incomplete list of resources including courses and individuals who publish content that has helped me grow as a web developer and designer. Many of these resources are WordPress-specific as that is my current area of specialization. This list will grow over time. If you've got something to add, send me a link @kevinwhoffman and I'll check it out!

Course Providers

@stylewp
stylewp / wpimgsrcset
Created August 28, 2020 01:39 — forked from jaclyntan/wpimgsrcset
WordPress img srcset
<?php
$id = get_post_thumbnail_id();
$size = 'medium';
$img_src = wp_get_attachment_image_url( $id, $size );
$img_srcset = wp_get_attachment_image_srcset( $id, $size );
$title = get_post($id)->post_title;
$alt = get_post_meta($id, '_wp_attachment_image_alt')[0];
?>
<img src="<?php echo esc_url( $img_src ); ?>"
srcset="<?php echo esc_attr( $img_srcset ); ?>"
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #
@stylewp
stylewp / gulpfile.js
Created May 17, 2020 02:10 — forked from braginteractive/gulpfile.js
Gulp 4 and WordPress Development
// Load all the modules from package.json
var gulp = require( 'gulp' ),
plumber = require( 'gulp-plumber' ),
autoprefixer = require('gulp-autoprefixer'),
watch = require( 'gulp-watch' ),
jshint = require( 'gulp-jshint' ),
stylish = require( 'jshint-stylish' ),
uglify = require( 'gulp-uglify' ),
rename = require( 'gulp-rename' ),
notify = require( 'gulp-notify' ),