Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

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 03:23 AM.


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