ID;
?>
query('post_type=page&orderby=menu_order&order=asc&post_parent=' . $post->post_parent);
while ($query->have_posts()):
$query->the_post();
?>
- >
query('category_name=' . $list_category_slug);
while ($query->have_posts()):
$query->the_post();
$thumbnail = false;
$library_pics =& get_children('post_type=attachment&post_mime_type=image&post_parent=' . get_the_id() );
$item_image = array_pop($library_pics);
if ($item_image)
$thumbnail = $item_image->guid;
$page_thumbnail = get_post_meta(get_the_id(), 'portfolio_pages_thumbnail', true);
if (!empty($page_thumbnail))
$thumbnail = $page_thumbnail;
?>
-
Category for this profile page doesn't exist.