Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,200,196 members, 7,974,030 topics. Date: Sunday, 13 October 2024 at 02:00 PM

How Do I Display Top Level Pages In Wordpress? - Webmasters - Nairaland

Nairaland Forum / Science/Technology / Webmasters / How Do I Display Top Level Pages In Wordpress? (804 Views)

Lagbook Acquires Top-level Domain Name Naijabook [dot] Com For $10,000 USD / Lagbook Acquires Top-level Domain Name Naijabook.com For $10,000 USD / Free .ng (nigerian Tld - Top Level Domain) Registration Till ---extended--! (2) (3) (4)

(1) (Reply) (Go Down)

How Do I Display Top Level Pages In Wordpress? by adeara(m): 7:53pm On Nov 26, 2012
Pls somebody sud help me.I have a wordpress website dat i only want to display top level pages but unable to get it done.Online i was told to edit wp list page but i cant locate it in my wp theme editor. Can somebody help me solve dis problem? am using twenty ten theme. tank u
Re: How Do I Display Top Level Pages In Wordpress? by Nobody: 8:46pm On Nov 26, 2012
Why don't you use a premium theme? What's your wordpress site about and do you have a link?
Re: How Do I Display Top Level Pages In Wordpress? by adeara(m): 10:30pm On Nov 26, 2012
d site is about hats globally so d url is http://www.hatsglobally.com. i dont want d navigation bar 2 display subpages & subsubpages 2 avoid cluster, i want 2 create d navigation link witin d post
Re: How Do I Display Top Level Pages In Wordpress? by Nobody: 10:51pm On Nov 26, 2012
Okay, will check by tomorrow. Right now I'm already in bed using my mobile.
Re: How Do I Display Top Level Pages In Wordpress? by barapistis(m): 6:06am On Nov 27, 2012
Brand_new: Okay, will check by tomorrow. Right now I'm already in bed using my mobile.


guy i no no watin this guys they talk about here...i get enough issues abeg...they even blocked my ip
Re: How Do I Display Top Level Pages In Wordpress? by adeara(m): 10:59am On Nov 28, 2012
i am still expecting somebody with knowledge on how to edit WordPress php code to help me out. thank u
Re: How Do I Display Top Level Pages In Wordpress? by Nobody: 2:07pm On Nov 29, 2012
Crime 1: Never fail to consult Wordpress Codex ever,
first you need to create a menu with a code
wp_nav_menu( array( 'theme_location' => 'top', 'menu_class' => 'menu-top-right social clearfix', 'container'    => '', ) );

and in the backend it will create a Menu there for you to populate so where you want menus, just use that code and for God sake pls use Wordpress Codex those guys suffered to document it so its only fair you use it. it'll solve 90% of yours problems and use a very good IDE that can generate PHPDoc eclipse with Zend PDT can. take care
Re: How Do I Display Top Level Pages In Wordpress? by Nobody: 2:12pm On Nov 29, 2012
so in the html

<div id="topmenu">
wp_nav_menu( array( 'theme_location' => 'top', 'menu_class' => 'menu-top-right social clearfix', 'container' => '', ) );
</div>


In the Codex you can add more options, and if you are feeling incredibly brave you can use the "Walker_Nav_Menu" you extend the class process each menu item and add classes or effect them, that's meant for advance usage though.

1 Like

Re: How Do I Display Top Level Pages In Wordpress? by adeara(m): 6:12pm On Nov 30, 2012
pls where do u expect me 2 paste each code? and on which line? tank u
Re: How Do I Display Top Level Pages In Wordpress? by Nobody: 6:48am On Dec 01, 2012
adeara: pls where do u expect me 2 paste each code? and on which line? tank u
Paste it in the header.php file so that all templates will read from it
Re: How Do I Display Top Level Pages In Wordpress? by adeara(m): 3:23pm On Dec 01, 2012
than u so much pc guru i got it using custome menu

(1) (Reply)

You need To Be On Bloggerslab / Need A PHP Mailer / Please I Need Your Reviews On Www.warehouse.com.ng

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 14
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.