Support » Plugin: Custom Post Type UI » [Plugin: Custom Post Type UI] featured image not linking to post url
4 years, 9 months ago
The featured image is not linking to the custom post type url.
As you can see in this page http://www.chacrasdecoria.travel/hoteles I list a number of hotels and just the title is linking to the hotel url.
How can I fix that?
You need to update the page template that powers that code and add a link around the image.
Brad, thanks for your comment. I identified the code around the image, however I don´t know what code to add and where!
I think I should add the code around entry-previewimage however don´t know how to add a link, would you help me with that?
<a href="<?php echo get_permalink() ?>" rel="bookmark" title="<?php _e('Permanent Link:','newscast')?> <?php the_title(); ?>">
<?php the_title(); ?>
echo '<div class="entry-previewimage rounded preloading_background">';