I would like to list all pages that contain a certain custom field value. I am no PHP hack but I've come up with the following code snippet:
<?php wp_list_pages('meta_key=tags&meta_value=blue'); ?>
This works fine, it lists all pages that have EXACTLY the value "blue" in the custom field "tags". But how can I modify the snippet to list all pages that CONTAIN the value "blue"? That way I could assign multiple tags (e.g. "blue, big, tasty") to one page.
Or is there any better way to list pages based on tags?