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
<!--Assuming your sidebar is completely empty (i.e. nothing is in its cell), | |
this will remove the sidebar and expand the content area --> | |
<section> | |
<div class="row"> | |
<div class="large-8 columns middle"> | |
#content# | |
</div> | |
<div class="large-4 medium-4 columns"> | |
<div id="box-one" class="boxOne-panel">#BOX1#</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
<head> | |
<meta charset="utf-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
<title>#title#</title> | |
<link rel="stylesheet" href="#relative_template_path#/css/foundation.css" /> <!- Must add #relative_template_path# --> | |
<script src="js/vendor/modernizr.js"></script> | |
</head> |
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
<nav class="top-bar" data-topbar data-options="mobile_show_parent_link: true" role="primary"> | |
<ul class="title-area"> | |
<li class="name"> | |
<h1></h1> <!--Have to have this to make menu work, even if it's empty --> | |
</li> | |
<li class="toggle-topbar menu-icon"><a href="#"><span>Menu</span></a></li> | |
</ul> | |
<section class="top-bar-section"> | |
#hmains# | |
</section> |
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
<!doctype html> | |
<html class="no-js" lang="en"> | |
<head> | |
<meta charset="utf-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
<title>#title#</title> | |
<link rel="stylesheet" href="#relative_template_path#/css/foundation.css" /> | |
<script src="js/vendor/modernizr.js"></script> | |
</head> | |
<body> |
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
<link href="../core-field/core-field.html" rel="import"> | |
<link href="../core-icon/core-icon.html" rel="import"> | |
<link href="../core-input/core-input.html" rel="import"> | |
<link href="../core-icons/core-icons.html" rel="import"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
#design_host { |
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 your Window's username in place of {yourName} | |
<VirtualHost *:80> | |
ServerAdmin webmaster@dummy.example.com | |
DocumentRoot "C:/Users/{yourName}/Google Drive/wamp/www" | |
ServerName localhost | |
ServerAlias localhost | |
ErrorLog "logs/localhost.log" | |
CustomLog "logs/localhost.log" common | |
</VirtualHost> |
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
```javascript | |
<script> | |
$(document).ready(function () { | |
$('#input-menu').inputMenu(); | |
}); | |
</script> | |
``` |
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
/* download Stylish for Firefox https://addons.mozilla.org/en-Us/firefox/addon/stylish/ | |
Make a new style for google.com and copy and paste the below | |
*/ | |
@namespace url(http://www.w3.org/1999/xhtml); | |
@-moz-document domain("www.google.com") { | |
#lga{ |
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 wpdocs_theme_name_scripts() { | |
wp_enqueue_style( 'style-name', get_stylesheet_directory_uri().'style.css?ver='rand(1,9999) ); | |
} | |
add_action( 'wp_enqueue_scripts', 'wpdocs_theme_name_scripts' ); |
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
jQuery('.the-filter-form-class').ajaxComplete(function() { | |
$('.selectpicker').selectpicker(); // re-init the thing on ajax done (sort of like a page load) | |
} | |
// 'prece | |
// http://silviomoreto.github.io/bootstrap-select |
OlderNewer