Node blog dislpay all content type blog in theme
if I understand correctly you'll need this query:

$query = new EntityFieldQuery;
$query-&gt;entityCondition('entity_type', 'node')
  -&gt;entityCondition('bundle', 'blog')
  -&gt;propertyCondition('status', 1);

$result = $query-&gt;execute();


then do you foreach($result);