Browse Source

All single templates added

Md Mozahidur Rahman 1 year ago
parent
commit
47cdaa37c4
8 changed files with 84 additions and 15 deletions
  1. 1 1
      archive-alumni.php
  2. 1 1
      archive-event.php
  3. 1 1
      archive-faculty.php
  4. 1 3
      archive-news.php
  5. 1 1
      archive-notice.php
  6. 1 1
      archive-success_story.php
  7. 29 0
      single-alumni.php
  8. 49 7
      single-news.php

+ 1 - 1
archive-alumni.php

@@ -18,7 +18,7 @@ get_header();
 			<!-- breadcrumb -->
 			<nav aria-label="breadcrumb">
 				<ul>
-					<li><a href="#">Home</a></li>
+					<li><a href="/">Home</a></li>
 					<li>Alumni</li>
 				</ul>
 			</nav>

+ 1 - 1
archive-event.php

@@ -20,7 +20,7 @@ get_header();
 			<!-- breadcrumb -->
 			<nav aria-label="breadcrumb">
 				<ul>
-					<li><a href="#">Home</a></li>
+					<li><a href="/">Home</a></li>
 					<li>Events</li>
 				</ul>
 			</nav>

+ 1 - 1
archive-faculty.php

@@ -21,7 +21,7 @@ get_header();
 			<!-- breadcrumb -->
 			<nav aria-label="breadcrumb">
 				<ul>
-					<li><a href="#">Home</a></li>
+					<li><a href="/">Home</a></li>
 					<li>Faculty</li>
 				</ul>
 			</nav>

+ 1 - 3
archive-news.php

@@ -20,7 +20,7 @@ get_header();
 			<!-- breadcrumb -->
 			<nav aria-label="breadcrumb">
 				<ul>
-					<li><a href="#">Home</a></li>
+					<li><a href="/">Home</a></li>
 					<li>News</li>
 				</ul>
 			</nav>
@@ -83,8 +83,6 @@ get_header();
 
 		<section id="all-news" class="container">
 
-			<h2>All News</h2>
-			<hr>
 			<div class="parent-grid">
 				<?php if (have_posts()) : ?>
 					<?php while (have_posts()) : the_post(); ?>

+ 1 - 1
archive-notice.php

@@ -20,7 +20,7 @@ get_header();
 			<!-- breadcrumb -->
 			<nav aria-label="breadcrumb">
 				<ul>
-					<li><a href="#">Home</a></li>
+					<li><a href="/">Home</a></li>
 					<li>Notice</li>
 				</ul>
 			</nav>

+ 1 - 1
archive-success_story.php

@@ -18,7 +18,7 @@ get_header();
 			<!-- breadcrumb -->
 			<nav aria-label="breadcrumb">
 				<ul>
-					<li><a href="#">Home</a></li>
+					<li><a href="/">Home</a></li>
 					<li>Student Success</li>
 				</ul>
 			</nav>

+ 29 - 0
single-alumni.php

@@ -18,6 +18,12 @@ get_header(); ?>
 			<section id="success-single-header" class="container">
 
 				<h5>Alumni</h5>
+				<nav class="breadcrumb" aria-label="breadcrumb">
+					<ul>
+						<li><a href="/">Home</a></li>
+						<li><a href="/alumni/">Alumni</a></li>
+					</ul>
+				</nav>
 
 				<div class="success-img-title">
 					<img src=" <?php the_field('profile_photo'); ?>" alt="">
@@ -146,6 +152,29 @@ get_header(); ?>
 		color: #2F4858;
 	}
 
+	#success-single-header h5 {
+		margin-top: 30px;
+		margin-bottom: unset;
+		font-size: 30px;
+	}
+
+	#success-single-header .breadcrumb {
+		margin-top: 0 !important;
+		margin-bottom: 1rem;
+	}
+
+	#success-single-header .breadcrumb li {
+		padding-top: 10px;
+		padding-bottom: 10px;
+		font-size: 0.8rem;
+		font-weight: 600;
+	}
+
 	/*# sourceMappingURL=single-success.css.map */
+
+	#success-single-header .success-img-title {
+
+		margin-bottom: 2rem;
+	}
 </style>
 <?php get_footer(); ?>

+ 49 - 7
single-news.php

@@ -15,19 +15,21 @@ get_header(); ?>
 
 	<main id="main" class="site-main" role="main">
 
-
 		<div class="sections">
 
 			<section id="news-single-header" class="container">
-				<h5>News</h5>
+				<h5 class="page-title">News</h5>
+				<!-- breadcrumb -->
+				<nav class="breadcrumb" aria-label="breadcrumb">
+					<ul>
+						<li><a href="/">Home</a></li>
+						<li><a href="/news/">News</a></li>
+					</ul>
+				</nav>
 				<h1><?php echo get_the_title(); ?></h1>
-				<p class="subtext">
-					<?php echo get_the_excerpt(); ?>
-				</p>
 				<span class="news-date single"><?php the_field('news_date'); ?></span>
 
 				<hr>
-
 				<div class="news-socials">
 					<div>
 						SHARE:
@@ -35,7 +37,6 @@ get_header(); ?>
 						<a href="#" class="social-icons"><i class="fa-brands fa-twitter"></i></a>
 						<a href="#" class="social-icons"><i class="fa-brands fa-linkedin-in"></i></a>
 					</div>
-
 				</div>
 			</section>
 
@@ -217,5 +218,46 @@ get_header(); ?>
 	}
 
 	/*# sourceMappingURL=single-news.css.map */
+
+	#news-single-header h5 {
+		margin-top: 30px;
+		margin-bottom: unset;
+		font-size: 30px;
+	}
+
+	#news-single-header .breadcrumb {
+		margin-top: 0 !important;
+		margin-bottom: 1rem;
+	}
+
+	#news-single-header .breadcrumb li {
+		padding-top: 10px;
+		padding-bottom: 10px;
+		font-size: 0.8rem;
+		font-weight: 600;
+	}
+
+	#news-single-header h1 {
+		color: #000 !important;
+		font-family: "DM Serif Text", serif;
+		margin-bottom: 1.5rem;
+	}
+
+	#news-single-header h5 {
+		color: #2F4858;
+		font-size: 34px;
+	}
+
+	#news-single-header .subtext {
+		font-size: 22px !important;
+		color: #2F4858 !important;
+	}
+
+	#news-single-header .news-date {
+		display: block;
+		color: #485680;
+		font-weight: 800;
+		font-size: 14px;
+	}
 </style>
 <?php get_footer(); ?>