Datafeedr Support Forums  

Go Back   Datafeedr Support Forums > Current Version (V3) Forum > Questions
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
Old March 16th, 2012, 11:54 PM
tradr tradr is offline
Join Date: Jul 2011
Posts: 25
Post Getting DF Categories into WP Nav Menu

In the DF documentation you gave this code on generating a menu.

[category.list before='<ul>' after='</ul>']
        <a href="[]" title="[]">[]</a>

I am trying to have the ul and li appear in the themes header.php

Do you have the above in php ?

As I cannot figure out how to do_shortcode short codes with ' and " within them.

if you have a function for
category links (url + text)
and sub category links (url + text)
that would be awesome!


Old March 17th, 2012, 12:06 AM
tradr tradr is offline
Join Date: Jul 2011
Posts: 25

This is my attempt:
<?php do_shortcode('[category.list]'); ?>
<a href="<?php do_shortcode('[]'); ?>" title="<?php do_shortcode('[]'); ?>"><?php do_shortcode('[]'); ?></a>
<?php do_shortcode('[/category.list]'); ?>

The result in html source is this:
<a href="" title=""></a>
Old March 17th, 2012, 07:49 AM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
Join Date: Feb 2008
Posts: 16,902

Why not use the tutorial I created here: /showthread.php?t=3448

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Append Datafeedr Store Categories to Default WordPress Primary Menu Eric Tips, Tricks & Tutorials 131 May 1st, 2013 01:48 PM
drop down menu Papada Questions 1 January 4th, 2012 02:24 PM
Drop down categories in Store menu jordand1 Questions 8 September 21st, 2011 01:30 PM
factory categories as WP menu items? rapidcraft Questions 2 March 3rd, 2011 06:51 PM

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

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