Sorry. I should have been clearer. Not here but on the line:
<?php $i = 1; $my_query = new wp_query( 'cat='.pll_get_term($mts_options['mts_trending_articles_cat']).'&posts_per_page=5&ignore_sticky_posts=1' ); ?>
Sorry. I should have been clearer. Not here but on the line:
<?php $i = 1; $my_query = new wp_query( 'cat='.pll_get_term($mts_options['mts_trending_articles_cat']).'&posts_per_page=5&ignore_sticky_posts=1' ); ?>