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
ServerName shawsoysterfest.com | |
ServerAlias www.shawsoysterfest.com | |
Redirect 301 / http://www.oysterfestchicago.com/ |
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 image = document.getElementById("hover-example"); | |
image.onmouseover = function() { image.src = "http://placehold.it/350x150/262626/ffffff"; } | |
image.onmouseout = function() { image.src = "http://placehold.it/350x150"; } |
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 scroll_start = 0; | |
var startchange = $('#scroll-color'); | |
var offset = startchange.offset(); | |
$(document).scroll(function () { | |
scroll_start = $(this).scrollTop(); | |
if (scroll_start > offset.top) { | |
$('.navigation').css('background', '#e63c2d'); | |
} else { | |
$('.navigation').css('background', 'transparent'); | |
} |
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 sections = $('section'), | |
links = $('nav ul li a'), | |
lis = $('nav ul > li'); | |
$(window).scroll(function() { | |
var currentPosition = $(this).scrollTop(); | |
links.removeClass('active'); | |
lis.removeClass('active'); | |
sections.each(function() { |
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 | |
/** | |
* The base configuration for WordPress | |
* | |
* The wp-config.php creation script uses this file during the | |
* installation. You don't have to use the web site, you can | |
* copy this file to "wp-config.php" and fill in the values. | |
* | |
* This file contains the following configurations: | |
* |
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 lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --> | |
<meta name="description" content=""> | |
<meta name="author" content=""> |
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
// Load Grunt | |
module.exports = function (grunt) { | |
grunt.initConfig({ | |
pkg: grunt.file.readJSON('package.json'), | |
// Tasks | |
sass: { // Begin Sass Plugin | |
dist: { | |
options: { | |
sourcemap: 'none' |
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 | |
foreach((get_the_category()) as $category) { | |
if ($category->cat_name != 'Uncategorized') { | |
echo '<a class="category-block" href="' . get_category_link( $category->term_id ) . '" title="' . sprintf( __( "View all posts in %s" ), $category->name ) . '" ' . '>' . $category->name.'</a> '; }} | |
?> |
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
Functions.php: | |
function get_custom(){ | |
return 'http://www.custom.com'; | |
} | |
<?php echo get_custom();?> |