How can I print a teaser from a specific number? It drives me crazy.
I tried this:
$teaser = TRUE; $page = FALSE; $nid = 20; print node_view(node_load(array('nid' => $nid)), $teaser, $page, FALSE);
but the only way out is the Array.
I also tried this:
$node = node_load(20); $teaser_content = $node->body['und']['0']['summary']; print $teaser_content;
But this gives me a summary node, not the teaser specified with <!--break--> .
source share