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
const lightbox = GLightbox() | |
const allLightboxTriggers = document.querySelectorAll('.lightbox-trigger') | |
if (allLightboxTriggers) { | |
allLightboxTriggers.forEach(function(trigger) { | |
trigger.addEventListener('click', function(e) { | |
e.preventDefault() | |
let targetHref = this.getAttribute('href') | |
lightbox.setElements([{'href': targetHref}]) | |
lightbox.open() | |
}) |
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
html { | |
height: 100%; | |
overflow: hidden; | |
} | |
body { | |
margin: 0; | |
width: 100vw; | |
height: 100%; | |
overflow-y: auto; |
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
$(document).ready(function () { | |
var $grid = $('.msnry-grid').masonry(); | |
$grid.find('[loading="lazy"]').on('load', function() { | |
$('.msnry-grid').masonry('layout'); | |
console.log("image loaded."); | |
}) | |
}); |
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
{% if paginator.total_pages != 1 %} | |
<div class="row text-center text-caps"> | |
<div class="col-md-8 col-md-offset-2"> | |
<nav class="pagination" role="pagination"> | |
<span class="page-number">Page {{ paginator.page }} of {{ paginator.total_pages }}</span> | |
{% if site.paginate_path != 'page:num'%} | |
{% assign paginate_url = site.paginate_path | remove:'/page:num' %} | |
{% if paginator.previous_page %} | |
{% if paginator.previous_page == 1 %} |
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
/** | |
* Add Font Group | |
*/ | |
add_filter( 'elementor/fonts/groups', function( $font_groups ) { | |
$font_groups['rb_custom_fonts'] = __( 'RB Custom Fonts' ); | |
return $font_groups; | |
} ); | |
/** | |
* Add Group Fonts |
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 charset="utf-8" type="text/javascript" src="//js.hsforms.net/forms/v2.js"></script> | |
<script> | |
hbspt.forms.create({ | |
region: "na1", | |
portalId: "XXXXXX", | |
formId: "XXXXX-XXXXXX-XXXXX-CCCC", | |
onFormSubmit: function($form){ | |
setTimeout(function () { | |
var firstName = $form.find('input[name="firstname"').val(); | |
var lastName = $form.find('input[name="lastname"').val(); |
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
[ | |
"fa fa-address-book", "fa fa-address-book-o", "fa fa-address-card", "fa fa-address-card-o", "fa fa-adjust", "fa fa-adn", "fa fa-align-center", "fa fa-align-justify", "fa fa-align-left", "fa fa-align-right", "fa fa-amazon", "fa fa-ambulance", "fa fa-american-sign-language-interpreting", "fa fa-anchor", "fa fa-android", "fa fa-angellist", "fa fa-angle-double-down", "fa fa-angle-double-left", "fa fa-angle-double-right", "fa fa-angle-double-up", "fa fa-angle-down", "fa fa-angle-left", "fa fa-angle-right", "fa fa-angle-up", "fa fa-apple", "fa fa-archive", "fa fa-area-chart", "fa fa-arrow-circle-down", "fa fa-arrow-circle-left", "fa fa-arrow-circle-o-down", "fa fa-arrow-circle-o-left", "fa fa-arrow-circle-o-right", "fa fa-arrow-circle-o-up", "fa fa-arrow-circle-right", "fa fa-arrow-circle-up", "fa fa-arrow-down", "fa fa-arrow-left", "fa fa-arrow-right", "fa fa-arrow-up", "fa fa-arrows", "fa fa-arrows-alt", "fa fa-arrows-h", "fa fa-arrows-v", "fa fa-asl-interpreting", "fa fa-assistive-listening-systems", "fa fa-as |
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
font | |
license | |
source.actionscript.2 | |
source.applescript | |
source.asp | |
source.c | |
source.c++ | |
source.camlp4.ocaml | |
source.clojure | |
source.cmake |
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
<snippet> | |
<content><![CDATA[ | |
/* | |
Plugin Name: ${1:plugin-name} | |
Plugin URI: http://plugins.robertbiswas.com/${3:text-domain} | |
Description: ${4:Description} | |
Version: 1.0 | |
Author: Robert Biswas | |
Author URI: http://robertbiswas.com | |
License: GPL2 |
NewerOlder