post_content); foreach ($blocks as $block) { if ($block["blockName"] == "acf/faculty-member") { $login_id_e = $block["attrs"]["data"]["login_id"]; } } } } $response_employeeInfo = wp_remote_post( $employee_info_api, array( 'body' => array( 'user_login_id' => $client_id, 'login_id' => $login_id_e, 'auth_token' => $auth_token ) ) ); $employeeInfo = json_decode(wp_remote_retrieve_body($response_employeeInfo), true); $response_employeeJournal = wp_remote_post( $journal_api, array( 'body' => array( 'employee_id' => $login_id_e, "year" => "", 'user_login_id' => $client_id, 'auth_token' => $auth_token // 'page' => 1, // 'limit' => 1 ) ) ); $employeeJournal = json_decode(wp_remote_retrieve_body($response_employeeJournal), true); $response_employeeConference = wp_remote_post( $conference_api, array( 'body' => array( 'employee_id' => $login_id_e, "year" => "", 'user_login_id' => $client_id, 'auth_token' => $auth_token // 'page' => 1, // 'limit' => 1 ) ) ); $employeeConference = json_decode(wp_remote_retrieve_body($response_employeeConference), true); ?>


Publication

Journal Papers

"; echo "{$item['Year']}"; // Iterate over the JournalList array within each item foreach ($item['JournalList'] as $journal) { // Access individual elements of each journal echo ""; echo "

{$journal['PaperTitle']}

"; echo "
"; echo "

"; $journalKeyword = explode(',', $journal['Keyword']); foreach ($journalKeyword as $keyword) { if ($keyword) { echo "{$keyword}"; } } echo "

"; echo "

Publication: {$journal['JournalTitle']}

"; echo "

"; echo "Author List: "; // Iterate over the Author array within each journal foreach ($journal['Author'] as $author) { // Access individual elements of each author $authorName = $author['AuthorName']; // Process or output the values as needed echo " $authorName,"; } echo "

"; } echo "
"; } ?>

Conference Papers

1) { $item_count = "multiple"; } echo "
"; echo "{$item['Year']}"; // Iterate over the JournalList array within each item foreach ($item['ConferenceList'] as $conference) { // Access individual elements of each journal echo ""; echo "

{$conference['PaperTitle']}

"; echo "
"; echo "

"; $conferenceKeyword = explode(',', $conference['Keyword']); foreach ($conferenceKeyword as $keyword) { if ($keyword) { echo "{$keyword}"; } } echo "

"; echo "

Conference: {$conference['ConferenceName']}

"; echo "

"; echo "Author List: "; // Iterate over the Author array within each journal foreach ($conference['Author'] as $author) { // Process or output the values as needed echo " {$author['AuthorName']},"; } echo "

"; } echo "
"; } ?>