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
| /* =VARIABLES | |
| ---------------------------------------------------------------------------------------------------- */ | |
| @size-mobile: 481; /* We're assuming px sizes are to be used. */ | |
| @size-tablet: 768; | |
| @size-desktop: 1030; | |
| @size-large: 1240; | |
| /* What all browsers will see since we're taking a '320 and up' approach to media queries. | |
| Source: http://nicolasgallagher.com/mobile-first-css-sass-and-ie/ |
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
| <a href="<?php echo home_url('/'); ?>"> |
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
| /* | |
| debugger | |
| http://playground.johanbrook.com/css/mediaquerydebug.html | |
| */ | |
| body::before{ | |
| content: "Tablet media query (768 < 979) fired"; | |
| font-weight: bold; | |
| display: block; | |
| text-align: center; | |
| background: rgba(255,255,0, 0.9); /* Semi-transparent yellow */ |
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
| ::-webkit-input-placeholder { | |
| color: red; | |
| } | |
| :-moz-placeholder { /* Firefox 18- */ | |
| color: red; | |
| } | |
| ::-moz-placeholder { /* Firefox 19+ */ | |
| color: red; |
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
| <a title="This is some information for our tooltip." class="tooltip">CSS3 Tooltip</a> | |
| <style> | |
| .tooltip{ | |
| display: inline; | |
| position: relative; | |
| } | |
| .tooltip:hover:after{ | |
| background: #333; | |
| background: rgba(0,0,0,.8); |
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
| box-shadow: 1px 1px 1px rgba(0, 0, 0, .15) inset, 1px 1px 0 rgba(80, 80, 80, .5); |
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
| define ( 'MY_PLUGIN_PATH', plugin_dir_path(__FILE__) ); | |
| define ( 'MY_PLUGIN_URL', plugin_dir_url( __FILE__ ) ); | |
| define ( 'MY_PLUGIN_VERSION', 1.1); | |
| define ( 'MY_PLUGIN_NAME', trim(dirname(plugin_basename(__FILE__)), '/') |
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
| <?php | |
| $subject = $_POST['subject']; | |
| $message = $_POST['message']; | |
| $message .= $_POST['email']; | |
| $recipients = array( | |
| "[email protected]", | |
| "[email protected]" | |
| // more emails | |
| ); | |
| $email_to = implode(',', $recipients); |
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
| span { | |
| color: #999; | |
| display: inline-block; | |
| animation: irony 0.9s linear infinite; | |
| } | |
| @keyframes irony { | |
| 0% { transform: skew(-15deg,0deg) } | |
| 50% { transform: skew(15deg, 0deg); } | |
| 100% { transform: skew(-15deg,0deg) } | |
| } |
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
| <?php | |
| //Our custom sitemap which reads the menu order using extended menu walker class | |
| //Shortcode | |
| function wdp_shortcode_sitemap($atts){ //[sitemap] | |
| extract(shortcode_atts(array( | |
| ), $atts)); | |
| //call the function | |
| $shortcodecontent = wdp_sitemap(); | |
| return $shortcodecontent; |