4252 posts Community Mod Building awesome stuff for your mobile devices!
  • Has referred 100+ members
  • Has sold $125,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has collected 1+ items on Envato Market
+14 more
Enabled Volunteer moderator says

Is there any chance to do this? I tried with Inline Posts, but it is s@#t. Anyone have any ideeas or suggestion on how could I post in pages?

741 posts
  • Has referred 10+ members
  • Has sold $40,000+ on Envato Market
  • Has collected 50+ items on Envato Market
  • Had an item featured on Envato Market
+4 more
Orbital_Themes says

You mean in Wordpress, right?

252 posts
  • Has referred 50+ members
  • Has sold $125,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Made it to the Authors' Hall of Fame
+5 more
der says

Yeah, I was about to ask the same thing. On the page you want to display your posts, do the following, where 3 is the category ID you want to show posts from, and 4 is the number of posts you want to display (more info here):

global $wp_query;
$wp_query_orig = $wp_query; $wp_query = null; $wp_query = new WP_Query();

$args = Array(
    'category__in' => array(3),
    'showposts' => 4,
    'paged' => $paged );


if (have_posts()): while(have_posts()): the_post();

/* blah */

endwhile; endif; 
$wp_query = null; $wp_query = $wp_query_orig;