Brustpumpe

Fold Page List - geteilte Navigation

Filed under: Wordpress als CMS — brustpumpe October 29, 2008

Total einfach:

Top Level:
wswwpx_fold_page_list (’depth=1&sort_column=menu_order’);

Sub Level:
$g_page_id = $wp_query->get_queried_object_id();
$ancestorIDs = _wswwpx_page_get_ancestor_ids($g_page_id);
$grandParent = $ancestorIDs[1];
wswwpx_fold_page_list(”sort_column=menu_order&child_of=”.$grandParent);

via: http://wordpress.org/support/topic/143218

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment

You must be logged in to post a comment.