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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" | |
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<?php | |
//create a function called cupid that outputs a string | |
function cupid() { | |
// the cupid function outputs a red XoXoX when called | |
echo "<p style='color: red;'><b>XoXoX</b></p>"; |
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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" | |
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<?php | |
//create a function called myDate that outputs today's date | |
function myDate() { | |
//Define the variables | |
$year = date('Y'); // get current year | |
$month = date('M'); // get month | |
$date = date('j'); // get day of the month |
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
<div class="gallery"> | |
<img src="http://wilt.xyz/wp-content/uploads/2015/02/suzette-WDS-e1424416736371.jpg" alt="suzette-WDS" width="799" height="799" class="alignnone size-full wp-image-37" /> | |
<img src="http://wilt.xyz/wp-content/uploads/2015/02/suzette-WDS-e1424416736371.jpg" alt="suzette-WDS" width="799" height="799" class="alignnone size-full wp-image-37" /> | |
<img src="http://wilt.xyz/wp-content/uploads/2015/02/suzette-WDS-e1424416736371.jpg" alt="suzette-WDS" width="799" height="799" class="alignnone size-full wp-image-37" /> | |
</div> |
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
$post_args = array( | |
'post_type' => 'testimonial', | |
'tax_query' => array( | |
array( | |
'taxonomy' => 'type', | |
'field' => 'slug', | |
'terms' => $type, | |
), | |
), | |
); |
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
$breakpoints: ( | |
large-desktop: 105em, // 1680px | |
desktop: 85.375em, // 1366px | |
tablet-landscape: 64em, // 1024px | |
tablet-portrait: 48em, // 768px | |
phone-landscape: 40em, // 640px | |
phone-portrait: 22.5em, // 360px | |
); |
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
/** | |
* Display testimonials | |
*/ | |
function wds_testimonials( $type = '' ) { | |
// Grab the type set for this layout | |
$type = esc_html( get_post_meta( get_the_ID(), '_wds_meltwater_type_select', true ) ); | |
echo wds_get_testimonials( $type ); | |
} |
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
echo '<xmp>: '. print_r( $icon, true ) .'</xmp>'; |
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
var stringToShout = prompt("What should I shout?"); | |
var shout = stringToShout.toUpperCase(); | |
shout += "!!!"; | |
alert(shout); | |
console.log(stringToShout); |
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
/* Suzette theme style*/ | |
.gform_wrapper .gf_style_suzette {border:5px solid #F2A7DC; border-radius: 5px;} | |
.gf_style_suzette { padding: 15px; background-color: #F23FBD; border-radius: 5px; } | |
.gf_style_suzette .gform_title {font-weight: bold !important;} | |
.gf_style_suzette .gform_description {font-size: 1.6rem; color:#FFF; font-weight: 100 !important;} | |
.gf_style_suzette .gfield_label {font-weight: 100 !important; font-size: 1.6rem;} | |
.gf_style_suzette input[type="submit"], | |
input[type="button"], | |
input[type="reset"] { |
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
/* generic styles to center */ | |
position: absolute; | |
top: -9999px; | |
bottom: -9999px; | |
left: -9999px; | |
right: -9999px; | |
margin: auto; |
NewerOlder