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
// Gulp.js configuration | |
'use strict'; | |
const | |
// Gulp and plugins | |
gulp = require('gulp'), | |
gutil = require('gulp-util'), | |
newer = require('gulp-newer'), | |
imagemin = require('gulp-imagemin'), |
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
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteCond %{REQUEST_URI} ^/wp-content/uploads/[^\/]*/?.*$ | |
RewriteRule ^(.*)$ http://ntf.dk/$1 [QSA,L] | |
</IfModule> |
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
/* ========== Smooth Scroll ========== */ | |
( | |
function ( $ ) { | |
$.fn.vantageSmoothScroll = function () { | |
$( this ).click( function ( e ) { | |
var $a = $( this ); | |
var $target = $( '[name=' + this.hash.slice( 1 ) + ']' ).length ? $( '[name=' + this.hash.slice( 1 ) + ']' ) : $( $a.get( 0 ).hash ); | |
if ( $target.length ) { |
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
# Your init script | |
# | |
# Atom will evaluate this file each time a new window is opened. It is run | |
# after packages are loaded/activated and after the previous editor state | |
# has been restored. | |
# | |
# An example hack to make opened Markdown files always be soft wrapped: | |
# | |
# path = require 'path' | |
# |
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
html body, h1, h2 ,h3 ,h4 ,h5 ,h6 { | |
font-family: "Trebuchet MS", "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", sans-serif !important; | |
} |
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() { | |
jQuery(window).on('resize', function() { | |
jQuery('#negative-margin').css('margin-top', jQuery('#negative-margin').outerHeight() * -1 + 'px'); | |
}) | |
.trigger('resize'); | |
}); |
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 | |
/* | |
Plugin Name: Inzite Must Use plugin | |
Plugin URI: http://jurs.me | |
Description: Extra functions. | |
Version: 1.0.0 | |
Author: Rasmus Jürs | |
Author URI: http://jurs.me | |
License: GPL | |
*/ |
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
function renderProductList(boolHighlighted) | |
intAmount = 0 '0 equals all(*) | |
intRows = 75 | |
strFields = "i.ID,i.ItemName,i.Image,i.ParentID, i.Highlighted, i.NetPrice, i.Colli, i.UnitOfMeasure, i.ItemName2" | |
strOrder = "Order By i.ItemName" | |
strSearch = "" | |
intPageNum = 1 | |
intCategory = 0 | |
intLastPage = 0 '0 Gets the last page as intLastPage |
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
// Add Shortcode | |
function mailpoet_bulk_subscribe_func() | |
{ | |
ob_start(); ?> | |
<form action="?submit=true" method="POST"> | |
<input name="email" type="text" required placeholder="Email address"> | |
<input name="first_name" type="text" placeholder="First name"> | |
<input name="last_name" type="text" placeholder="Last name"> |
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
{ | |
"exportFormatVersion": 2, | |
"exportTime": "2018-03-07 15:14:39", | |
"containerVersion": { | |
"path": "accounts/2288261640/containers/8196307/versions/18", | |
"accountId": "2288261640", | |
"containerId": "8196307", | |
"containerVersionId": "18", | |
"container": { | |
"path": "accounts/2288261640/containers/8196307", |