"Leto: blog" function

Dear ATHEMES

In Leto blog page,


You can click the blog pic to into the blog post.

But in the homepage,


with the “Leto: blog” function, you can click the blog title only, cannot click the blog pic to into the blog post.

Thank you!

Hello there,

To link the post’s image displaying in the Blog widget, you’ll need to do the below steps:

  1. Install and activate the TC Custom JavaScript plugin
  2. Go To Appearance > Custom JavaScript
  3. Paste the following code into the provided box
    (function($){

      if( $('.widget_leto_blog').length ) {

        $('.widget_leto_blog .col-md-4').each(function(){
          var link = $(this).find('.entry-title').children('a').attr('href');
          $(this).find('.entry-thumbnail').children('img').wrapAll('<a href="'+link+'"></a>');
        });

      }

    })(jQuery);
  1. Update

Regards,
Kharis

Works fine now,
Thank you!