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
1. Remove link around email address. | |
2. Wrap email address in <div class="reverse"></div> | |
3. Reverse the email address using strrev() or similar. | |
////////// example code ////////// | |
<div class="reverse"> | |
<?php echo strrev($emailAddress); ?> | |
</div> |
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
iframe { | |
// remove "width: 600px" from element's inline style | |
} | |
form * { | |
box-sizing: border-box; | |
} | |
form table { | |
width: 100%; | |
} | |
.formContainer { |
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
// Add additional image size. | |
// First parameter is name for image size. Second parameter is the image's width. Height is set proportionally | |
// After this is added to functions.php, when an image is uploaded, an additional image with the width of the size entered will be created, but will not appear in the media library. much like thumbnail images are. | |
// Only applys to images uploaded since this code is added. Use regenerate thumbnails plugin to apply this change to all media. | |
add_image_size('x-large-img', 1300); | |
///////////////////////////////////////////////// |
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 | |
$lastposts = get_posts( array( | |
'numberposts' => 99, | |
'post_type' => 'team_member') | |
); | |
if ( $lastposts ) { | |
foreach ( $lastposts as $post ) : | |
setup_postdata( $post ); |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Github Pages Sample Page</title> | |
<style media="screen"> | |
.wrapper { | |
width: 80%; | |
padding: 20px 10% 0 10%; | |
background-color: #fff; |
NewerOlder