How to show " menu text" instead of "title" in " recently updated"?
-
madaha
How to show " menu text" instead of "title" in " recently updated"?
"Title" is usually longer than "menu text". Long titles make the 'recently updated" hard to read. I want to use short "menu text" in "recently updated". Anyone help me to modify the file "function.recently_updated.php" in plugins folder?
Re: How to show " menu text" instead of "title" in " recently updated"?
This should probably be coded as a parameter, but as a quick fix on line 75 change:
$output .= 'GetURL().'">'.$updated_page['content_name'].'';
to
$output .= 'GetURL().'">'.$updated_page['menu_text'].'';
hope this helps
$output .= 'GetURL().'">'.$updated_page['content_name'].'';
to
$output .= 'GetURL().'">'.$updated_page['menu_text'].'';
hope this helps
-
madaha
Re: How to show " menu text" instead of "title" in " recently updated"?
Works well ! Thanks a lot!

