¿Puede que tenga algo que ver la siguiente función que he encontrado en el archivo functions.php?
Código:
function wp_list_pages2() {
check_header();
$defaults = array('depth' => 0, 'show_date' => '', 'date_format' => get_option('date_format'),
'child_of' => 0, 'exclude' => '', 'title_li' =>'', 'echo' => 1, 'authors' => '', 'sort_column' => 'menu_order, post_title');
$r = array_merge($defaults, $r);
$output = '';
$current_page = 0;
// sanitize, mostly to keep spaces out
$r['exclude'] = preg_replace('[^0-9,]', '', $r['exclude']);
// Allow plugins to filter an array of excluded pages
$r['exclude'] = implode(',', apply_filters('wp_list_pages_excludes', explode(',', $r['exclude'])));
// Query pages.
$pages = get_pages($r);
if ( !empty($pages) ) {
for($i=0;$i<count($pages);$i++)
{
$output .='<td class="menu">
<a href="?page_id='.$pages[$i]->ID.'">'.$pages[$i]->post_title.'</a>
</td>
<td class="m_sep"> </td>';
}
}
$output = apply_filters('wp_list_pages', $output);
echo $output;
}
Gracias

