This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Nov 16th, 2012  |  syntax: PHP  |  size: 0.26 KB  |  views: 41  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <?php
  2. class BB_Nav_Footer_Walker extends Walker_Nav_Menu {
  3.         function start_lvl(&$output, $depth = 0, $args = array()) {
  4.                 $output .= "\n<p class=\"sub-menu\">\n";
  5.         }
  6.        
  7.         function end_lvl(&$output, $depth = 0, $args = array()) {
  8.                 $output .= "\n</p>\n";
  9.         }
  10. }
  11. ?>
clone this paste RAW Paste Data