View Single Post
  #29  
Old April 26th, 2011, 07:16 PM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

Try this code in your functions.php file instead
PHP Code:
// Add store categories to nav menu
function dfr_menu_items($items) {
    
$cats str_replace(array("<div>","</div>"), array("",""), datafeedr_tag('Category List?c=%ci'));
    
$items $items $cats;
    return 
$items;
}
add_filter'wp_nav_menu_items''dfr_menu_items' );