Datafeedr Support Forums  

Go Back   Datafeedr Support Forums > Current Version (V3) Forum > Tips, Tricks & Tutorials
Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Important - The support forums are now in "read-only" mode as we transition to an alternative help desk solution. Feel free to contact us here with any of your questions or search the forums for an existing solution.
 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #11  
Old February 8th, 2013, 05:09 PM
thk1976 thk1976 is offline
 
Join Date: May 2012
Posts: 232
Default

I have added this code

// Add store categories to nav menu
function dfr_menu_items($items, $args) {
if ($args->theme_location == 'primary') {
$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', 10, 2 );
// add_filter( 'wp_list_pages', 'dfr_menu_items', 10, 2 );
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 01:02 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.