Skip to content

Instantly share code, notes, and snippets.

Avatar
🏳️‍🌈

Valentin Polo valentindotxyz

🏳️‍🌈
View GitHub Profile
View gist:afeda0f00ba1ee8c2df2aa2a3874f8f3
### Keybase proof
I hereby claim:
* I am valentindotxyz on github.
* I am valentindotxyz (https://keybase.io/valentindotxyz) on keybase.
* I have a public key whose fingerprint is 0DC3 1821 97D5 68C8 BCD8 9CFE 2CC9 6B19 66AB 5BA0
To claim this, I am signing this object:
View keybase.md

Keybase proof

I hereby claim:

  • I am vp42 on github.
  • I am vp_fr (https://keybase.io/vp_fr) on keybase.
  • I have a public key ASAmUYoiDQMCL_pp8AaX_SRtux6DHgwNff5cVxWetOAvlgo

To claim this, I am signing this object:

View keybase.md

Keybase proof

I hereby claim:

  • I am vp42 on github.
  • I am vp_fr (https://keybase.io/vp_fr) on keybase.
  • I have a public key ASDOZfbA4ZevldIkStq6aVravYR03RXyh9sRMCNB_cdd8Ao

To claim this, I am signing this object:

View Vimeo-thumbnail
// Get the post image
if(!function_exists('get_post_video_thumbnail')){
function get_post_video_thumbnail( $post_id, $size = 'maxresdefault' ) {
$video_url = get_post_meta( $post_id, 'blu_video_url', true );
if($video_url) {
$video_url = html_entity_decode($video_url);
$url = $video_url;
$urls = parse_url($url);
if ($urls['host'] == 'youtu.be') :
You can’t perform that action at this time.