4351 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 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
  • Had an item featured on Envato Market
  • Won a Most Wanted contest
  • Has been part of the Envato Community for over 5 years
  • Has sold $40,000+ on Envato Market
+4 more
Orbital_Themes says

You mean in Wordpress, right?

256 posts
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $125,000+ on Envato Market
  • Won a competition
  • Has been part of the Envato Community for over 5 years
+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 );

$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