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
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
<?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
<?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
<!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
//@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" |
NewerOlder