Skip to content

Instantly share code, notes, and snippets.

View zachabernathy's full-sized avatar
💥
getting crap done!

Zach Abernathy zachabernathy

💥
getting crap done!
View GitHub Profile
@zachabernathy
zachabernathy / LeagueApps API PHP SDK
Last active August 16, 2023 13:11
LeagueApps API PHP SDK
# Access League Apps secure admin API using PHP
League Apps API Docs: http://leagueapps.com/api/
## Installation
```shell
composer intall
```
@zachabernathy
zachabernathy / walker.comments.php
Last active March 31, 2020 21:35
A better custom comment walker for WordPress and 2 threaded replies. Includes support for BEM, HTML5, Microdata, Font Awesome. Can be seen on https://www.lifefromheretothere.com
<?php
class Better_Comments_Walker extends Walker_Comment {
function __construct() {
echo '<section class="comments__list">';
}
public function start_lvl( &$output, $depth = 0, $args = array() ) {
$GLOBALS['comment_depth'] = $depth + 1;
$output .= '<section class="comments__list__children">' . "\n";
@zachabernathy
zachabernathy / walker.comments.php
Created March 31, 2020 21:33
A better custom comment walker for WordPress and 2 threaded replies. Includes support for BEM, HTML5, Microdata, Font Awesome
<?php
class Better_Comments_Walker extends Walker_Comment {
function __construct() {
echo '<section class="comments__list">';
}
public function start_lvl( &$output, $depth = 0, $args = array() ) {
$GLOBALS['comment_depth'] = $depth + 1;
$output .= '<section class="comments__list__children">' . "\n";