Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Jordan Diamond JordanNZ

🏠
Working from home
View GitHub Profile
View menu.js
jQuery(function($){
$(document).ready(function(){
var newdiv1 = $( "<div class='uk-offcanvas-bar' id='hello'>" );
var social = '<div class="uk-child-width-auto uk-grid-medium uk-margin uk-flex-left uk-grid" uk-grid=""><div class="uk-first-column"><a uk-icon="icon: facebook" href="https://www.facebook.com/tekaposprings" target="_blank" class="el-link uk-icon-link uk-icon"></a></div><div><a uk-icon="icon: instagram" href="https://instagram.com/tekaposprings/" target="_blank" class="el-link uk-icon-link uk-icon"></a></div><div><a uk-icon="icon: twitter" href="https://twitter.com/TekapoSpringsNZ" target="_blank" class="el-link uk-icon-link uk-icon"></a></div><div><a uk-icon="icon: youtube" href="https://www.youtube.com/user/TekapoSprings?feature=mhee" target="_blank" class="el-link uk-icon-link uk-icon"></a></div><div><a uk-icon="icon: tripadvisor" href="https://www.tripadvisor.co.nz/Attraction_Review-g644415-d1806264-Reviews-Tekapo_Springs-Lake_Tekapo_Mackenzie_District_Canterbury_Region_South_Island.
View Gis
<style>.embed-container {position: relative; padding-bottom: 80%; height: 0; max-width: 100%;} .embed-container iframe, .embed-container object, .embed-container iframe{position: absolute; top: 0; left: 0; width: 100%; height: 100%;} small{position: absolute; z-index: 40; bottom: 0; margin-bottom: -15px;}</style><div class="embed-container"><iframe width="500" height="400" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" title="DG Congestion Maps" src="https://ael.maps.arcgis.com/apps/Embed/index.html?webmap=f95c02a5240a4ba28039a2bccd2e8fd6&extent=165.7518,-46.5598,173.7992,-43.3462&zoom=true&previewImage=false&scale=true&disable_scroll=true&theme=light"></iframe></div>
View Hyperlink to Outlook Email
@JordanNZ
JordanNZ / .htaccess
Created Jun 25, 2018
Custom php.ini fix
View .htaccess
# Tell the server where the php.ini file is that you want to use
<IfModule mod_suphp.c>
suPHP_ConfigPath /home2/ekrwffmy/public_html/
</IfModule>
View thing.php
<?php
if ( have_posts() ) :
$i = 0;
?>
<div id="primary" class="content-area">
<main id="main" class="site-main" role="main">
<section class="row posts-loop <?php if ('grid' == $blog_layout) { echo esc_attr('flex-row'); } ?>"
<?php /* Start the Loop */
View additional-info.liquid
<p class="disclaimer__subtext">If you have any questions, reply to this email or contact us at <a href="mailto:{{ shop.email }}">{{ shop.email }}</a></p> <p class="disclaimer__subtext">If you have any questions, reply to this email or contact us at <a href="mailto:{{ shop.email }}">{{ shop.email }}</a></p>
You can’t perform that action at this time.