Snippets

cutiko Easy featured image

Created by cutiko
<?php
$thumb = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), 'large' );
$url = $thumb['0'];
?>

<!--It can be improve with this-->
<?php
$blog = get_page_by_title( 'Blog' );
$blogId = $blog->ID;
?>

Comments (0)