In DW Focus, it seems that images in the silder is un-clickable, you can only click on the title of each posts to view it.
Can you tell me how to make each slideshow image clickable, and link to post?
Thank you very much!
To resolve this issue, you can open the dw-focus-slider.php file in the folder path “wp-content\themes\dw-focus\inc\widgets” / line 86
Replace the following code:
<?php the_post_thumbnail('slider-thumb'); ?>
With new code:
<?php echo '<a target="" href="'.get_permalink().'">'.get_the_post_thumbnail( get_the_ID(), 'slider-thumb' ).'</a>'; ?>
Please login or Register to submit your answer