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> | |
| // This script: https://gist.github.com/cliffordp/335bee91f59a49a378cdfd44bd8f510f | |
| // Based on https://www.facebook.com/groups/gohighlevel/posts/2734386397020878 from Jordan Coeyman | |
| // Install this (without this comment block) via "Custom JS": https://app.gohighlevel.com/settings/company?tab=whitelabel | |
| (function() { | |
| 'use strict'; | |
| const POLL_INTERVAL = 2000; |
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 | |
| /** | |
| * The Events Calendar: Change Event Archives' iCalendar export links to webcal:// | |
| * | |
| * This causes the "iCal Export" button to recommend to calendar applications | |
| * (e.g. Apple, Outlook, etc.) that they should *subscribe* instead of *download*. | |
| * | |
| * We have to use JavaScript instead of PHP because the "Export Events" | |
| * iCalendar link gets built via JS via | |
| * /wp-content/plugins/the-events-calendar/src/resources/js/tribe-events.min.js |
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
| I did not know at the time of writing this code and recording this video (https://www.youtube.com/watch?v=MHKzHf1BhrY) that THIS IS POSSIBLE NATIVELY FROM GHL, NO CUSTOM CODE NEEDED, NO CUSTOM VALUE NEEDED! | |
| Please use GHL Native functionality as documented here: https://help.gohighlevel.com/support/solutions/articles/48001172004 |
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
| /** | |
| * 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
| ====== | |
| 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: |
NewerOlder