link_before and link_after for wp_list_pages(). Props thee17. fixes #8041

git-svn-id: https://develop.svn.wordpress.org/trunk@9484 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2008-11-03 06:07:39 +00:00
parent 6b2d5e1cee
commit 81a0168123
2 changed files with 5 additions and 4 deletions

View File

@@ -1168,7 +1168,7 @@ class Walker_Page extends Walker {
$css_class .= ' current_page_parent';
}
$output .= $indent . '<li class="' . $css_class . '"><a href="' . get_page_link($page->ID) . '" title="' . attribute_escape(apply_filters('the_title', $page->post_title)) . '">' . apply_filters('the_title', $page->post_title) . '</a>';
$output .= $indent . '<li class="' . $css_class . '"><a href="' . get_page_link($page->ID) . '" title="' . attribute_escape(apply_filters('the_title', $page->post_title)) . '">' . $link_before . apply_filters('the_title', $page->post_title) . $link_after . '</a>';
if ( !empty($show_date) ) {
if ( 'modified' == $show_date )