primary links

Fix for Theme links - print descriptions of primary menu items

  1. <?php
  2.  
  3. /**
  4. * Return a themed set of links.
  5. * An override of theme_links()
  6. * Modified to use simple text styling instead of HTML & CSS
  7. *
  8. * @see theme_links
  9. */
  10. function phptemplate_links($links

add extra spans to the primary menu links

  1. // a preprocess function to highjack primary links
  2. function phptemplate_preprocess_page(&$vars) {
  3.  
  4. // add some extra spans to the primary menu links
  5.   if (isset($vars['primary_links'])) {
  6.     $va

Theme links - print descriptions of primary menu items

  1. <?php
  2.  
  3. /**
  4. * Return a themed set of links.
  5. * An override of theme_links()
  6. * Modified to use simple text styling instead of HTML & CSS
  7. *
  8. * @see theme_links
  9. */

Code

  1. <?php
  2.         function adamfrost_menu_item($link, $has_children, $menu = '', $in_active_trail = FALSE, $extra_class = NULL)
  3.         {
  4.        
Syndicate content