Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Sidebars & Widgets »

Widget creation for children pages ?


  #1  
Old Mar 19, 2009, 10:13 AM
Loo
 
2 posts · Mar 2009
Hi !

1st of all, thanks for this really nice theme, it's really fun to work with

I'd like to know if it's possible to create my own widget ... ?

Actually, i've built my website with pages rather than posts ...

My question is : I'd like to have the children pages of the parent page clicked displayed in the left sidebar. I use the "get_children_pages" wordpress native function but the result is displayed on top of the site !

Any idea ?

THANX again !

Here's my webiste (installed yesterday ...) : http://www.algorythme.org/test/

(Excuse my poor english !)
  #2  
Old Mar 20, 2009, 08:08 AM
Loo
 
2 posts · Mar 2009
That's ok ! I found a solution !

Just change the wp-includes/widgets.php native wordpress file and you're done !

Search "wp_list_pages" and simply add :

&child_of='.$_GET['page_id']

That's it !

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Home Link in Pages Widget alecf Sidebars & Widgets 1 Jul 14, 2009 07:45 PM
[SOLVED] Adding space between the list of pages in the left hand side text widget box norwichkaren Sidebars & Widgets 1 Jul 14, 2009 06:36 PM
Auto link creation perdox808 Atahualpa 3 Wordpress theme 1 Apr 15, 2009 05:40 PM
Color of children of current page in menu BradBrown Page & Category Menu Bars 0 Mar 22, 2009 02:38 PM
How to add 'Home' to 'Pages' Widget DavePorter Sidebars & Widgets 3 Mar 20, 2009 05:40 PM


All times are GMT -6. The time now is 02:19 AM.


Powered by vBulletin® Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.