Here's my code to find pages that have a certain meta value:
<?php query_posts('post_type=page&meta_value=ADHD/ADD'); ?>
I am trying to change it so that it finds pages that have a meta value that is equal to the current page title. Something like this:
<?php query_posts('post_type=page&meta_value=the_title'); ?>
Here is a topic that seems to be close: http://wordpress.org/support/topic/265467. Unfortunately I don't understand it. For example, where in the code does he put
$variable = get_post_meta($post->ID, 'info', $single = true);?