Skip to content

Instantly share code, notes, and snippets.

View Quay3's full-sized avatar

Quay3

  • Saturday Drive
View GitHub Profile
#nf-field-443{
background-color: #ff0000;
}
@Quay3
Quay3 / gist:061b6ab9a890cffcf9dd46e200c1e0b2
Last active December 9, 2016 17:55
"Last Rule" example
p{
color: red;
}
p{
color: green;
}
p{
color: red;
}
p a{
color: blue;
}
#ninja_forms_field_250{
background-color: #ff0000;
}
<script>
jQuery( document ).ready( function() {
jQuery( document )
.on('click', 'input[type=button]', function() {
ga('send', 'event', 'Email List', 'Subscribed', 'New Subscriber');
});
});
</script>
<script>
jQuery( document ).ready( function() {
jQuery( document )
.on('click', '#nf-field-26', function() {
ga('send', 'event', 'Email List', 'Subscribed', 'New Subscriber');
});
});
</script>
[fb_plugin page href=”https://www.facebook.com/yourpage” tabs=”events”]
[facebook https://www.facebook.com/yourevent/]
if( !defined( 'INSIGHTLY_API_VERSION' ) ){
define( 'INSIGHTLY_API_VERSION' , '2.1' );
}
if( !defined( 'INSIGHTLY_RECORDS_TO_RETURN' ) ){
define( 'INSIGHTLY_RECORDS_TO_RETURN' , 500 );
}