Extend walker class with custom post types [closed]

  1. Fix 100 == 101 in you if statement (always false)
  2. Try $subposts = get_posts( 'numberposts=10&post_type=portfolio_work&cat=" . $item->object_id );

Leave a Comment