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 style_partners_grid() { | |
wp_enqueue_style( 'style_partners_grid', get_stylesheet_directory_uri() . '/css/partners.css' ); | |
} | |
add_action( 'wp_enqueue_scripts', 'style_partners_grid' ); | |
function shortcode_partners_grid($params = array()) { | |
$_id = time(); |
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
import { graphql } from 'overmind-graphql'; | |
import { SubscriptionClient } from 'subscriptions-transport-ws'; | |
// Query & Mutation GQL Tags | |
import * as queries from './queries'; | |
import * as mutations from './mutations'; | |
// Subscription GQL Tags | |
import { UsersUpdatedQuery } from './generated/api'; |
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
const BlobService = require('feathers-blob'); | |
const fs = require('fs-blob-store'); | |
const multer = require('multer'); | |
const multipartMiddleware = multer(); | |
const { getBase64DataURI } = require('dauria'); | |
const blobStorage = fs(__dirname + '/uploads'); | |
module.exports = function (app) { |
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
{ | |
"moderation_response": { | |
"result_code": 0, | |
"result": "Clean", | |
"engine_results": [ | |
[ | |
null | |
], | |
[ | |
null |
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
[ | |
{ | |
"ID":168691, | |
"Agency":"Media Networks Inc.", | |
"Client":14726, | |
"CampaignName":"Aurora Health Care - Plastics\/Cosmetics", | |
"CampaignId":9485, | |
"CallDate":"2014-11-04 17:30:00.000", | |
"TrackingNumber":9205474169, | |
"TargetNumber":9204574461, |
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
var self = this; | |
if(!page){ | |
var page = { | |
id: null, | |
site: null, | |
type: null, | |
name: null, | |
url: null, | |
createdAt: moment().format(), | |
updatedAt: moment().format() |
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
<!-- TRACKING GOALS SELECT --> | |
<table class="table table-hover imp-table"> | |
<thead> | |
<tr> | |
<th width="40%">Goal Name</th> | |
<th width="40%">Goal URL</th> | |
<th width="20%">Goal Weight (%)</th> | |
</tr> | |
<!-- ko ifnot: my.vm.orders.goals.list().length > 0 --> |
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
my.vm.orders.goal = function(title,url,weight){ | |
this.title = ko.observable(title); | |
this.url = ko.observable(url); | |
this.weight = ko.observable(weight); | |
}; | |
my.vm.orders.goals = { | |
type: ko.observable(), | |
list: ko.observableArray([]), | |
add: function(){ | |
my.vm.orders.goals.list.push(new my.vm.orders.goal('New Goal','URL',0)); |
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
var my = my || {}; | |
$("img.gallery-thumb").error(function(a,b) { | |
$(this).hide(); | |
}); | |
head.ready(function(){ | |
my.vm = (function(){ |