Pull Posts - Live Feed from Main Theme into FrameMarket Theme

I am needing the php syntax to pull a live post feed from a Main Theme used on the main site to the FrameMarket Theme. The code currently looks like:

<ul class="ticker-list"> <?php $recent = new WP_Query(array( 'tag' => get_option('mm_ticker_tags'), 'showposts' => get_option('mm_ticker_num') )); while($recent->have_posts()) : $recent->the_post();?>

  • "><?php the_title(); ?><span class="ticker-date">Posted <?php echo human_time_diff(get_the_time('U'), current_time('timestamp')) . ' ago'; ?></span>
  • <?php endwhile; ?>

    The code pulls in a feed from the main theme and needs to pull the code from the main theme into the FrameMarket Theme. Please provide the necessary syntax to achieve this.