diff --git a/search.php b/search.php
index de7873a..4cbbf63 100644
--- a/search.php
+++ b/search.php
@@ -24,13 +24,13 @@ get_header(); ?>
$post = get_post( get_the_ID() );
- // is this a 'person' or a 'page' post type?
- $is_person_post_type = ( $post->post_type == "person" );
+ // is this a 'post' type?
+ $is_post_type = ( $post->post_type == "post" );
$url = get_field('external_url');
if( !empty($url) ){
$url = '';
- }elseif(strlen(get_the_content()) > 0 || $is_person_post_type){
+ }elseif( (strlen(get_the_content()) > 0 ) || ( ! $is_post_type )){
$url = '';
}