![]() |
|
||||||
|
|
Thread Tools | Display Modes |
|
#4
|
||||
|
||||
|
Quote:
I think you will have to use a filter. Looking at the source code, I found 'wp_list_pages' is called before the function returns. Tail end of wp_list_pages() function: Code:
$output = apply_filters('wp_list_pages', $output);
if ( $r['echo'] )
echo $output;
else
return $output;
}
Code:
add_filter('wp_list_pages', 'sp_adjust_page_menu');
function sp_adjust_page_menu ($output) {
return str_replace( 'Very Long Page Title', 'Short Page Title', $output );
}
HTH,
__________________
Charles "Rubeus Hagrid" Clarkson StudioPress on Facebook I'm not really a smart person. I just play one on the Internet. Please use the HTML
or PHP tags for pasting code.Please make your links click-able: this_is_annoying.com http://this_is_not_annoying.com. |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| CUSTOM FIELD, NEED HELP | october-29 | General Discussion | 2 | 12-22-2008 08:14 AM |
© Copyright 2012 Copyblogger Media LLC · StudioPress™ is a trademark of Copyblogger Media LLC
Privacy Policy | Refund Policy | Terms of Service | Affiliate Program | Contact Us