custom post query in a theme that pulls from the networks main site

How can i make this pull from categories on the main site and not each blog?

  • Mark Wallace
    • Learn-ing-er


    get_header(); ?>
    <div id="primary">
    	<div id="content" role="main">
    		global $post;
    		$number_of_posts = 10000;
    		$args = array( 'numberposts' => $number_of_posts);
    		$myposts = get_posts( $args );
    		foreach( $myposts as $post ) :	setup_postdata($post); ?>
    				<a href=""<?php" the_permalink(); ?>">
    					<?php the_post_thumbnail(); ?>
    					<h4><?php the_title(); ?></h4>
    				<p><?php the_excerpt(); ?></p>
    		<?php endforeach; ?>
    <?php get_footer();
  • Brian Purkiss
    • Smushie Pies

    We hope you were able to resolve this. Since this thread has been inactive for some time I am going to go ahead and close the ticket. If you were unable to resolve it or have any further questions, please feel free to re-open the ticket – we are more than happy to help!

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.