Support » Plugin: Custom Post Type UI » [Plugin: Custom Post Type UI] featured image not linking to post url

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Brad Williams

    (@williamsba1)

    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?

    Thanks!

    div class="novedades_hotel">
    				<h1 class="entry-heading">
    					<a href="<?php echo get_permalink() ?>" rel="bookmark" title="<?php _e('Permanent Link:','newscast')?> <?php the_title(); ?>">
    					<?php the_title(); ?>
    					</a>
    				</h1>
    
    				<div class="entry-text">
    					<?php
    					if($preview_image)
    					{
    						echo '<div class="entry-previewimage rounded preloading_background">';
    						echo $preview_image;
    						echo '</div>';
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Custom Post Type UI] featured image not linking to post url’ is closed to new replies.