Get posts by meta value except one post [closed]

If you want to get the post for an actor for example, there is different solutions, but in my opinion, the best is to use tag as actors names, or post meta. The current solution I give to you is using WordPress search system and try to find posts.

// We try to get post for Christian bale as a keyword
$args = array(
    'post_type'     => 'post',
    'post__not_in'  => array(get_the_ID()), // We don't need the current post
    's'             => 'christian bale', // We put the Christian Bale search here
);

// Or as a meta value
$args = array(
    'post_type'     => 'post',
    'post__not_in'  => array(get_the_ID()), // We don't need the current post
    'meta_key'   => 'director',
    'meta_value' => 'christian bale',
);

$films = new WP_Query($args);

// If there's posts, show it
if($films->have_posts())
{
    while($films->have_posts())
    {
        $films->the_post();
        the_title();
        the_content();      
    }
}

// Reset query
wp_reset_query();

Using this after your post, or in your post will allow you to show post containing “christian bale” text.