There appears to be bug or very poor documentation on Gravity Forms’ part when it comes to using the Stripe addon with a credit card…
Comments closedTag: wordpress
UPDATE: This has been patched in WordPress Core files as of 5.62 WordPress 5.6.1 appears to have introduced a very annoyed bug where clicking away…
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 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 closedSometimes you might want to have the permalink of a post type include the taxonomy in the path. This is a pretty specific thing to…
Leave a Comment