2, 'post__in' => get_option( 'sticky_posts' ), 'ignore_sticky_posts' => 2 ); $the_query = new WP_Query( $args ); if ( $the_query->have_posts() ) : while ( $the_query->have_posts() ) : $the_query->the_post(); ?>
>
' . get_the_post_thumbnail(null, 'medium') . '
'; ?>
term_id ) ) . '" class="badge badge-secondary">' . $category->name.''; $i++; } echo $thelist; ?>

' . get_the_post_thumbnail(null, 'medium') . '
'; ?>
term_id ) ) . '" class="badge badge-secondary">' . $category->name.''; $i++; } echo $thelist; ?>