It is based on Simplenotes
the problem is that the value is a string… I get nothing with this:
<?php <br />$Red = 'a:1:{i:0;s:9:"Red";}';
$Red = unserialize($Red);
<?php $pages = get_pages(array('meta_key' => 'color', 'meta_value' => $red[0])); ?>
<?php foreach ($pages as $page): ?>
<?php echo get_the_post_thumbnail($page->ID, 'thumbnail'); ?>
<?php echo $page->post_title; ?>
<?php echo $page->post_content; ?>
<?php endforeach; ?>
?>
what am i doing wrong?