Home › Forums › Pro Version › Can the link to the post be disabled? › Reply To: Can the link to the post be disabled?
May 2, 2015 at 9:28 am #5137
Guest
I have part figured this out (my 2nd preference)- please check if what I have dfone is OK, and what should I do to have the featured image link back to its page (not the image)
I copied the default layout to wp and then it the “layout.php”file, at around line 31 I deleted <a href=”<?php the_permalink(); ?>”><?php the_post_thumbnail($shortcodeData[‘wmlo_image_size’]); ?></a>
and substituted <?php the_post_thumbnail($shortcodeData[‘wmlo_image_size’]); ?>
. So clicking on the thumbnail now goes nowhere, which is OK.
If I wanted the thumbnail to link to the page- what would those steps be, please?