-
-
Hi. i have a blog carousel element on my page, but currently there is just on the blog title a link to the singlepost. How i can create also a link on the iamage? Thank you for your help.
-
Hello,
We will be happy to assist you.
Please before you have to renew your support license that was expired.Regards!
-
Hi Eldo. Ive done it. Would be great, if you can help me with the code. thank you.
-
Hi,
You can do that by editing code files and it will be better to use child theme and making changes accordingly to keep changes even after main theme update.
Thank You
-
Hi. i have a child theme. But what i have to adjust that it works? Best regards.
-
Hi,
Overriding desired template file and setting your own things as per your own need.
Here is the template file path for you by the way:
/wp-content/themes/specular/vc_templates/latest_blog.php
Thank You
-
hi. I know the file but i have no idea, how i can set the link also to the images… Would be great, if you can help me. Best regards.
-
Hi,
Well, I have gone further to assist you and here is the code for you, Just find this code in your above mentioned file:
$output .= '<img src="'.esc_url(codeless_image_by_id(get_post_thumbnail_id(), 'port2', 'url')).'" alt="'.esc_attr__('Featured Image','specular').'">';
Then just replace above code with the following one:
$output .= '<a href="'.esc_url(get_permalink()).'"><img src="'.esc_url(codeless_image_by_id(get_post_thumbnail_id(), 'port2', 'url')).'" alt="'.esc_attr__('Featured Image','specular').'"></a>';
That’s it.
Note: You will find above code at 2 places in that file so replace both with mine provided code.
If that works fine for you don’t forget to rate us with 5 star on themeforest :)
Thank You
-
Hi Akram
This works perfect. Thank you for your help!!
Best regards.
Manuel -
Hi,
If you like our theme and support then kindly rate us with 5 star on themeforest as well :)
Thanks again
-
You must be logged in to reply to this topic.