This file contains 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
googletag.cmd.push(function() { | |
slot_leaderboard_top = googletag.defineSlot('/8596368/Leaderboard', responsive_home_superleader, 'div-gpt-ad-1491250418056-' + article_id).addService(googletag.pubads()); | |
googletag.display('div-gpt-ad-1491250418056-' + article_id); | |
slot_rectangle = googletag.defineSlot('/8596368/Rectangle', responsive_rectangle, 'div-gpt-ad-1456437448335-' + article_id).addService(googletag.pubads()); | |
googletag.display('div-gpt-ad-1456437448335-' + article_id); | |
slot_rectangle_bottom = googletag.defineSlot('/8596368/Rectangle_bottom', [300, 250], 'div-gpt-ad-1367951355269-' + article_id).addService(googletag.pubads()); | |
googletag.display('div-gpt-ad-1367951355269-' + article_id); | |
}); |
This file contains 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
<div class="post"> | |
<a class="overlay" href="http://dev.liquor.com/articles/culinary-concierge-hugh-daschbach/"></a> | |
<div class="post-thumb"> | |
<img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/926427/story_thumbnail_3.jpg" class="img-responsive"> | |
</div> | |
<div class="post-meta"> | |
<span class="label label-sponsored">Sponsored Content</span> | |
<h3>The Perfect Shower Beer Has Arrived</h3> | |
</div> | |
</div> |
This file contains 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
<script> | |
var pulpixId=1215;!function(e,t){var i=t.createElement("script"), | |
r=t.getElementsByTagName("script")[0];i.src="https://cdn.pulpix.com/static/pulpix.js", | |
i.id="pulpix",i.setAttribute("data-user-id",pulpixId), | |
r.parentNode.insertBefore(i,r)}(window,document); | |
</script> |
This file contains 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(t,e,n){function a(t){var a=e.createElement("script");a.type="text/javascript",a.async=!1,a.src=("https:"===e.location.protocol?"https":"http")+":"+n,(t||e.body||e.head).appendChild(a)}function o(){var t=e.getElementsByTagName("script"),n=t[t.length-1];return n.parentNode} var p=o();t.spotId="sp_HzZnwWye",t.parentElement=p,a(p)}(window.SPOTIM={},document,"//www.spot.im/launcher/bundle.js"); | |
if ( window.SPOTIM && window.SPOTIM.startSSO ) { | |
startSSO(); | |
} else { | |
document.addEventListener('spot-im-api-ready', startSSO, false); | |
} | |
var startSSO = function() { | |
var callback = function (codeA, completeSSOCallback) { |
This file contains 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: Front End Registration and Login | |
Plugin URI: https://pippinsplugins.com/creating-custom-front-end-registration-and-login-forms | |
Description: Provides simple front end registration and login forms | |
Version: 1.0 | |
Author: Pippin Williamson | |
Author URI: https://pippinsplugins.com | |
*/ |
This file contains 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 | |
/** | |
* Template Name: Custom Template | |
*/ | |
function posts_lists($atts) { | |
// Attributes | |
$atts = shortcode_atts( |
This file contains 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 | |
/*--- More Logic Up Here ---*/ | |
if ($keywork) { | |
$keywork_arr = explode(" recipes ", $keywork); | |
$query = ninja_fb_bot_chat_format_query($keywork_arr[1]); | |
} | |
if (strlen($query) >= 3) { |
This file contains 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 | |
$parse_uri = explode( 'wp-content', $_SERVER['SCRIPT_FILENAME'] ); | |
require_once( $parse_uri[0] . 'wp-load.php' ); | |
require_once(dirname(__FILE__) . '/lid/autoload.php'); | |
use pimax\FbBotApp; | |
use pimax\Messages\Message; | |
use pimax\Messages\MessageButton; | |
use pimax\Messages\StructuredMessage; | |
use pimax\Messages\MessageElement; | |
use pimax\Messages\MessageReceiptElement; |
This file contains 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 | |
class MyTheme | |
{ | |
public function __construct() | |
{ | |
add_action( 'wp_footer', array( $this, 'aux_function' ) ); | |
add_action( 'wp_enqueue_scripts', array( $this, 'init_plugin' ) ); | |
add_action( 'wp_ajax_process_reservation', array( $this, 'process_reservation' ) ); | |
add_action( 'wp_ajax_nopriv_process_reservation', array( $this, 'process_reservation' ) ); | |
} |