This file contains hidden or 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
//@codekit-prepend "jquery.js" | |
//@codekit-prepend "affix.js" | |
//@codekit-prepend "alert.js" | |
//@codekit-prepend "button.js" | |
//@codekit-prepend "carousel.js" | |
//@codekit-prepend "collapse.js" | |
//@codekit-prepend "dropdown.js" | |
//@codekit-prepend "tab.js" | |
//@codekit-prepend "transition.js" | |
//@codekit-prepend "scrollspy.js" |
This file contains hidden or 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"> | |
<title>Redirect Generator</title> | |
<script type="text/javascript" src="http://code.angularjs.org/1.2.25/angular.min.js"></script> | |
</head> | |
<body ng-app="redirectGenerator"> | |
<div ng-init="redirects = [ | |
{original:'/boise/semi-truck-accidents/', new:'http://www.craigswapp.com/boise/truck-accident-lawyer/'}, |
This file contains hidden or 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 enqueue_scripts() { | |
wp_enqueue_script('bootsrap_script',get_template_directory_uri() . '/js/bootstrap.js',array(jquery),'1.0',true); | |
wp_enqueue_script('custom_script',get_template_directory_uri() . '/js/scripts.js',array(jquery),'1.0',true); | |
} | |
add_action('wp_enqueue_scripts','enqueue_scripts'); | |
This file contains hidden or 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 | |
/** | |
* WordPress Query Comprehensive Reference | |
* Compiled by luetkemj - luetkemj.com | |
* | |
* CODEX: http://codex.wordpress.org/Class_Reference/WP_Query | |
* Source: http://core.trac.wordpress.org/browser/tags/3.3.1/wp-includes/query.php | |
*/ | |
$args = array( |
This file contains hidden or 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 replacePhoneNum($content) { | |
$content = str_replace('OLDNUM', 'NEWNUM', $content); | |
$content = str_replace('OLDNUM2', 'NEWNUM2', $content); | |
return $content; | |
} | |
add_filter( 'the_content', 'replacePhoneNum' ); |
This file contains hidden or 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
class AttorneySchema { | |
public $businessName = ''; | |
public $phone = ''; | |
public $street = ''; | |
public $city = ''; | |
public $state = ''; | |
public $logo = ''; | |
public $url = ''; | |
public $map = ''; |
This file contains hidden or 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 | |
/* | |
Easy to use Tabs maker for Bootsrap 3 | |
*/ | |
$tabone = $_POST['tabone']; | |
$tabtwo = $_POST['tabtwo']; | |
$tabthree = $_POST['tabthree']; | |
$tabfour = $_POST['tabfour']; | |
$tabcontentone = $_POST['tabcontentone']; |
This file contains hidden or 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
Javascript code: | |
MapsLib.prototype.displayList = function(json) { | |
var self = this; | |
var data = json['rows']; | |
var template = ''; | |
var results = $('#results_list'); | |
results.hide().empty(); //hide the existing list and empty it out first |
This file contains hidden or 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
# This is a template .gitignore file for git-managed WordPress projects. | |
# | |
# Fact: you don't want WordPress core files, or your server-specific | |
# configuration files etc., in your project's repository. You just don't. | |
# | |
# Solution: stick this file up your repository root (which it assumes is | |
# also the WordPress root directory) and add exceptions for any plugins, | |
# themes, and other directories that should be under version control. | |
# | |
# See the comments below for more info on how to add exceptions for your |
OlderNewer