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
/* Delete usermeta that nas no related user in users */ | |
DELETE FROM wp_usermeta WHERE wp_usermeta.user_id NOT IN (SELECT ID FROM wp_users); |
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
<!-- | |
GRAVIY FORMS NOTES: | |
1. Create a “radio” group on any form | |
2. In the “appearance" tab, give the custom css class `js-gf-rating-stars` | |
3. The radio values should be in order from low -> high (1,2,3,4,5,etc…). | |
4. You can have as many stars as you want, it’s based off the number of radio elements in the group. | |
5. You could technically have as many groups of ratings stars as you want. | |
JS CONFIG: |
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
/* | |
* Dead Simple, Responsive opt-in accordions | |
* | |
* Requires: | |
* - enquire.js | |
* - jquery-inviewport.js | |
* - unveil.js | |
* | |
*/ | |
(function($) { |
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 | |
/** | |
Utility funcitons for passing (ahum) "variables" between wp templates | |
**/ | |
$sg_univeral_vars = array(); | |
/** | |
* Add key values that can be retrived w/in other wp templates. |
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 | |
/** | |
* NOTE: | |
* This requires setting your redux global var to $sg_redux | |
**/ | |
/* Echo value from sole redux config */ | |
function the_redux_setting($key, $index=null) { | |
echo get_redux_setting($key, $index); | |
} |
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
/* Remove the negative -5px margin on the div containing the button */ | |
iframe[src^="https://widget.pricewaiter.com/nyp/button.php"] { | |
width: 158px !important; /* Whatever width you'd like */ | |
} |
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
body, html, * { | |
background: blue !important; | |
} | |
.team-box p { | |
text-transform: uppercase; | |
text-align: center; | |
font-weight:400; | |
font-size: 12px; | |
margin-top: 135px; | |
} |
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
<h1>Primary Headline (h1)</h1> | |
<p class="lead">I'm a lead paragraph. Lorem ipsum dolor sit amet, consectetur adipiscing elit. In nibh neque, rhoncus vel pretium at, ornare ac metus. Nullam in aliquam metus. Nulla non arcu dignissim urna convallis semper rhoncus at felis. Suspendisse nec quam sem. Etiam scelerisque tristique tellus, ac auctor velit hendrerit commodo.</p> | |
<p>I'm a standard paragraph with <a href="#">default link style</a>. Lorem ipsum dolor sit amet, consectetur adipiscing elit. In nibh neque, rhoncus vel pretium at, ornare ac metus. Nullam in aliquam metus. Nulla non arcu dignissim urna convallis semper rhoncus at felis. Suspendisse nec quam sem. Etiam scelerisque tristique tellus, ac auctor velit hendrerit commodo.</p> | |
<h2>Headline 2 <small>w/ divider below</small></h2> | |
<div class="divider"></div> | |
<div class="row-fluid"> |
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
<!doctype html> | |
<html> | |
<head> | |
<title>Layouts: Fluid > Fixed</title> | |
<style type="text/css"> | |
html { | |
margin: 0; | |
padding: 0; | |
} | |
body { |