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 | |
/** | |
* RSS 0.92 Feed Template for displaying RSS 0.92 Posts feed. | |
* | |
* @package WordPress | |
Custom RSS feed generation using sorting based off of a custom post meta value so that only certain posts are selected. | |
*/ |
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 | |
/* | |
* | |
* Custom function to add a field to the top of all RSS feeds. Captures the most recent post from a custom post type, finds the attached | |
* PDF file (news archive) and the calculates the size and outputs the variables into the RSS XML. | |
* | |
* | |
*/ | |
add_action('rss2_head','current_archive'); |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> | |
<xsl:output method="xml" omit-xml-declaration="yes"/> | |
<!-- URL prefix for news item links --> | |
<xsl:variable name="website_prefix">http://communications.uwo.ca</xsl:variable> | |
<xsl:variable name="currentDateTime" select="//system-index-block/@current-time"/> | |
<!-- File extension used --> | |
<xsl:variable name="file_extension">.html</xsl:variable> | |
<!-- RSS extension to use --> |
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
<!doctype html> | |
<!--[if lt IE 9]><html class="ie"><![endif]--> | |
<!--[if gte IE 9]><!--><html><!--<![endif]--> | |
<!-- | |
The comment jumble above is handy for targeting old IE with CSS. | |
http://paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ | |
--> | |
<head> |
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
// ---- | |
// libsass (v3.2.5) | |
// ---- | |
$value1: null; | |
$color1: red; | |
@function fallback($value, $default) { | |
@if $value != null { | |
@return $value; |
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
// ---- | |
// libsass (v3.2.5) | |
// ---- | |
$browser-context: 16; // Default | |
@function em($pixels, $context: $browser-context) { | |
@return #{$pixels/$context}em; | |
} |
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
var playlistID = 'PLmKbqjSZR8TaNjzkuwaFOqjQibUnS2w6u'; | |
var youtubeKEY = '{YOUR-API-KEY-HERE}'; | |
var playlistJSON; | |
// This needs to be revised/updated to remove the error for a depreciation | |
function playListGet(theUrl) | |
{ | |
var xmlHttp = new XMLHttpRequest(); |
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 | |
/** | |
* Created by jamiesonroberts | |
* Date: 2017-04-08 | |
*/ | |
/** | |
* Removes security vulnerabilities, extraneous styles and scripts, | |
* as well as related resource inclusions for Wordpress 4.7.x | |
* |
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
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteBase / | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME}/index.html !-f | |
RewriteCond %{REQUEST_FILENAME}/index.php !-f | |
RewriteRule . index.php [L] | |
</IfModule> | |
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
a, | |
abbr, | |
acronym, | |
address, | |
applet, | |
article, | |
aside, | |
audio, | |
b, | |
big, |
OlderNewer