-
-
-
-
-
-
-
-
-
-
-
-
-
- ';}?>
-
-
-
-
+ section and everything up till
+ *
+ */
+include 'inc/vars.php';
+?>
+
+>
+
+
+
+
+
+ID, 'ogtitle', true);
+if(strlen($ogtitle) > 0) echo '';
+?>
+
+
+
+
+
+
+
+
+
+
+
+
+>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ';}?>
+
+
+
+
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 ''; ?>
-
+