ID; while($current_page) { $page_query = $wpdb->get_row("SELECT ID, post_title, post_status, post_parent FROM $wpdb->posts WHERE ID = '$current_page'"); $current_page = $page_query->post_parent; } $parent_id = $page_query->ID; $parent_title = $page_query->post_title; if ($wpdb->get_results("SELECT * FROM $wpdb->posts WHERE post_parent = '$parent_id' AND post_status != 'attachment'")) { ?>

Subpages

ID) { ?> Back to

' . get_bloginfo('name') . '', single_cat_title('', false) ) ?>

You are currently browsing the weblog archives for the day .

You are currently browsing the weblog archives for .

You are currently browsing the weblog archives for the year .

You have searched the weblog archives for ''.

Archive for .

You are currently browsing the weblog archives for '%tagdisplay%', 'default'=>', %tagdisplay%', 'last'=>' %operatortext% %tagdisplay%')); ?>.

You are currently browsing the weblog archives.


Longer entries are truncated. Click the headline of an entry to read it in its entirety.

RSS

» post_content) ?> # ',''); ?>

flickr

Del.icio.us

RSS
get_var("SELECT link_id FROM $wpdb->links LIMIT 1"); if($links_list_exist) { ?>

Related Entries

Social Bookmarking