badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

Reply To: Service icon link to page

#21608

Hi felipe1,
This services widgets is displayed from the theme folder -> inc -> widgets -> interface_widgets.php line no 278 and you will fine this code

if ( has_post_thumbnail() ) {
     echo'<div class="service-icon">'.get_the_post_thumbnail( $post->ID, 'icon' ).'</div>';
 }

and replace it with this below code

if ( has_post_thumbnail() ) {
 							echo '<a href="' . get_permalink( $post->ID ) . '" title="' . esc_attr( $post->post_title ) . '">';
 							echo'<div class="service-icon">'.get_the_post_thumbnail( $post->ID, 'icon' ).'</div>';
 							echo '</a>';
 						}

Before making any changes first make child theme and then only customize the code. If you add this code directly inside the interface_widgets.php file then it will work but while updating to our new version all your customisation code will be lost. If you didn’t make any changes then you need to make the same changes for each and every time.

Thank you!