Changeset 30302 for trunk/src/wp-content/themes/twentyfifteen/functions.php
- Timestamp:
- 11/11/2014 07:01:47 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyfifteen/functions.php
r30273 r30302 295 295 function twentyfifteen_nav_description( $item_output, $item, $depth, $args ) { 296 296 if ( 'primary' == $args->theme_location && $item->description ) { 297 $item_output = str_replace( $args->link_after . '</a>', '< span class="menu-item-description">' . $item->description . '</span>' . $args->link_after . '</a>', $item_output );297 $item_output = str_replace( $args->link_after . '</a>', '<div class="menu-item-description">' . $item->description . '</div>' . $args->link_after . '</a>', $item_output ); 298 298 } 299 299
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)