Skip to content

Instantly share code, notes, and snippets.

View daveharrisonnet's full-sized avatar

Dave Harrison daveharrisonnet

View GitHub Profile
@daveharrisonnet
daveharrisonnet / forms.js
Created January 31, 2020 10:06
Javascript used for a contact form.
mr = (function (mr, $, window, document){
"use strict";
mr.forms = mr.forms || {};
mr.forms.captcha = {};
mr.forms.captcha.widgets = [];
mr.forms.captcha.done = false;
mr.forms.documentReady = function($){
<?php
function do_things_late() {
global $listify_job_manager;
$template = $listify_job_manager->template;
$childargs = '';
global $listify_navigation;
@daveharrisonnet
daveharrisonnet / listifychildtheme_functions.php
Created February 5, 2016 14:05
The functions file of listify child theme that caused errors following update to listify 1.3.2
<?php
/**
* Listify child theme.
*/
function listify_child_styles() {
wp_enqueue_style( 'listify-child', get_stylesheet_uri() );
}
add_action( 'wp_enqueue_scripts', 'listify_child_styles', 999 );
// megamenu remove default menu and replace with hacked version split up by top level category
function do_things_late() {
global $listify_job_manager;
$template = $listify_job_manager->template;
$childargs = '';
global $listify_navigation;