Jelajahi Sumber

Faculty archive info from api in homepage

Md Mozahidur Rahman 1 tahun lalu
induk
melakukan
7fbba940ce
1 mengubah file dengan 3 tambahan dan 6 penghapusan
  1. 3 6
      page-template/page-home.php

+ 3 - 6
page-template/page-home.php

@@ -203,12 +203,9 @@ get_header(); ?>
                                 </div>
                                 <a class="faculty-name" href="<?php echo get_the_permalink(); ?>">
                                     <div class="faculty-details">
-
-                                        <h2><?php echo $FullName; ?><span class="degree">
-                                                <?php if ($Title == "Dr.") {
-                                                    echo ', PhD';
-                                                } ?>
-                                            </span></h2>
+                                        <h2><?php echo $FullName; ?><span class="degree"><?php if ($Title == "Dr.") {
+                                                                                                echo ', PhD';
+                                                                                            } ?></span></h2>
                                         <h3><span class="degree"><?php echo $Designation; ?></span></h3>
 
                                     </div>