logo
Ask your WordPress questions! Pay money and get answers fast! (more info)

Warning: Please do not give out any FTP or ssh credentials to anyone, unless you trust them completely. Giving out login details is dangerous.

If the asker does not get an answer then they have 10 days to request a refund.

$12
wp_nav_menu "child of" property

I need a way to get the subpages for a specific item from the new Wordpress 3 Menu functionality. E.g.

wp_nav_menu(array(
'menu' => 'Navigation',
'child_of' => '5',
'container' => false,
'container_class' => false
));


or

wp_nav_menu(array(
'menu' => 'Navigation',
'child_of' => 'News',
'container' => false,
'container_class' => false
));


and this will return a list with only the items specified for that parent. Something like:
wp_list_pages('title_li=&child_of=5);


but instead of getting all child pages from the page structure, it returns all the child pages from the new Appearance->Menu for the menu labeled "Navigation".

I've tried to build a custom walker, but as I have very limited experience with this walkers, i'm not able to do so in the timeframe I have.

SteeleR | 02/21/11 at 8:51am Edit


(1) Possible Answers Submitted...

Note: SteeleR felt their question was unanswered, so we granted them a refund.

Note: SteeleR requested a refund. They offered no explanation.

If no one challenges a refund request, then they are automatically granted and proccessed after 48 hours. Admins of this site only review refund requests if someone challenges the request. If you are curious about how we handled previous refund requests, you may read over all refund requests and their challenges.

See a chronological view of answers?

Warning: Please do not give out any FTP or ssh credentials to anyone, unless you trust them completely. Giving out login details is dangerous.

  • avatar
    Last edited:
    02/25/11
    9:04pm
    Denzel Chia says:

    Sorry,

    Accidentally posted. I have got no solution for this.

    Thanks.

    Previous versions of this answer: 02/25/11 at 9:04pm

This question has expired.





Current status of this question: Refunded



Warning: Please do not give out any FTP or ssh credentials to anyone, unless you trust them completely. Giving out login details is dangerous.

If the asker does not get an answer then they have 10 days to request a refund.