4145 posts Community Mod Building awesome stuff for your mobile devices!
  • Community Moderator
  • Elite Author
  • Sold between 100 000 and 250 000 dollars
  • Interviewed on the Envato Notes blog
  • Author had a Free File of the Month
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Contributed a Tutorial to a Tuts+ Site
  • Won a Competition
+9 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 been a member for 5-6 years
  • Sold between 50 000 and 100 000 dollars
  • Exclusive Author
  • Most Wanted Bounty Winner
  • Bought between 50 and 99 items
  • Poland
  • Referred between 10 and 49 users
Orbital_Themes says

You mean in Wordpress, right?

252 posts
  • Elite Author
  • Won a Competition
  • Has been a member for 5-6 years
  • Sold between 100 000 and 250 000 dollars
  • Exclusive Author
  • Bought between 10 and 49 items
  • Referred between 50 and 99 users
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 );

$wp_query->query($args);

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

/* blah */

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