In the webinar, we offer a number of amazing design tricks that’ll help your affiliate links and URLs really stand out and get seen by potential customers. Also in the webinar, we demonstrate how you can use jQuery to automatically suffix the affiliate links with a referral code. Even if you were to forget a link or have another writer publish content on your behalf, you’ll never miss out on a money making opportunity on your website.
<script> jQuery(document).ready(function($){ // Facebook fb = 'a[href*="facebook.com"]'; $(fb).each(function() { $(fb).addClass("fb"); }); // Elegant Themes et = 'a[href*="elegantthemes.com"]'; $(et).each(function() { $(et).addClass("et"); old_href = $(this).attr("href"); slash = $(this).attr("href").substr(-1); if (slash != '/') { // If the last character is not a slash newslash = '/'; // Append a slash to it. } else { newslash =''; } $(this).attr("href", old_href + newslash + '?new-ref'); }); }); </script> <style> .fb { display: inline-block; position: relative; background:Â #3b5998; color:Â #fff; padding: 1px 10px 1px 24px; border-radius: 4px; } .fb:before { font-family: 'etModules'; content: "\e093"; position: absolute; left: 8px; top: 2px; font-size: 12px; } #main-content .et { display: inline-block; position: relative; background:Â #dedede; color: #303030; padding: 1px 10px 1px 24px; border-radius: 4px; } #main-content .et:before { content: "*"; color:Â #f92c8b; position: absolute; left: 6px; top: 5px; font-size: 30px; } </style>
The Designing for Affiliate Marketing webinar was just a small taste of the incredible knowledge that SJ James has to offer! As one of the trailblazers in the Divi community, SJ James has years of experience with the Divi framework and certainly knows how to work well with it.
If you loved the content of the webinar and loved learning from SJ, then have a look at our online course!
Divi Space has recently launched the Transforming Divi with CSS & jQuery Course, and we’d love for you to join us! Here is a sneak peek of whats included in the course:
- Private Facebook Group
- Introduction to CSS
- Introduction to jQuery
- Five real world examples where custom CSS has been used to make Divi better
- The jQuery Cheat Sheet
- Moving & Replacing with jQuery
- Preparing a child theme for jQuery & CSS
- Bonus:Â Inserting Layouts in Template Pages
- Bonus:Â Editing Modules
For more information about the Transforming Divi with CSS and jQuery course, read this blog post or sign up now!
Recent Comments