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!
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
<?php | |
function expand_access_subscription_downloads( $is_download_permitted, $subscription ) { | |
if ( $subscription->has_status ( 'cancelled', 'expired' ) ) { | |
return true; | |
} | |
return $is_download_permitted; | |
} |
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
<?php | |
/********* DO NOT COPY THE PARTS ABOVE THIS LINE *********/ | |
/* Create a Yoast SEO sitemap for a custom post type | |
* Credit: Team Yoast | |
* Last Tested: Unknown | |
* Documentation: https://developer.yoast.com/features/xml-sitemaps/api/#add-a-custom-post-type | |
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * | |
* HOW TO USE | |
* Replace TYPE with your custom type |
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 doGet() { | |
// you only need to modify the next six lines of this code then publish web app. Replace the XXXX's with your info | |
var email = 'XXXXXXXXXX'; //what you use to login to nest | |
var password = 'XXXXXXX' ////what you use to login to nest | |
var State = 'XX'; // WeatherUnderground State Name. 2 letter State name or Country ID | |
var City = 'XXXXXXXXX'; // Enter your WeatherUnderground City Name. Or your local station ID. Should look like this 'pws:localID' | |
var APIKey = 'XXXXXXXXXXXX' // get your free WeatherUnderground APIKey and enter it here | |
var sheetid = 'XXXXXXXXXXXXXXXXXX'; //on your spreadsheet url its everything between /d/ <sheet id> /edit | |
/* to publish web app just: |
No longer kept up to date.
Please see Sridhar's fork.
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
# to generate your dhparam.pem file, run in the terminal | |
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |
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
<?php | |
/* | |
* Check the URL of the WordPress login | |
* page for a specific query string | |
* | |
* assumes login string is | |
* http://mysite.com/wp-login.php?question=answer | |
*/ | |
function rkv_login_stringcheck() { |
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
<?php | |
/** | |
* Add Column Classes to Display Posts Shortcodes | |
* @author Bill Erickson | |
* @link http://www.billerickson.net/code/add-column-classes-to-display-posts-shortcode | |
* | |
* Usage: [display-posts columns="2"] | |
* | |
* @param array $classes | |
* @param object $post |