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 | |
get_header() ; | |
get_footer() ; | |
?> |
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
--- WEB-MODE DEBUG BEG --- | |
versions: emacs(24.3) web-mode("8.0.13") | |
vars: engine("php") content-type("html") file("/home/mantis/wa/test.php") | |
system: window(x) config("x86_64-pc-linux-gnu") | |
colors: fg(nil) bg(nil) | |
modes: whitespace-mode(nil) global-whitespace-mode(nil) rainbow-mode(nil) idle-highlight-mode(nil) fic-mode(nil) | |
(transient-mark-mode line-number-mode auto-compression-mode auto-encryption-mode auto-composition-mode blink-cursor-mode font-lock-mode global-font-lock-mode file-name-shadow-mode menu-bar-mode mouse-wheel-mode tooltip-mode savehist-mode recentf-mode sml-modeline-mode auto-complete-mode global-auto-complete-mode yas-minor-mode flymake-mode) | |
--- WEB-MODE DEBUG END -- |
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
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
;; | |
;; Some basic stuff first | |
;; | |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
(add-to-list 'load-path "~/.emacs.d/lisp") | |
(savehist-mode 1) |
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 | |
if ( ! defined( 'ABSPATH' ) ) exit; | |
/** | |
* Footer Template | |
* | |
* Here we setup all logic and XHTML that is required for the footer section of all screens. | |
* | |
* @package WooFramework | |
* @subpackage Template | |
*/ |
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 get_ID_by_page_name($page_name) { | |
global $wpdb; | |
$page_name_id = $wpdb->get_var("SELECT ID FROM $wpdb->posts WHERE post_name = '".$page_name."' AND post_type = 'page'"); | |
return $page_name_id; | |
} | |
function custom_excerpt_length( $length ) { |
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 | |
/** | |
* Plugin Name: UBCF Slideshow | |
* Description: slideshow for the testimonials page | |
* Version: 0.9 | |
* Author: Sunil Williams | |
* Author URI: http://sunil.co.nz | |
*/ | |
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
jQuery(document).ready(function() { | |
var mobileNavMenu = $("#mobile-nav-menu"); | |
var mobileNavButton = $(".mobile-nav-button") ; | |
var uberMenu = $("#ubermenu") ; | |
(function(){ | |
window.larkinApp = { |
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
jQuery(document).ready(function() { | |
var mobileNavMenu = $("#mobile-nav-menu"); | |
var mobileNavButton = $(".mobile-nav-button") ; | |
var uberMenu = $("#ubermenu") ; | |
(function(){ | |
window.larkinApp = { | |
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
module.exports = function (grunt){ | |
grunt.initConfig({ | |
compass : { | |
dist : { | |
options : { | |
cssDir : 'css', | |
sassDir : 'sass', | |
debugInfo : true | |
} |
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
$(document).ready(function () { | |
// variables | |
var questionContainer = $("#questionContainer") ; | |
var result = $("#result"); | |
var firstChoice = $("#1stChoice"); | |
// Questions Array |