Widget creation for children pages ?
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 !) |
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 ! |
All times are GMT -6. The time now is 02:57 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.