You mean custom field? If that’s the case, here’s some sample PHP…
This function can go in your theme’s functions.php, call it in a template where you need the list.
You’ll have to customize it as needed. And add a SQL clause to check the post category.
function my_custom_links() {
global $wpdb;
$querystr = "
SELECT wposts.*
FROM $wpdb->posts wposts, $wpdb->postmeta wpostmeta
WHERE wposts.ID = wpostmeta.post_id
AND wpostmeta.meta_key = 'custom_field_key'
AND (wpostmeta.meta_value = 'custom_value_1' OR wpostmeta.meta_value = 'custom_value_2')
AND wposts.post_status = 'publish'
AND wposts.post_type = 'post'
ORDER BY wposts.post_title ASC
";
$postlist = $wpdb->get_results($querystr);
if (! $postlist) return;
echo "<ul>";
foreach ($postlist as $fp) {
$fp_id = $fp->ID;
echo '<li><a href="' . get_permalink($fp_id) .
'" title="More about ' . $fp->post_title .
'">' . $fp->post_title . "</a><br />";
echo '</li>';
}
echo '</ul>';
}