Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

MultipleHats multiplehats

🎯
Focusing
View GitHub Profile
@multiplehats
multiplehats / class.php
Created Dec 19, 2020 — forked from hlashbrooke/class.php
A complete, versatile options page class for any WordPress plugin
View class.php
<?php
if ( ! defined( 'ABSPATH' ) ) exit;
class WordPress_Plugin_Template_Settings {
private $dir;
private $file;
private $assets_dir;
private $assets_url;
private $settings_base;
@multiplehats
multiplehats / thrivecart-affiliate-link-cart-footer.html
Last active Oct 21, 2020
Allows to insert your own affiliate link on the ThriveCart footer logo
View thrivecart-affiliate-link-cart-footer.html
@multiplehats
multiplehats / everwebinar-deadlinefunnel.html
Last active Sep 22, 2020
Deadline Funnel x EverWebinar
View everwebinar-deadlinefunnel.html
<script>
/**
* Everwebinar x Deadline Funnel
* Checks for the Everwebinar Product Offers Popup (Settings >> Live >> Product Offers) and adds the email from the attendee to the URL.
* If no email is present it will default to the sales link set in the Product Offers setting.
* Ideally the link you set in the Product Offers setting is the DLF link without the ?em= query string in the URL.
* As confirmed by the DLF team, this will create a new tracking for that user. However, if that user clicks on an email later on, those 2 trackings will be merged into one.
*
* Author: Chris Jayden - chrisjayden.com
**/