Browse Source

Notice - single template fix

Md Mozahidur Rahman 1 year ago
parent
commit
0045f3a663
1 changed files with 9 additions and 36 deletions
  1. 9 36
      single-notice.php

+ 9 - 36
single-notice.php

@@ -40,39 +40,39 @@ get_header(); ?>
 
 
 					<!-- main title -->
 					<!-- main title -->
 					<div class="main-title">
 					<div class="main-title">
-						100% tuition fee and other fees waiver for meritorious and poor students of underdeveloped regions of bangladesh.
+						<?php echo get_the_title(); ?>
 					</div>
 					</div>
 
 
 					<div class="publish-date">
 					<div class="publish-date">
 						<span class="title">Publish Date :</span>
 						<span class="title">Publish Date :</span>
-						<span class="date">January 28, 2024</span>
+						<span class="date"><?php echo get_the_date(); ?></span>
 					</div>
 					</div>
 
 
 					<div class="links">
 					<div class="links">
 
 
 						<!-- message -->
 						<!-- message -->
 						<a href="mailto:#">
 						<a href="mailto:#">
-							<img src="./img/envelope-solid.svg" alt="">
+							<img src="<?php echo (get_template_directory_uri()) ?>/img/envelope-solid.svg" alt="">
 						</a>
 						</a>
 
 
 						<!-- printer -->
 						<!-- printer -->
 						<a onclick="window.print()">
 						<a onclick="window.print()">
-							<img src="./img/print-solid.svg" alt="">
+							<img src="<?php echo (get_template_directory_uri()) ?>/img/print-solid.svg" alt="">
 						</a>
 						</a>
 
 
 						<!-- facebook -->
 						<!-- facebook -->
 						<a href="#">
 						<a href="#">
-							<img src="./img/facebook-f.svg" alt="">
+							<img src="<?php echo (get_template_directory_uri()) ?>/img/facebook-f.svg" alt="">
 						</a>
 						</a>
 
 
 						<!-- twitter -->
 						<!-- twitter -->
 						<a href="#">
 						<a href="#">
-							<img src="./img/twitter.svg" alt="">
+							<img src="<?php echo (get_template_directory_uri()) ?>/img/twitter.svg" alt="">
 						</a>
 						</a>
 
 
 						<!-- linkedin -->
 						<!-- linkedin -->
 						<a href="#">
 						<a href="#">
-							<img src="./img/linkedin-in.svg" alt="">
+							<img src="<?php echo (get_template_directory_uri()) ?>/img/linkedin-in.svg" alt="">
 						</a>
 						</a>
 
 
 					</div>
 					</div>
@@ -97,41 +97,14 @@ get_header(); ?>
 				<div class="main-comp">
 				<div class="main-comp">
 
 
 					<div class="feature-image-holder">
 					<div class="feature-image-holder">
-						<img src="./img/research_03.jpg" alt="">
+						<img src="<?php echo get_the_post_thumbnail_url(); ?>" alt="">
 					</div>
 					</div>
 
 
 
 
 					<!-- notice details -->
 					<!-- notice details -->
 					<div class="notice-details">
 					<div class="notice-details">
 
 
-						<h2>Lorem ipsum dolor sit amet.</h2>
-
-						<p>
-							Lorem, ipsum dolor sit amet consectetur adipisicing elit. Excepturi, beatae. Inventore nesciunt provident sequi repudiandae molestias, hic aut fugiat aliquid optio amet libero distinctio illum corporis corrupti numquam reiciendis? Unde inventore qui sequi quae totam rem commodi? Amet molestiae quas sapiente ipsum et error dolores eligendi, excepturi suscipit ea repellat.
-						</p>
-
-
-
-
-						<h5>Lorem ipsum dolor sit amet.</h5>
-
-						<p>
-							Lorem ipsum dolor sit amet consectetur adipisicing elit. Mollitia hic quo enim praesentium saepe magni dicta deserunt earum at minus pariatur dolorum rem repudiandae aperiam odio, labore, maiores sed nihil cupiditate ab necessitatibus sapiente maxime harum laborum? Dolorem reiciendis praesentium, voluptatibus necessitatibus distinctio, voluptatum harum natus earum velit quasi soluta, atque tempora eum dolor totam. Ex, necessitatibus. Cumque, soluta? Quaerat blanditiis, animi cumque voluptatem dignissimos unde eaque necessitatibus et numquam!
-						</p>
-
-						<h5>Lorem ipsum dolor sit amet.</h5>
-
-						<p>
-							Lorem ipsum dolor sit amet consectetur adipisicing elit. Mollitia hic quo enim praesentium saepe magni dicta deserunt earum at minus pariatur dolorum rem repudiandae aperiam odio, labore, maiores sed nihil cupiditate ab necessitatibus sapiente maxime harum laborum? Dolorem reiciendis praesentium, voluptatibus necessitatibus distinctio, voluptatum harum natus earum velit quasi soluta, atque tempora eum dolor totam. Ex, necessitatibus. Cumque, soluta? Quaerat blanditiis, animi cumque voluptatem dignissimos unde eaque necessitatibus et numquam!
-						</p>
-
-						<h5>Lorem ipsum dolor sit amet.</h5>
-
-						<img src="./img/campus_03.jpg" alt="">
-
-						<p>
-							Lorem ipsum dolor sit amet consectetur adipisicing elit. Mollitia hic quo enim praesentium saepe magni dicta deserunt earum at minus pariatur dolorum rem repudiandae aperiam odio, labore, maiores sed nihil cupiditate ab necessitatibus sapiente maxime harum laborum? Dolorem reiciendis praesentium, voluptatibus necessitatibus distinctio, voluptatum harum natus earum velit quasi soluta, atque tempora eum dolor totam. Ex, necessitatibus. Cumque, soluta? Quaerat blanditiis, animi cumque voluptatem dignissimos unde eaque necessitatibus et numquam!
-						</p>
+						<?php the_content(); ?>
 
 
 					</div>
 					</div>