I have a Page based WordPress site.
I am retrieving Pages using get_pages like this:
$PageOptions =array('meta_key'=>'type','meta_value'=>'lead');
$pages = get_pages($PageOptions);
foreach ($pages as $page) {
echo $page->post_content;
}
However this Page also has other key/value pairs like 'image' & '2008/08/pix.jpg' which does not appear in the get_pages object [i.e. not present in any way in dump_var($page)]. All I can get at are the pair I made the get_pages selection with.
What do I need to do to get at two or more meta_key/meta_values in a Page (not a Post and not in The Loop)?
Beano