Try this way
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td width="100%" valign="top">
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<h2><a href="https://wordpress.stackexchange.com/questions/188003/<?php the_permalink() ?>"><?php the_title(); ?></a></h2>
<?php the_excerpt(); ?>
<p><?php the_time('F j, Y'); ?> at <?php the_time('g:i a'); ?> | <?php the_category(', '); ?> |
<?php comments_number('No comment', '1 comment', '% comments'); ?></p>
</div>
<?php endwhile; else: ?>
<h2>Oops...</h2>
<p>Sorry, no posts we're found.</p>
<?php endif; ?>
<p align="center"><?php posts_nav_link(); ?></p>
</td>
</tr>
</table>
Related Posts:
- Allow HTML in excerpt
- How to return the_excerpt (without echo)?
- Limit the Excerpt field in WP-Admin in words
- Limit the_excerpt with max of x characters
- Remove at the beginning of the_excerpt() with str_replace
- Automatic Excerpt Not Working
- Trim first 2 words of the exceprt
- Extremely slow pageload for long post when using the_content?
- How to change / delete product short description in Woocommerce
- Why does running get_the_excerpt() when generating JSON file take 28 seconds vs. 599 milliseconds without it?
- Excerpt unwanted text “”
- Word Count Function Preventing Permalink Editing
- Custom excerpt function re-factoring
- How to Display a Single Post Excerpt
- How to remove the excerpt in the Dzonia Lite theme
- How do I Add HTML to the_excerpt() & the_content() Output?
- Mass update excerpt
- How to put “Read more” link in Custom Excerpt inside p tag?
- Error when adding excerpt to the content through functions.php
- HTML tags not showing in excerpt
- Query Pages and post excerpts dynamically
- My custom get_the_excerpt() can’t get excerpt by ID
- Adding Meta Tags to a Post using its Tags, Excerpt and content
- Using the_excerpt() on a page
- How to show an entire post content and not also the excerpt?
- stripping tags from excerpt in WordPress is not working
- Almost Done… Post Format Code
- Automatic excerpt is not shown with the_excerpt() command
- Remove   from the_excerpt
- Shortcodes showing in excerpt despite using strip_shortcodes
- How to remove the space before the ellipsis in excerpt?
- Need help removing […] after excerpt
- Assign Custom classes to every Excerpt
- Problem in replacing the_content with the_excerpt()
- Find and print first entry from WordPress post in custom excerpt?
- Cannot figure out how to add a read more link to a manual excerpt. Please help
- Trying to modify content.php
- How to trim content AND retain HTML?
- How to apply filter
- Add point on excerpt post
- Archive page if else not working for post_excerpt and post_content
- Creating a function that sanitizes the custom metabox excerpt
- How can I add more code to this?
- Merging two excerpt functions to work with conditions
- I can’t seem to get excerpts showing inside get_pages and don’t know why?
- Excerpt all post content Content Same Size without word cutting off
- Remove post image caption from post_excerpt();
- generate excerpt from the part of big text dump that contains keyword
- Custom plugin: Trying to show saved data on frontend
- Is there a browser plugin or method to find which php template an item is coming from?
- WPDB: how to get the value of a field in a custom database table
- Memory errors with media upload, WordPress can’t use more than 96M (while there’s 512 available!)
- Show MySQL errors that occur when I excute $wpdb->insert()
- The text box have space character
- Editing Category RSS Feeds
- 3 blogs same installation, without WP MU
- get_avatar won’t show uploaded avatar, only default gravatar
- How can I fix WordPress installation errors?
- How to show all pages in blog navigation?
- How to insert data into database using wp cron job
- Setting value of session with Ajax not working
- Click a radio button must set textfield value
- Large Woocommerce Site (83,000 items), What Can I Do? [closed]
- How do I find PHP file that contains content of my page?
- Multiple do_shortcode in page template
- is_user_logged_in() not working in AJAX validation call
- Change order of custom submenu link in WP Admin?
- malware undetectable by multiple scans
- How to create a field in customize and show that in header.php?
- I am receiving a pluggable.php warning sign on my only http:// page
- WordPress child pages not working
- Custom map_meta_cap filter does not return [‘do_not_allow’]
- PHP Output also in Child theme, but different
- How to add 3 weeks to the_time() function
- wp nav menu: show submenu below li item
- Show different size featured images (the_post_thumbnail) for 1st, 2nd and 3rd posts?
- WordPress Custom Query: Combining Two Functions
- Reject all malicious URL requests functions.php
- Using some Loop or repeatable fucntion in AJAX and PHP to reduce repeatability
- How do I call a value from the datase using ajax
- Woocommerce disable order item link (backend) [closed]
- Adding ELSE argument to AJAX Live Search for “No results found”
- get_results() doesn’t fetch the result
- Comparison operator != not working in field [closed]
- get_category_parents to array
- Meta query not showing result properly
- How does WordPress rewrite URLS using its PHP scripts
- Splitting table data to pages with numbers
- How do I generate formatted permalinks as specified in backend options?
- Upload images from one server to an other in wordpress
- List all blogs apart from the current blog and main blog in WordPress Multisite
- Custom YouTube Plugin loading different PHP library on live site and localhost
- Issue in url update when using wordpress update query
- Widget edit and add in any page
- How to use Amazon Elastic Transcoder from WordPress using AWS SDK for PHP?
- Active class not working on custom menu link using add_menu_page
- Show items by user_role
- link to page_for_posts
- advanced custom fields: repeater field within conditional statement [closed]
- How to pass value to add_filter wpcf7_form_tag from another function?