I am working in wordpress, and I need to show post title and its description in a loop.
I don't know how to get the post's title and its description.
My current html code is below:
In the above code inside
tag I need to show the title and in
tag I need to show the description.
Also in readmore I need to give that post's detail page link.
I don't know how to get the post's title and its description.
My current html code is below:
Code:
<div class="col-md-4 col-sm-6">
<div class="single-service-home">
<div class="icon-box">
<div class="inner-box">
<i class="flaticon-gesture-1"></i>
</div>
</div>
<div class="content">
<h3>Charity For Education</h3>
<p>There are many variations of lorem <br>passagei of Lorem Ipsum available <br> but the majority have </p>
<a href="service-details.html">Read More</a>
</div>
</div>
</div>
In the above code inside
Code:
<h3>
Code:
<p>
Also in readmore I need to give that post's detail page link.