diff --git a/header.php b/header.php index 1891262..c5758e5 100644 --- a/header.php +++ b/header.php @@ -1,91 +1,91 @@ - section and everything up till
- * - */ -include 'inc/vars.php'; -?> - -> - - - - - -ID, 'ogtitle', true); -if(strlen($ogtitle) > 0) echo ''; -?> - -<?php wp_title( '|', true, 'right' ); ?> - - - - - - - - - - -> - - - - - - - -
- - -
-
+ section and everything up till
+ * + */ +include 'inc/vars.php'; +?> + +> + + + + + +ID, 'ogtitle', true); +if(strlen($ogtitle) > 0) echo ''; +?> + +<?php wp_title( '|', true, 'right' ); ?> + + + + + + + + + + +> + + + + + + + +
+ + +
+
diff --git a/search.php b/search.php index f103f8d..4cbbf63 100644 --- a/search.php +++ b/search.php @@ -21,18 +21,25 @@ get_header(); ?> post_type == "post" ); + $url = get_field('external_url'); if( !empty($url) ){ $url = ''; - }elseif(strlen(get_the_content()) > 0){ + }elseif( (strlen(get_the_content()) > 0 ) || ( ! $is_post_type )){ $url = ''; } + ?>

- 0 || !empty($url)) echo '
'; ?> + 0 || !empty($url) || $is_person_post_type) echo ''; ?> - +