2011-04-03, 23:05:52
Connie Wrote:when "my holidays" is currentpath, I want to show that as <h3>my holidays</h3> ontop of the level2-menu at the left
You can use the breadcrumb functionality for this - you want to output the first level (index 0):
Code:
<h3><?php $bc = return_i18n_breadcrumbs(return_page_slug()); echo $bc[0]['menu']; ?></h3>
Alternatively you can use echo $bc[0]['title'], if the menu label is different and you rather want to output the title.