ghl-experts-logo-light
  • CSS AND STYLING

    SCRIPTS AND HACKS

  • Custom Values for Images

    This script gives you a way to use custom values at the account level and use them in images.

    <script>
    	/**************************
    	* Copyright 2020 GHL Experts, All Rights Reserved
    	* Do not share, or distribute this code without author's consent.
    	* This copyright notice must remain in place whenever using
    	* this code - DO NOT REMOVE
    	* Author: Anas Uddin
    	* Website: https://ghlexperts.com
    	**************************/
    	var imageURLid = '#paragraph-id'; // add selector for paragraph containing custom value.
    	var images = ['#image-id']; // add in all the selectors ids for the images
    
    	var imageURL = document.querySelectorAll(imageURLid + " div p")[0].innerHTML;
    	images.forEach(image => {
    		document.querySelector(image + " img").src = imageURL;
    	});
    </script>

    Welcome to GHL Expert Tools

    We are still in the process of finalizing all of our trainings and setup instructions. If you need help in the meantime, please join our Facebook Group.

    Join our Facebook Group

    Join our Facebook Group to get support, platform insights, ask questions and receive updates.

    Latest Update

    Visit our changelog page to see our most recent update.

    FOMO

    Capture leads before they leave the page by creating
    entincing offers that create a fear of missing out.

    Affiliate area

    Lorem ipsum dolor sit amet, consectetur adipiscing elit,
    sed do eiusmod tempor incididunt.