View keybase.md

Keybase proof

I hereby claim:

  • I am johnregan3 on github.
  • I am johnregan3 (https://keybase.io/johnregan3) on keybase.
  • I have a public key whose fingerprint is BF11 701D 8DF1 68F1 8796 28ED A894 0B45 6721 8112

To claim this, I am signing this object:

View local.overrides.php
<?php
define('DOMAIN_CURRENT_SITE', 'local-www.kiss925.com');
// ** Site URL settings ** //
define('WP_SITEURL', 'local-www.kiss925.com');
define('WP_HOME', 'local-www.kiss925.com');
View gist:29ffb3fd78c462fa47b8d1b5a7576c06
server {
listen 80;
listen 443 ssl;
server_name local-www.network.rogersradio.ca local-www.kiss925.com local-www.sonic1029.com local-www.jackfm.com;
root /srv/www/musicradio/build/webroot;
include /etc/nginx/nginx-wp-common.conf;
}
View wp-amp-tutorial-style.php
<?php
/**
* Slightly modified version of the default WP AMP stylesheet, style.php.
*
* This is pared down for clarity.
*
* @link https://github.com/Automattic/amp-wp/blob/master/templates/style.php
*/
?>
/* Merriweather fonts */
View wp-amp-tutorial-featured-images.php
View wp-amp-tutorial-strip-shortcodes.php
<?php
/**
* Strip out all shortcode content.
*
* This is a quick and dirty way
* to ensure no shortcodes introduce
* invalid markup into an amp template.
*
* @param string $content WP Post content.
*
View wp-amp-tutorial-component-scripts.php
<?php
/**
* Register the amp-sidebar and amp-accordion component scripts with WP AMP.
*
* This goes in your amp.php
*/
function jr3_amp_component_scripts( $data ) {
$data['amp_component_scripts']['amp-sidebar'] = 'https://cdn.ampproject.org/v0/amp-sidebar-0.1.js';
$data['amp_component_scripts']['amp-accordion'] = 'https://cdn.ampproject.org/v0/amp-accordion-0.1.js';
View wp-amp-tutorial-primary-nav.php
<?php
/**
* Register the amp-sidebar component script with WP AMP.
*
* This goes in your amp.php
*/
function jr3_amp_sidebar_component_script( $data ) {
$data['amp_component_scripts']['amp-sidebar'] = 'https://cdn.ampproject.org/v0/amp-sidebar-0.1.js';
return $data;
}
View amp-check-for-plugin.php
<?php
/**
* Show an Admin Notice if the AMP plugin is not found.
*
* This is a basic implementation. Naturally, you'll want
* to add ajax support so that once this is dismissed, it goes
* away permanently. Also, you may want to limit the admin
* pages this displays to prevent annoying your users.
*
* @return bool
View wp-amp-tutorial-register-templates-style-cpts.php
<?php
/**
* Add custom AMP template files.
*
* Registers templates in a /templates subdirectory.
*
* @filter amp_post_template_file
*
* @param string $file The file name input.
* @param string $type The type of template.