A mixin for writing @font-face rules in SASS.
Create a font face rule. Embedded OpenType, WOFF2, WOFF, TrueType, and SVG files are automatically sourced.
@include font-face(Samplino, fonts/Samplino);
<?php | |
/** | |
* Replaces paragraph elements with double line-breaks. | |
* | |
* This is the inverse behavior of the wpautop() function | |
* found in WordPress which converts double line-breaks to | |
* paragraphs. Handy when you want to undo whatever it did. | |
* | |
* @see wpautop() |
/* globals fjarrett */ | |
jQuery( function( $ ) { | |
$( document ).on( 'click', 'form #submit-registration', function (e) { | |
$.ajax({ | |
type: 'POST', | |
url: fjarrett.ajaxurl, | |
data: { | |
action: 'fjarrett_user_registration', | |
registration_token: $( '#registration_token' ).val(), |
<?php | |
/** | |
* Process user registration via AJAX | |
* | |
* A custom user registration process that listens for a | |
* specific type POST request that will create a new user | |
* on the blog. | |
* | |
* @action wp_ajax_nopriv_fjarrett_user_registration |
<form method="post"> | |
<p> | |
<label for="user_login">Username</label> | |
<input type="text" name="user_login" id="user_login" placeholder="Username" required> | |
</p> | |
<p> | |
<label for="user_pass">Password</label> | |
<input type="password" name="user_pass" id="user_pass" minlength="12" placeholder="Password" autocomplete="off" required> |
<?php | |
/** | |
* Process user registration | |
* | |
* A custom user registration process that listens for a | |
* specific type POST request that will create a new user | |
* on the blog. | |
* | |
* @action wp |
source ~/.profile | |
# ------------------------------------------------------------ | |
# Set paths | |
# ------------------------------------------------------------ | |
export PATH="/usr/local/bin:$PATH" | |
export PATH="$PATH:$HOME/.composer/vendor/bin" | |
export PATH=~/.npm-global/bin:$PATH | |
# ------------------------------------------------------------ |