Browse Source

faculty profile 32

Rousnay 1 year ago
parent
commit
a2551b8d13
1 changed files with 1 additions and 1 deletions
  1. 1 1
      single-faculty.php

+ 1 - 1
single-faculty.php

@@ -14,7 +14,7 @@ get_header(); ?>
 	if (function_exists('get_field')) {
 		$pid_content = get_post();
 		if (has_blocks($pid_content)) {
-			$blocks = parse_blocks($pid->post_content);
+			$blocks = parse_blocks($pid_content->post_content);
 			foreach ($blocks as $block) {
 				if ($block["blockName"] == "acf/faculty-member") {
 					$login_id_e = $block["attrs"]["data"]["login_id"];