This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function get_custom_archive_template($template) { | |
global $wp_query; | |
$object = $wp_query->get_queried_object(); | |
if ( 'gslstaff' == $object->post_type ) { | |
$templates = array(); | |
if ( $object->post_type ) | |
$templates[] = "archive-{$object->post_type}.php"; | |
$templates[] = 'archive.php'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require 'fileutils' | |
# Originally -- Dave Deriso -- [email protected] | |
# Contributor -- G. Richard Bellamy -- [email protected] | |
# If you contribute, put your name here! | |
# To get your team ID: | |
# 1. Go to your GitHub profile, select 'Personal Access Tokens', and create an Access token | |
# 2. curl -H "Authorization: token <very-long-access-token>" https://api.github.com/orgs/<org-name>/teams | |
# 3. Find the team name, and grabulate the Team ID |