1 year ago | nerd talk

Script Media Type & Preload

Screen Size Specific Load <link media=”only screen and (max-device-width: 480px)” href=”iPhone.css” type=”text/css” rel=”stylesheet” /> <link media=”only screen and (max-device-width: 480px)” href=”iPhone.css” type=”text/css” rel=”stylesheet” /> On Load Event Shown below the onload attribute in the link allows the CSS to be processed when it finishes…

1 year ago | nerd talk

Javascript Flip Box

<script> (function() { jQuery(document).ready(function() { jQuery(‘.flip-container .vc_column-inner’).click(function(){ jQuery(this).toggleClass(“flip”); }); }); })(jQuery); </script> <div class=”flip-box”> <div class=”flip-box-inner”> <div class=”flip-box-front”> <div class=”text”> <div class=”image”> <h3 style=”text-align: center;”>Flip Me</h3> </div> </div> </div> <div class=”flip-box-back”> <div class=”text”> <p>Text here </p> </div> </div> </div> </div>…

1 year ago | nerd talk

CSS Variables

:root{ –white:#fff; –black:#000; } body{ color:var(–black); }

1 year ago | nerd talk

WordPress Feature Image

$featured_img_url = get_the_post_thumbnail_url(get_the_ID(),’full’); $image_id = get_post_thumbnail_id();$image_alt = get_post_meta($image_id, ‘_wp_attachment_image_alt’, TRUE);$image_title = get_the_title($image_id);

1 year ago | nerd talk

WordPress Versioning

// remove wp version number from scripts and styles function remove_css_js_version( $src ) { if( strpos( $src, ‘?ver=’ ) ) $src = remove_query_arg( ‘ver’, $src ); return $src; } add_filter( ‘style_loader_src’, ‘remove_css_js_version’, 9999 ); add_filter( ‘script_loader_src’, ‘remove_css_js_version’, 9999 );

4 years ago | mind, nerd talk

Nerd Talk.

The World Wide Web is not an easy thing to understand. Maybe that’s why is it’s referred to as a web. Since many don’t know what the internet consists of or even the meaning of some “tech” terms, I thought…

The Shop



Handmade knit hats made from 100% baby alpaca yarn.

Interested in placing a custom order?

INQUIRE NOW

Wisdom becomes knowledge when it is person experience