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
<!-- jQuery --> | |
<script type="text/javascript"> | |
jQuery('form.portfolio_form').on('submit', function (e) { | |
e.preventDefault(); | |
var name = jQuery('form.portfolio_form .name').val(); | |
var tag = jQuery('form.portfolio_form .tag').val(); | |
var link = jQuery('form.portfolio_form .link').val(); |
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
<a href="#" class="scrollToTop" style=" width: 77px; padding: 5px; text-align: center; background-color: #c42e2f; font-weight: bold; color: #ffffff; text-decoration: none; position: fixed; bottom: 60px; right: 40px; display: none; border-radius: 50px;"><i class="fa fa-chevron-up" aria-hidden="true"></i></a> | |
<script type="text/javascript"> | |
jQuery(document).ready(function(){ | |
//Check to see if the window is top if not then display button | |
jQuery(window).scroll(function(){ | |
if (jQuery(this).scrollTop() > 100) { | |
jQuery('.scrollToTop').fadeIn(); | |
} else { | |
jQuery('.scrollToTop').fadeOut(); |
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 | |
$paged = ( get_query_var( 'paged' ) ) ? get_query_var( 'paged' ) : 1; | |
query_posts( array( | |
'post_type' => 'team', | |
'posts_per_page' => -1, | |
'paged' => $paged | |
) ); ?> | |
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); | |
$image = wp_get_attachment_url( get_post_thumbnail_id($post->ID));//thumb | |
//$time = get_post_meta( get_the_ID(), 'wpcf-time', true );//custom field |
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
<style type="text/css"> | |
body { | |
font-family: arial; | |
} | |
table { | |
border: 1px solid #ccc; | |
width: 100%; | |
margin:0; |
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
/*Adding table titles and unset default titles*/ | |
add_filter('manage_waitlist_posts_columns' , 'add_waitlist_columns'); | |
function add_waitlist_columns($columns) { | |
unset($columns['author']); | |
unset($columns['seodesc']); //unset fields | |
unset($columns['seotitle']); |
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
<style> | |
.wether_box { | |
min-height: 100px; | |
background: #35394b; | |
float: left; | |
width: 100%; | |
padding: 10px; | |
} | |
.title_area { |
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
<div class="container"> | |
<div id="recaptcha1"></div> | |
<div id="recaptcha2"></div> | |
<div id="recaptcha3"></div> | |
<div id="recaptcha4"></div> | |
<div id="recaptcha5"></div> | |
</div> <!-- /container --> | |
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
function getVideoUrlAction( $id = null,$quality='high' ){ | |
$return = array(); | |
$quality_index = array('high'=>0,'medium'=>0,'small'=>0); | |
$videoID = empty( $id ) ? ( $this->getRequest()->getParam('videoid') ) : $id ; | |
$xmlReqURL = 'http://www.youtube.com/get_video_info?&video_id='.$videoID.'&asv=3&el=detailpage&hl=en_US'; |
OlderNewer