- Text Content Generator - http://www.lipsum.com
- Favicon Generator - http://tools.dynamicdrive.com/favicon
- Data Generator - https://mockaroo.com/
- Mobile Mockup Generator - https://mockuphone.com
- Logo Generator - https://www.logaster.com
- UUID Generator - https://www.uuidgenerator.net/
- Hash Generator - https://passwordsgenerator.net/sha256-hash-generator/
- Ultimate Code Generator - https://webcode.tools/
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
| @import '../variables'; | |
| .slider-with-header { | |
| .max-width-container { | |
| @include breakpoint(desktopwideup) { | |
| max-width: 1200px; | |
| } | |
| } | |
| .flexslider { | |
| float: left; |
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
| // We need this to build our post string | |
| const querystring = require('querystring'); | |
| const http = require('http'); | |
| const https = require('https'); | |
| function getFormData(data) { | |
| var hsFormData = JSON.stringify({ | |
| "fields": [{ | |
| "name": "email", | |
| "value": data.email |
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
| // window load waits until after CTAs and forms are in DOM | |
| $(window).load(function() { | |
| // check to see if this exists on the page by checking out how many exist | |
| if($('.post-footer-cta-wrapper #cta_button_112139_572acb38-75c4-4b31-ba14-d52e28378911').length > 0) { | |
| //set up click event handler | |
| $('.post-footer-cta-wrapper #cta_button_112139_572acb38-75c4-4b31-ba14-d52e28378911').on('click', function() { | |
| // after being clicked we return false, preventing the default behavior of the element. | |
| // in this case it is a link, so it prevents the link from functioning | |
| return false; | |
| }); |
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
| function get_hubspot_form_embed( $atts ) { | |
| // to use this embed code follow this: | |
| // [hubspot_form form_id='{{ hubspot form id }}'] | |
| // [hubspot_form form_id='ca34cd96-d5b2-4dc4-b412-f7fc6f73abc4'] | |
| // uses a random class to keep this form targeted | |
| $a = shortcode_atts( array( | |
| 'form_id' => '', | |
| ), $atts ); | |
| $rand = 'form-class-' . substr(md5(microtime()),rand(0,26),9); | |
| $form = '<div class="' . $rand . ' insert-form hbspt-form"></div>'; |
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
| <h3>The 10 Must-Ask Questions Before You Hire A Digital Agency</h3> | |
| <!--[if lte IE 8]> | |
| <script charset="utf-8" type="text/javascript" src="//js.hsforms.net/forms/v2-legacy.js"></script> | |
| <![endif]--> | |
| <script charset="utf-8" type="text/javascript" src="//js.hsforms.net/forms/v2.js"></script> | |
| <script>// <![CDATA[ | |
| hbspt.forms.create({ | |
| css: '', | |
| portalId: '#####', | |
| formId: '#############################', |
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
| var links = document.querySelectorAll('#sitemap td a'); | |
| [].forEach.call(links, function(link) { | |
| console.log(link.href) | |
| }); |
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
| @mixin fluid-type($font-style: inherit, $font-name: inherit, $min-font-size: 12px, $max-font-size: 21px, $line-height: 1.5, $lower-range: 500px, $upper-range: 1200px) { | |
| font: $font-style calc(#{$min-font-size} + #{(($max-font-size / ($max-font-size * 0 + 1)) - ($min-font-size / ($min-font-size * 0 + 1)))} * ( (100vw - #{$lower-range}) / #{(($upper-range / ($upper-range * 0 + 1)) - ($lower-range / ($lower-range * 0 + 1)))})) /#{$line-height} $font-name; | |
| @media screen and (max-width: $lower-range) { | |
| // font-fami | |
| font: $font-style #{$min-font-size}/#{$line-height} $font-name; | |
| } | |
| @media screen and (min-width: $upper-range){ | |
| font: $font-style #{$max-font-size}/#{$line-height} $font-name; |
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
| {% for row in hubdb_table_rows(item.hubdbtable_field, orderby) %} | |
| {% for item in row.foregin_stuff|sort(False, False, 'something') %} | |
| {{ code }} | |
| {% endfor %} | |
| {% endfor %} |
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
| // <header> | |
| // <div class="logo">......</div> | |
| // </header> | |
| // | |
| // <div id="hero"> | |
| // <span class="scroll-to-bottom-of-hero">Click here to scroll to bottom of hero</span> | |
| // </div> | |
| // #hero is the ID of the hero element | |
| // header is the header element that is sticky |