Kaynağa Gözat

Faculty archive info from api in homepage

Md Mozahidur Rahman 1 yıl önce
ebeveyn
işleme
7fbba940ce
1 değiştirilmiş dosya ile 3 ekleme ve 6 silme
  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>