a guest Feb 17th, 2019 100 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- $thumbnail_url = get_the_post_thumbnail_url(null, "large");
- //echo '<a href="'.$thumbnail1 a.'" data-featherlight="myimage.png">';
- printf('<a href="%s" data-featherlight="image">', $thumbnail_url);
- the_post_thumbnail( "large", array("class" => "img-fluid") );
- echo '</a>';
RAW Paste Data