|
@@ -12,60 +12,61 @@ get_header();
|
|
|
?>
|
|
|
|
|
|
|
|
|
- <main id="main" class="site-main" role="main">
|
|
|
+<main id="main" class="site-main" role="main">
|
|
|
|
|
|
|
|
|
- <div class="sections">
|
|
|
-
|
|
|
-
|
|
|
+ <div class="sections">
|
|
|
+
|
|
|
+
|
|
|
|
|
|
- <section id="all-faculties" class="container">
|
|
|
-
|
|
|
-
|
|
|
+ <section id="all-faculties" class="container">
|
|
|
+
|
|
|
+
|
|
|
|
|
|
<h2>List of Faculty Members of Department of CSE</h2>
|
|
|
|
|
|
<hr>
|
|
|
+ <div class="grid">
|
|
|
|
|
|
- <?php if (have_posts()) : ?>
|
|
|
- <?php while (have_posts()) : the_post(); ?>
|
|
|
+ <?php if (have_posts()) : ?>
|
|
|
+ <?php while (have_posts()) : the_post(); ?>
|
|
|
|
|
|
- <div class="grid">
|
|
|
|
|
|
|
|
|
<div class="faculty-stub">
|
|
|
-
|
|
|
+
|
|
|
<div class="stub-img-holder">
|
|
|
<img class="stub-img" src="<?php the_field('profile_photo'); ?>" alt="">
|
|
|
</div>
|
|
|
-
|
|
|
+
|
|
|
<div class="archive-faculty-details">
|
|
|
<a class="faculty-name" href="#"><h3><?php echo get_the_title(); ?></h3></a>
|
|
|
|
|
|
<span class="faculty-designation">
|
|
|
<?php the_field('designation'); ?>
|
|
|
</span>
|
|
|
-
|
|
|
+
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
- </div>
|
|
|
- <div class="grid">
|
|
|
+
|
|
|
+ <?php endwhile; ?>
|
|
|
|
|
|
- </div>
|
|
|
- <?php endwhile; ?>
|
|
|
+ <?php the_posts_navigation(); ?>
|
|
|
|
|
|
- <?php the_posts_navigation(); ?>
|
|
|
+ <?php
|
|
|
+ else :
|
|
|
|
|
|
- <?php
|
|
|
- else :
|
|
|
+ get_template_part('template-parts/content', 'none');
|
|
|
|
|
|
- get_template_part('template-parts/content', 'none');
|
|
|
+ endif;
|
|
|
+ ?>
|
|
|
+ </div>
|
|
|
+ <div class="grid">
|
|
|
|
|
|
- endif;
|
|
|
- ?>
|
|
|
+ </div>
|
|
|
</section>
|
|
|
</div>
|
|
|
</main><!-- #main -->
|