Posted by runeveryday on December 7, 2012 at 6:37am
<?php
$termid=taxonomy_get_children(arg(2));
foreach($termid as $terid){
$a=taxonomy_select_nodes($terid->tid,$pager = TRUE, $limit = 1, $order = array('t.created' => 'DESC'));
foreach($a as $nid){
$node_this = node_load($nid);
echo '<h1 class="pdtitle"><a href="#">'.$node_this->title.'</a></h1>';
}
?>how to add pager to it, when i add $pager = TRUE, $limit = 1, it doesn't work.