Even though Chrome is trying its best to kill it, background videos aren’t going anywhere. The methods and technology behind them are evolving though! Enter: YouTube…
Comments closedCategory: Featured on Powderkeg
CSS is a vast ocean of possibilities. There are dozen different ways to accomplish the look/feel of a design. Lost in this sea of…
Comments closedWe make a lot of templates that work with YouTube videos. Most of these videos are added by the client via a text field…
Comments closedThe Bootstrap framework has a neat little carousel built in to it that I find myself using on almost every new website one form…
Comments closedI’ve run in to a weird little glitch with the Apple Ipad recently and would like to share my findings with all of you. For…
Comments closedGravity Forms has filters to allow you to customize the validation and confirmation messages of your forms. If you are using a Bootstrap framework…
Comments closedHere is something I find myself looking up every now and then to get the syntax right / remember how to do. You may run…
Comments closedIf you’ve ever wanted some Sass (SCSS) to show equal width elements regardless of how many there are, then look no further! Imagine you want…
Comments closedIt’s time to share a function I’ve used for years that reliably gets me the featured image of a WordPress post:
1 | function pk_get_featured_image($id = false, $size = 'full',$obj = false,$returnid = false){ if(!$id){ $id = get_the_id(); } $image_id = get_post_thumbnail_id($id); if(!$image_id){ return false; } $image_url = wp_get_attachment_image_src($image_id,$size,true); if(!$image_url){ return false; } if($returnid){ return $obj ? array('image_id'=>$image_id,'image'=>$image_url) : array('image_id'=>$image_id,'image'=>$image_url[0]); }else{ return $obj ? $image_url : $image_url[0]; } } |
Basically, at the…
Comments closedThe Problem Sometimes you want to have a form on a page that acts like a filter. If the page has URL variables from…
Comments closed