Because you have not write any description function, thats why you are not getting any description of posts. This function is use to call the description of posts
the_content(__('Continue Reading'));
ABove function will show you complete post description But if you don’t want to show whole post description and only want to show excerpt (few lines of description) then use this function instead
the_excerpt();
This function will show you few lines for posts. Add one of these function inside while loop (before endwhile;
). To be more clear in you code the_title
function is use to display the title of post and the_time
and the_author
function use to display post publish time and author of posts respectively. Add my given function after the_title
function line or after the_author
function line as per your requirement.
Related Posts:
- Print Current Post Index number within Loop
- How set featured posts using checkbox in post edit screen?
- WP_Query: Why is sticky post not first item in loop?
- Display all posts from specific categories on a page
- Skip post in loop and mixin later
- How do I reorder (pop and push) items from WP_Query?
- How to exclude latest x posts from a paginated query?
- Display content from a specific category
- Reverse chronology of post listing
- posts page – different lengths of excerpt
- how to display full post with pagination on home page
- This AJAX Code Doesn’t Work – Looking for elegant solution
- How to use alternate post layout at key points in post loop?
- Showing random content / pictures from earlier posts in a sticky post?
- Double count view in archive.php
- Converting multiple loops into one single loop with pagination
- Group posts by year in loop
- Check to see if specific loop has less than certain amount of posts
- Different style for most recent article
- Differentiate between posts and pages in search results
- Loop through all product posts?
- get_next_post() and get_previous_post() return wrong posts
- Converting a dynamic piece of code using WordPress Loop into a static one using Post ID
- Display post from current category and same tag?
- Inserting custom data to the_post() during loop
- Display post category in foreach loop with category link
- Displaying Latest Posts on a Page
- Display all posts that were published before full post on single.php
- Two loops, one AJAX loop, exclude posts in first loop from second loop, loops are in different files
- Post Loop Missing Most Recent Post
- Get Image tag from content of post
- Start WP Pagination From Number 1 in URL
- List authors with the last post title and order by last post date
- How to make the first post in the loop be styled like a “new / featured” post?
- “Right Way” to make custom Loop respect reading settings inside admin panel?
- How to setup a query to output posts by groups of five?
- Only display sticky post or latest post in custom loop
- How to order posts in an arbitrary order?
- How to make a sum of all posts displayed in a loop
- Wrong post title displayed from loop
- why does wordpress ignore the post args?
- First x post with another template then the others
- Loop doesn’t show title of second post and posts thereafter
- Grid post page on WordPress with Bootstrap, the_excerpt(); Problem
- Loop parent terms {display posts} AND loop child terms {display posts}
- How to add a class to each individual post?
- add bootstrap post slider with tabs
- How to add add more properties to WP_Post object in search results loop
- Add Blog to WP homepage Manually
- How can I remove the first two words and shorten get_the_title()
- How to show all posts by author on buddypress profile with navigation
- Page and post loop same template
- ACF to select posts not displaying on blog page
- How to add automatically bootstrap 4 order-lg-1 and order-lg-2 classes for columns in foreach loop based on the count?
- Querying another post category to match current post and display in loop
- Cannot implement byline into posts container in single.php
- how to handle the loop using filling bootstrap grid structure?
- WordPress loop not working on static front page
- Custom WP_Query not working correctly
- Display specific posts on home page
- The loop starting at a certain ID
- How come this loop is not working? [closed]
- Loop not showing first post
- posts going to 2 pages/categories only show up in 1
- Custom Post Type Single Loop Outputting Wrong Post
- Using the loop to set locations for all posts on a single google map
- Get current taxonomy and display query accordingly
- Shortcode for Comments and Comment Boxes in Post Loop
- Multiple post in One Loop in wordpress
- Display specific posts based on an ID of another post
- Diffrent layout for posts [duplicate]
- How to distinguish pages created by woocommerce?
- Moved a website and excerpts don’t work for old posts
- how to call recent post content in a loop ( only the content before read more tag)
- post->ID displays the same ID number for every post
- Show post excerpt
- Show author bio box
- Use special template for the first post in the loop
- Can the_post_navigation() be outside of the loop?
- WordPress infinite post cycle problem
- How to get all posts in gallery post format template
- Show Posts By Custom Field
- List of authors posts minus very latest
- Querying multiple categories in the WP loop if one of the category IDs is dynamically obtained
- Post are not showing up
- show latest authors blog post
- Post gallery as carousel
- Showing content from WordPress ruins page CSS using WP_Query, without, content does not show
- Add something after all sticky posts in The Loop
- Why I obtain this WP_Query strange behavior trying to select posts having a specific tag?
- Display Post by menu order
- How to inject a post within a loop
- Getting rid of the blog page entirely
- Is there a way to separate wordpress titles from their posts?
- adding custom meta as well as looping through posts
- Redirecting posts in WordPress to a specific page
- ‘posts_per_page’ => ’10’ does not show any post
- When and how will php code in a user made WordPress page be executed?
- Query wordpress posts on static page
- posts_per_page – Repeats only first posts ‘post__in’ array