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
.stickyBottom{ | |
position: fixed; | |
bottom: 0px; | |
z-index: 1; | |
} |
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
if ( ! function_exists( 'bswp_posts_navigation' ) ) : | |
/** | |
* Display navigation to next/previous set of posts when applicable. | |
* | |
* @todo Remove this function when WordPress 4.3 is released. | |
*/ | |
function bswp_posts_navigation() { | |
// Don't print empty markup if there's only one page. | |
if ( $GLOBALS['wp_query']->max_num_pages < 2 ) { | |
return; |
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
<form action="http://www.networkcycle.com/leads/addlead" name="leadfrm" id="leadfrm-1col" class="form-wrapper" method="post"> | |
<input type="hidden" value="[hash code1]" name="brand_id"> | |
<input type="hidden" value="[hash code 2]" name="site_id"> | |
<input type="hidden" value="[hash code 3]" name="verify_string"> | |
<input type="hidden" id="redirect" value="thank-you-page/" name="redirect"> | |
<div class="1colform-content"> | |
<fieldset id="user-details-1col"> | |
<label for="firstName-l">First Name*:</label> | |
<input type="text" value="" maxlength="200" id="firstName" name="firstName" /> |
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
<!-- the actual drop down styling --> | |
select[multiple], select[size]{ | |
margin: 3px; <!-- space around the individual fields --> | |
background: transparent; | |
padding: 5px 35px 5px 5px; <!-- space inside of each field to the text --> | |
font-size: 16px; | |
border: 1px solid #ccc; <!-- the light gray line around each field --> | |
<!-- these clear the default styling of the drop down menus and make it something you can style --> | |
-webkit-appearance: none; |
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
<!-- parse email variable from url, load in header --> | |
<script> | |
function GetUrlValue(VarSearch) { | |
var SearchString = window.location.search.substring(1); | |
var VariableArray = SearchString.split('&'); | |
for (var i = 0; i < VariableArray.length; i++) { | |
var KeyValuePair = VariableArray[i].split('='); | |
if (KeyValuePair[0] == VarSearch) { | |
return KeyValuePair[1]; | |
} |
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
<script> | |
$(function () { | |
$('[href="#submit-form"]').click(function (ev) { | |
fbq('track','Lead'); | |
}); | |
}); | |
</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
.nodoBadge { | |
display: none !important; | |
} |
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
// Limit or restrict WordPress heartbeat to speed up wp-admin when many browser tabs are open or traffic is high | |
// Taken from http://wordpress.stackexchange.com/questions/166727/how-can-i-speed-up-my-wp-admin-section | |
function optimize_heartbeat_settings( $settings ) { | |
$settings['autostart'] = false; | |
$settings['interval'] = 60; | |
return $settings; | |
} | |
add_filter( 'heartbeat_settings', 'optimize_heartbeat_settings' ); |
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
// other general wordpress optimizations, place in wp-config.php file before "That's all, stop editing!" line. | |
define('WP_DEBUG', false); | |
define('WP_POST_REVISIONS', 5); | |
define('AUTOSAVE_INTERVAL', 600); | |
define( 'EMPTY_TRASH_DAYS', 3 ); | |
define('WP_MEMORY_LIMIT','96M'); | |
define( 'WP_MAX_MEMORY_LIMIT', '128M' ); | |
// optional, remove this comment and the // below if you want to limit external requests in admin screens |
OlderNewer