Skip to content

Instantly share code, notes, and snippets.

David A. Kennedy davidakennedy

Block or report user

Report or block davidakennedy

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@davidakennedy
davidakennedy / a11y-theme-review.txt
Created Feb 14, 2016
A collection of review template responses for WordPress theme reviews.
View a11y-theme-review.txt
Hi there!
Thanks for creating a WordPress theme and submitting it to the WordPress.org directory! Since your theme also includes the accessibility-ready tag, I've also reviewed it according to those requirements, which you can find here: https://make.wordpress.org/themes/handbook/review/accessibility/
Required
Anything in this section will need to be fixed before the theme can be approved.
Keyboard Navigation
@davidakennedy
davidakennedy / humans.txt
Created Aug 14, 2015
A set of .txt files to start with in projects.
View humans.txt
# humanstxt.org/
# The humans responsible & technology colophon
# TEAM
<name> -- <role> -- <twitter>
# THANKS
<name>
@davidakennedy
davidakennedy / index.html
Created Aug 14, 2015
A starter HTML file.
View index.html
<!DOCTYPE html>
<html lang="en" class="no-js">
<head>
<meta charset="utf-8">
<title></title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="css/style.css" rel="stylesheet">
</head>
<body>
@davidakennedy
davidakennedy / .jshintrc
Last active Aug 29, 2015
A Gulp setup for all your WordPress/Gulp project needs.
View .jshintrc
{
"boss": true,
"curly": true,
"eqeqeq": true,
"eqnull": true,
"es3": true,
"expr": true,
"immed": true,
"noarg": true,
"onevar": true,
@davidakennedy
davidakennedy / .jshintrc
Last active Aug 29, 2015
A Gulp setup for all your Gulp project needs.
View .jshintrc
{
"boss": true,
"curly": true,
"eqeqeq": true,
"eqnull": true,
"es3": true,
"expr": true,
"immed": true,
"noarg": true,
"onevar": true,
@davidakennedy
davidakennedy / forgetful-git-commands.md
Created Sep 22, 2013
Git commands I always forget.
View forgetful-git-commands.md

Forgetful Git commands

Delete a local branch.

git branch -d <branchname>

Delete a remote branch.

git push origin :<branchname>

View custom-post-type-sitemap-example.php
<h2 id="my-post-type">My Post Type</h2>
<ul>
<?php
$terms = get_terms( 'my_taxonomy', 'orderby=name' );
foreach ( $terms as $term ) {
echo '<li><h3>' . $term->name . '</h3>';
echo '<ul>';
$args = array(
'post_type' => 'my_post_type',
'posts_per_page' => -1,
You can’t perform that action at this time.