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
<html> | |
<head> | |
<link href='https://fonts.googleapis.com/css?family=Lato' rel='stylesheet' type='text/css'> | |
<style> | |
body{font-family: Lato;} | |
caption{font-size: 22pt; margin: 10px 0 20px 0; font-weight: 700;} | |
table.calendar{width:100%; border:1px solid #000;} | |
td.day{width: 14%; height: 140px; border: 1px solid #000; vertical-align: top;} | |
td.day span.day-date{font-size: 14pt; font-weight: 700;} | |
th.header{background-color: #003972; color: #fff; font-size: 14pt; padding: 5px;} |
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> | |
<html> | |
<head> | |
<title> Color fade example</title> | |
<link href='https://fonts.googleapis.com/css?family=Raleway:400,800|Rock+Salt' rel='stylesheet' type='text/css'> | |
<style> | |
body{ | |
padding: 0; | |
margin: 0; |
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> | |
<html class="no-js" lang=""> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="x-ua-compatible" content="ie=edge"> | |
<title></title> | |
<meta name="description" content=""> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script> | |
<script> |
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
//Remove Autolinking Comment Hyperlink | |
remove_filter('comment_text', 'make_clickable', 9); | |
//Require Minimum Comment Length | |
add_filter( 'preprocess_comment', 'minimal_comment_length' ); | |
function minimal_comment_length( $commentdata ) { | |
$minimalCommentLength = 20; | |
if ( strlen( trim( $commentdata['comment_content'] ) ) < $minimalCommentLength ){ |
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
/* Icon CSS Template - Used by gulp-iconfont plugin to create CSS file to use with fonts */ | |
@font-face { | |
font-family: "<%= fontName %>"; | |
src: url('<%= fontPath %><%= fontName %>.eot'); | |
src: url('<%= fontPath %><%= fontName %>.eot?#iefix') format('eot'), | |
url('<%= fontPath %><%= fontName %>.woff') format('woff'), | |
url('<%= fontPath %><%= fontName %>.ttf') format('truetype'), | |
url('<%= fontPath %><%= fontName %>.svg#<%= fontName %>') format('svg'); | |
font-weight: normal; |
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 Parent Theme Styles */ | |
function demo_scripts() { | |
wp_enqueue_style( 'demo-framework-style', get_template_directory_uri() .'/style.css' ); | |
/* ----- Add Foundation Support From Parent Theme ----- */ | |
/* Add Foundation CSS */ | |
wp_enqueue_style( 'foundation-normalize', get_template_directory_uri() . '/foundation/css/normalize.css' ); |
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
/** | |
* Enqueue scripts and styles. | |
*/ | |
function demo_wordcamp_scripts() { | |
wp_enqueue_style( 'demo-wordcamp-style', get_stylesheet_uri() ); | |
/* Add Foundation CSS */ | |
wp_enqueue_style( 'foundation-normalize', get_stylesheet_directory_uri() . '/foundation/css/normalize.css' ); | |
wp_enqueue_style( 'foundation', get_stylesheet_directory_uri() . '/foundation/css/foundation.css' ); |
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
module.exports = function(grunt) { | |
SOURCE_DIR = '', | |
BUILD_DIR = '../../wwwroot-wp_demo_theming/wp-content/themes/demo-theme', | |
// Configuration Info | |
grunt.initConfig({ | |
sass: { |
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 | |
/* | |
Plugin Name: Announcement Demo Plugin | |
Description: Site specific code changes for example.com | |
*/ | |
/* Start Adding Functions Below this Line */ | |
// Register Custom Post Type | |
function custom_post_type() { |