Skip to content

Instantly share code, notes, and snippets.

View cliffordp's full-sized avatar

Clifford cliffordp

View GitHub Profile
@cliffordp
cliffordp / missed-call-text-back-calculator.html
Last active December 2, 2024 15:07
Missed Call Text Back Calculator by Jonny Avila
Jonny Avila, video preview: https://www.facebook.com/groups/gohighlevel/posts/2316269752165880/
Instructions: https://docs.google.com/document/d/1HJZtesCocsTJHlqfzspThOsqTy3v294VBceD98Vj6Ls/preview
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Your Agency ROI Calculator</title>
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap" rel="stylesheet">
@cliffordp
cliffordp / ghl-login-screen-full-customization.css
Last active November 22, 2024 15:30
GHL Login Screen custom CSS for AbleProApp
/**
* 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;
@cliffordp
cliffordp / 1-Notes.txt
Last active November 1, 2024 16:20
GHL Menu Sticky Scrolling Menu (watch the video in Notes.txt)
Source: https://www.facebook.com/groups/gohighlevel/posts/2356583604801161/
Here is the code that enables a sticky menu that eases in and out upon scroll. Just copy/paste in your Website > Settings Head and Body tracking code fields, then follow my quick video here to set your sticky menu up in HighLevel:
https://www.loom.com/share/fd0d5c87f377401d8e589c5d6a4107ce?sid=7745df88-84b4-4aef-9b05-ee86947b73e5
If you need any help, shoot me an email: tracyw@t-worx.com.
T-WORX, Inc.
Tracy Wittenkeller
@cliffordp
cliffordp / script.js
Created October 11, 2024 17:45
Create a Google Sheets `=GPT("...")` function with your OpenAI API Key
// Source: https://jonathanboshoff.com/free-gpt-4-sheets-alternative/
function GPT(Input) {
const GPT_API = "AAAAAAAAAAAAA"; // Replace with your actual API key
const BASE_URL = "https://api.openai.com/v1/chat/completions";
const headers = {
"Content-Type": "application/json",
"Authorization": `Bearer ${GPT_API}`
};
@cliffordp
cliffordp / 1-head-tracking-code.html
Last active June 28, 2024 14:05
Get image file IDs from GoHighLevel Media Storage list view and display them in a sexy, smooth, cross-browser FsLightbox
<style id="fslightbox-customizations">
a.open-gallery > img {
width: 80%;
max-width: 745px;
border: 3px dashed white;
}
.fslightbox-container {
background: black;
}
</style>
@cliffordp
cliffordp / auto-open-ghl-chat-widget.js
Last active December 9, 2024 16:05
Automatically open (and keep open) the GoHighLevel chat widget
<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();
@cliffordp
cliffordp / list-direct-message-spam-phrases.txt
Last active November 3, 2024 09:44
List of social media spam DM phrases for GHL workflow snapshot. See https://www.youtube.com/watch?v=heQhBzTfPec
=====
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
@cliffordp
cliffordp / functions.php
Last active March 14, 2024 17:27
Shortcode: [copythis] write to clipboard
<?php
// [copythis]This will be copied[/copythis]
// @link https://gist.github.com/cliffordp/fe86cc09d5c6250453fc4c8ccf763e5b This snippet.
add_shortcode( 'copythis', function( $atts, $content = null ) {
return sprintf(
'<div class="copythis">%s</div>
<button onclick="navigator.clipboard.writeText(this.previousElementSibling.textContent)">Copy This</button>',
$content);
});