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
/** | |
* This code: https://gist.github.com/cliffordp/96aeba5b0348ec00f5eb4c4f48296272 | |
* Modified from this source: https://www.facebook.com/groups/gohighlevel/permalink/2333866730406182/ | |
*/ | |
/* GHL Login Screen */ | |
:root { | |
--main-body-bg: #fff; | |
--main-body-image: url(https://storage.googleapis.com/msgsndr/BNxDfo4mNns3odfcbYu9/media/66f4c4058fdba12698dd782f.png); | |
--main-login-bg: #fff; |
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
// Adapted from https://raddle.me/f/Privacy/3722/how-to-circumvent-cloudflare-s-email-protected-thing-without with the help of chatGPT | |
function fixObfuscatedEmails() { | |
const elements = document.getElementsByClassName('__cf_email__'); | |
for (let i = 0; i < elements.length; i++) { | |
const element = elements[i]; | |
const obfuscatedEmail = element.getAttribute('data-cfemail'); | |
if (obfuscatedEmail) { | |
const decodedEmail = decrypt(obfuscatedEmail); | |
element.setAttribute('href', 'mailto:' + decodedEmail); | |
element.innerHTML = decodedEmail; |
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
====== | |
Snapshot created with these on 2024-04-16 | |
====== | |
1k = | |
1k follower | |
1k= | |
about page restriction | |
account will be deactivated | |
are you interested to grow your | |
automatically disabled your ads |
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 | |
/* | |
* Squirrly SEO: Custom Meta Robots for custom post type (CPT) archives. | |
* | |
* Set `<meta name="robots" content="noindex,nofollow">` for WPAutoTerms archives (e.g. /terms page). | |
* | |
* Must be a priority AFTER 11 and BEFORE 99 due to the plugin's own use | |
* of this same filter hook in squirrly-seo/models/services/Noindex.php | |
* | |
* @link https://gist.github.com/cliffordp/f4ac939df52f1ba7f3120801eea43a32 This snippet. |
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 | |
/** | |
* Add your own plugin as a template override location for The Events Calendar, Event Tickets, and related plugins. Only | |
* for TEC's V2 Views and ET's addons/overrides of TEC's V2 Views. Still need the old snippet for overriding ET's files. | |
* | |
* Each custom array's `path` is whatever you want it to be (i.e. customizable) up until the 'v2' part of each | |
* template's override path. We chose to keep it as `tribe/events` and `tribe/tickets` for simplicity. | |
* So if the TEC location for a view is: | |
* /wp-content/plugins/the-events-calendar/src/views/v2/list/event/featured-image.php | |
* Then this plugin's override location would be: |
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
<style id="fslightbox-customizations"> | |
a.open-gallery > img { | |
width: 80%; | |
max-width: 745px; | |
border: 3px dashed white; | |
} | |
.fslightbox-container { | |
background: black; | |
} | |
</style> |
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 | |
/** | |
* WooCommerce: redirect initial visit to Cart to Checkout instead to discourage | |
* users being able to edit the cart's contents after adding Tickets. | |
* | |
* Useful if only using WooCommerce for Event Tickets Plus, | |
* not selling other Products. | |
* | |
* Updated 2018-01-17 to work with WooCommerce 2.5+ (released 2016-01-18). |
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
<script> | |
// For a HighLevel webpage (funnel or website) that is meant to be a dedicated chatting area. | |
// Copy all of this and paste into your custom code, such as in the Footer Tracking area. | |
// This snippet: https://gist.github.com/cliffordp/1428be81a842d5b93c793d2d5b967007 | |
// Source demo: https://10xmarketing.ai/10x-chatbot-widget | |
function openChatWidget() { | |
// Check if Chat Widget exists. | |
if (window.leadConnector && window.leadConnector.chatWidget) { | |
// If it exists, open it. | |
window.leadConnector.chatWidget.openWidget(); |
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 | |
// | |
// Do NOT USE OPENING <?php TAG IN ALFRED APP | |
// | |
/** | |
* Open 1 or more (comma or new line separated) IP Addresses from selection. | |
* | |
* @link https://github.com/cliffordp/alfred-app-workflows Download this Alfred App Workflow's code (and more). | |
* @link https://gist.github.com/cliffordp/ This Alfred App Workflow's code snippet. |
NewerOlder