Forums

Wordpress Coding Question

Have technical questions about setting up a website, hosting or other issues, so you can promote your mlm opportunity? We've got answers for you here.

Moderator: admin

Wordpress Coding Question

Postby Cesar Fasano on Wed Nov 10, 2010 9:08 am

Hello everyone!

I have a kind of technical question for those of you that
use Wordpress...

I want to list 'child pages' in my site's pages, so when a
visitor clicks in any of my site's sections (pages) he/she will
see the child pages listed...

How do I change the code for that? I have found that this resource
seems to work but I haven't been able to edit it the right way.

Has anyone else experienced this situation?

Thanks in advance!

Cesar
"Like" my Facebook Fan Page Here and get insightful business-related (free) info that might help you...
User avatar
Cesar Fasano
Company: PRO U
Contribution Level: 3
 
Posts: 68
Joined: Thu Mar 12, 2009 10:03 pm

Re: Wordpress Coding Question

Postby Peter Neuenswander on Wed Nov 10, 2010 10:03 am

Hey Cesar,

I don't understand exactly how you want those child pages to be seen... do you want the child pages to drop down from the parent page in the nav bar?

If that is the case... my theme has that function built in. If you'd like a copy of it send me a PM and I'll email it to you.

Peter
User avatar
Peter Neuenswander
Company: AdzZoo
Contribution Level: 2
 
Posts: 67
Joined: Wed Jul 08, 2009 9:45 pm

Re: Wordpress Coding Question

Postby Richard Bravo on Wed Nov 10, 2010 10:40 am

.

Maybe this will help you Cesar ...
http://wordpress.org/extend/plugins/pag ... reenshots/

*That link is directly to the WP Plugin catalog and linked to the screenshot tab so you can see exactly how it looks.

This adds a pagination widget to your sidebar.
The unique feature is that when a visitor is on a page it will display the child pages associated with it in a static menu. When the visitor goes to another page only child pages associated with the page they are on are displayed. So if there are no child pages, then all you see are the root pages in the menu.


As for hard coding it into the page template, if that's what you want to do, then yes, you'd have to manipulate at the code level which is a little harder to answer because a lot has to do with the theme you are using and just how much flexibility you would have based on its core code.

But see if that plugin can help first ... getting in the code can be a pain. ;)

.
.
Tired of struggling? Maybe It's Time For a Change...
Create a residual income of $100k+ within 12-15 months
with a simple system and the support you need ➠ Learn More
Image
User avatar
Richard Bravo
Company: Life Force International
Contribution Level: 9
 
Posts: 2327
Joined: Thu Feb 26, 2009 2:00 am

Re: Wordpress Coding Question

Postby Peter Fuller on Wed Nov 10, 2010 6:19 pm

If you want to list subpages on the parent page just do a search in your WordPress Plugin's "Add New" for "List subpages"

Lots of good plugins there.
Peter Fuller MBA CA
http://PeterFuller.org
User avatar
Peter Fuller
Company: AdzZoo
Contribution Level: 3
 
Posts: 218
Joined: Tue May 13, 2008 7:13 pm

Re: Wordpress Coding Question

Postby John Smith on Mon Nov 22, 2010 7:43 pm

If you are using WP 3.0 then the ability to have child pages appear in your Navigation menu is built in. If you aren't seeing that option, you may want to upgrade your site to WP 3.0.

If you are talking about your sidebar area then you probably just need to select a plug-in that can give you a special widget that you can place in your sidebar.

Personally, I like this one http://wordpress.org/extend/plugins/hie ... reenshots/

Good luck
James
Get your FREE NERVE CENTER WEBSITE before they are gone!

John Smith
Contribution Level: 1
 
Posts: 7
Joined: Sat Sep 12, 2009 6:57 pm


Return to Tech Advice

Who is online

Users browsing this forum: No registered users and 1 guest