<r:ancestor_menu />

This will list all pages going up from the current page and pages at the root. So, if you put this tag in a page nested deep within your site, it will print out all pages above and below the current page. It will not print out pages nested beneath other root level pages.   

Attribute Options

ul_class="your-class" - The class that the unordered list will have.

ul_id="your-id" - The ID that the unordered list will have.

active_class="your-class" - The class that gets added to the  <a> tag of the page you are currently on.

open_class="your-class" - The class that gets applied to every  <li> tag containing the current page.

start_depth="number" - Page depth to start listing pages from. Defaults to current page depth. Cannot exceed current page depth.

max_depth="number" - Maximum number of levels to list.

Example :

<r:ancestor_menu ul_id="ancestor" ul_class="menu" start_depth="1" max_depth="2" active_class="active" open_class="open">

Last updated on November 3, 2014.

We welcome all questions, feedback and bug reports. If you're having an issue, we usually need the following information:

  • A brief description of the issue
  • A link to the page where you saw the issue
  • Screenshots that illustrate the problem - How do I take a screenshot?

Kindly email CleanSlate@mail.wvu.edu for help or use the form on the request help page.