This file contains 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
<?php | |
add_action('graphql_register_types', function () { | |
register_graphql_field('Post', 'elementorData', [ | |
'type' => 'String', | |
'discription' => __('Elementor Data JSON', 'wp-graphql'), | |
'resolve' => function ($post) { | |
$data = get_post_meta($post->ID, '_elementor_data', true); | |
return !empty($data) ? $data : null; | |
} |
This file contains 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
<style> | |
/* | |
1. Mega menu needs to show all content. | |
*/ | |
#masthead .header-wrapper.sticky #mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-item>.mega-sub-menu { | |
overflow: scroll; | |
height: calc(100vh - 35px); | |
} | |
This file contains 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
/* | |
To: Mr Peter Joseph | |
This is in response to your tweet: | |
https://twitter.com/search?q=%23interreflections&src=hashtag_click | |
Please consider: | |
It took me a few hours to put this together, however, the time I've spent learning how to do this has accumulated. | |
I'm counting over 10 years now. |
This file contains 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
jQuery(document).ready(function($) | |
{ | |
if(jQuery('.wpgis-slider-for').length > 0) | |
{ | |
if(object_name.wpgis_arrowdisable == 1){ | |
var slider_arrow = false; | |
}else{ | |
var slider_arrow = true; |
This file contains 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
{ | |
"name": "webpack-kss", | |
"version": "1.0.0", | |
"description": "webpack build for KSS Styleguids", | |
"main": "index.js", | |
"dependencies": { | |
"bootstrap": "^3.3.7", | |
"bootstrap-datepicker": "^1.7.1", | |
"breakpoint-sass": "^2.7.1", | |
"copy-webpack-plugin": "^4.2.1", |