Need a quick WordPress script written for tertiary level navigation

Take this current script and modify it so the script only shows on pages that have second and third level navigation.



$children = wp_list_pages("title_li=&child_of=".$post->ID."&echo=0");

} else {

if($post->ancestors) {

$ancestors = end($post->ancestors);

$children = wp_list_pages("title_li=&child_of=".$ancestors."&echo=0");



if ($children && !empty($post->post_parent)) { ?>

<div class="col section-nav">

<h5>In This Section</h5>

<ul><?php echo $children; ?></ul>


<?php } ?>

Here's a more specific examples of what the end result needs to be.

In the below example, I want to show the level 2 active item and the navigation below it (level 3) on the page and on all the level 3 pages.

Navigation Structure

- Level 1 Nav
- - Level 2 Nav
- - Level 2 Nav - ACTIVE
- - - Level 3 Nav
- - - Level 3 Nav
- - - Level 3 Nav
- - - Level 3 Nav
- - - Level 3 Nav
- - Level 2 Nav
- - Level 2 Nav
- - Level 2 Nav
- - Level 2 Nav
- Level 1 Nav
- Level 1 Nav

Expected Display on level 2 and level 3

- - Level 2 Nav - ACTIVE
- - - Level 3 Nav
- - - Level 3 Nav
- - - Level 3 Nav
- - - Level 3 Nav
- - - Level 3 Nav

If the navigation doesn't have level 3 nav, I don't want this component to show.

Compétences : PHP, WordPress

Voir plus : i want create a nice template wordpress, if your doing marketing ncv level 2 what minimum percentage you need to obtain in order to go next level 3, create template wordpress freelance, wordpress create page template, create template wordpress, need quick wordpress website, wordpress create blog template, wordpress create sub template, create html email template wordpress, create sub template wordpress, wordpress level navigation code, create blog template wordpress, wordpress create template api, windows media player script voor wordpress, add script post wordpress, wordpress need api, insert script video wordpress, creating level navigation opencms, custom amazon script using wordpress, script migrate wordpress wordpress, sample written script telemarketing, php script inside wordpress, fix php script errors wordpress, parrot written script, ufo template wordpress

Concernant l'employeur :
( 7 commentaires ) Claremore, United States

N° du projet : #12638860

13 freelance ont fait une offre moyenne de 40 $ pour ce travail


SALUTATIONS How are you? I hope you are doing well and this season is going great for you and your business as well. I've carefully gone through the requirements of your project. All the requirements mentioned b Plus

61 $ USD en 1 jour
(86 Commentaires)

Dear Sir. We claim to get it done perfectly for you EXACTLY in the way you want it - Kindly give we a chance and we will prove myself - Ready to prove our words, let's get it done right away and I mean RIGHT AWAY !! Lo Plus

45 $ USD en 1 jour
(162 Commentaires)

Dear Sir, You recently advertised on this site regarding your project requirement, after reading the job description I am confident that I would be a perfect fit for this position as my experience and Plus

50 $ USD en 1 jour
(95 Commentaires)

I am Yogesh sanwal, 5+ years experienced inwebsite and e-commerce development using PHP/MySQL. Take a look to my last work: [url removed, login to view] [url removed, login to view] [url removed, login to view] http://ww Plus

25 $ USD en 1 jour
(121 Commentaires)

Hi, We are an experienced and dynamic team of designers/ programmers, expertise in php, wordpress, Html,xHTML, javascript, jQuery (average years of experience of 10 years) and we work independently, efficiently, and Plus

55 $ USD en 1 jour
(49 Commentaires)

Hi, Greetings for the day. I've an experience of 6 years in the world of designing and development. I've been working the as a WordPress Developer. I've experience with WordPress theme Customization building th Plus

25 $ USD en 1 jour
(27 Commentaires)

Hi, I would like to introduce myself as Arjun, WEB DESIGN & DEVELOPMENT expert from India. Please review my previous work:-[url removed, login to view] Considering your high level job requirements an Plus

25 $ USD en 1 jour
(14 Commentaires)

Dear Project Owner, Hope I am approaching you in best of your health and spirits!! I can be a suitable match for your work as I am having 8 years of experience in Website designing. I completely fit into the requireme Plus

15 $ USD en 1 jour
(30 Commentaires)

Hi there I can do it ASAP in. Please share details. Lets Start................. Thanks...................................................................................................

10 $ USD en 1 jour
(21 Commentaires)
25 $ USD en 1 jour
(3 Commentaires)

++++++++++++++++++++++++++++++WordPress Developer++++++++++++++++++++++++ Hello First question is why me :- 1. 8+ year ex in wordpress. 2. 200+ project complete. 3. Theme development 4. Plugin development and Plus

55 $ USD en 1 jour
(2 Commentaires)

We are proffesional web developer especially in wordpress. We deals in theme development , blog , content and ecomerce site. We have done alot of projects and have experties in it. We can change your psd in interactive Plus

100 $ USD en 1 jour
(1 Commentaire)

Hi, Thanks for providing this opportunity to place bid on your project. I am very much intent to work on your project and could understand that you need website. I have years of experience in WordPress and can provide Plus

25 $ USD en 1 jour
(0 Commentaires)

Hello sir, Greetings !!! Before moving forward, i would like to introduce my self. My self sachin, M.Tech.-Computer Science passed out and working with design and development field since 2006. And believe me when Plus

35 $ USD en 1 jour
(0 Commentaires)