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
—– BEGIN LICENSE —– | |
TwitterInc | |
200 User License | |
EA7E-890007 | |
1D77F72E 390CDD93 4DCBA022 FAF60790 | |
61AA12C0 A37081C5 D0316412 4584D136 | |
94D7F7D4 95BC8C1C 527DA828 560BB037 | |
D1EDDD8C AE7B379F 50C9D69D B35179EF | |
2FE898C4 8E4277A8 555CE714 E1FB0E43 | |
D5D52613 C3D12E98 BC49967F 7652EED2 |
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 | |
// Naming Constant | |
define( "RECIPIENT_NAME", "John Doe" ); | |
define( "RECIPIENT_EMAIL", "[email protected]" ); | |
// Values | |
$success = false; | |
$senderName = isset( $_POST['username'] ) ? preg_replace( "/[^\.\-\' a-zA-Z0-9]/", "", $_POST['username'] ) : ""; |
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
// Check the initial Poistion of the Sticky Header | |
var stickyHeaderTop = $('#stickyheader').offset().top; | |
$(window).scroll(function(){ | |
if( $(window).scrollTop() > stickyHeaderTop ) { | |
$('#stickyheader').css({position: 'fixed', top: '0px'}); | |
$('#stickyalias').css('display', 'block'); | |
$('#stickyheader').addClass('fix-top'); | |
} else { | |
$('#stickyheader').css({position: 'static', top: '0px'}); | |
$('#stickyalias').css('display', 'none'); |
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 | |
global $post; | |
$args = array( 'posts_per_page' => 10, 'post_type'=> 'custom-post-type' ); | |
$myposts = get_posts( $args ); | |
foreach( $myposts as $post ) : setup_postdata($post); ?> | |
<?php | |
$job_link= get_post_meta($post->ID, 'job_instructions', true); | |
?> |
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 | |
// in functions.php | |
add_theme_support( 'post-thumbnails'); | |
/* | |
Wordpress crop an image = 5 size. Sizes are given below | |
thumbnail // Thumbnail (default 150px x 150px max) |