How to hide the file name when used in thumnail
-
Hi
I have used slimbox in thumbnail evrythink works great but it shows the file name and i dont want it .
https://www.iromix.hu/?page_id=11
heres the code:
<?php
$thumbnail_id=get_the_post_thumbnail($post->ID);
preg_match (‘/src=”(.*)” class/’,$thumbnail_id,$link);
echo $link[1];
?>
” rel=”lightbox”><?php the_post_thumbnail(‘full’); ?>please help i dont know how to fix it ??
- The topic ‘How to hide the file name when used in thumnail’ is closed to new replies.