Bladeren bron

Faculty archive info from api in homepage

Md Mozahidur Rahman 1 jaar geleden
bovenliggende
commit
7fbba940ce
1 gewijzigde bestanden met toevoegingen van 3 en 6 verwijderingen
  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>