There must be something playing with your query (using pre_get_posts) as the default in WP is to load the last created post.
Use this WP_Query instead
$the_query = new WP_Query( 'posts_per_page=1&post_type=post' );
if ( $the_query->have_posts() ) {
while ( $the_query->have_posts() ) {
$the_query->the_post();
?>
<h4>Posted on <?php the_time('F jS, Y') ?></h4>
<p><?php the_content(__('(more...)')); ?></p>
<?php
} else {
?>
<p><?php _e('Sorry, no posts matched your criteria.'); ?></p><?php
<?php
}
wp_reset_postdata();
Related Posts:
- Can you have a blog in a subdirectory hosted on a different server?
- Move WordPress from /blog folder to root but leave post at /blog
- Moving my current wordpress blog to a subdomain
- Could not load the preview image. Please reload the page and try again – error on image upload
- How to display blog posts on a dedicated page?
- Two Blog Layouts, Same Theme
- Show first sentence of blog post in blog roll
- Keep WYSIWYG on Blog Page
- Detect archive and category page
- Custom URL for all posts in WordPress
- List all blog categories
- A garbled copy of MY blog on this site? [closed]
- A different thumbnail to the blog index vs. the image on the top of a post?
- Deleting a blog
- Why does this snippet in a blog post make WordPress crash?
- How to move all theme templates into a subfolder WP
- Where can I find my blog page?
- How to display the posts and news in front page?
- How do I change the taglines next to the featured image on my posts?
- WordPress Blog – Grid View
- inviting people to blog and editing roles
- Removing blog page images
- problem with wordpress author profile page URL
- How to make blog posts appear under different menu items?
- Portfolio & Blog cohabitation : multiple single.php files?
- How to add list of other blogs, with latest posts from those blogs, to a single page of my website?
- Put post urls into their own category
- I want to display my 2. latest post
- Why the Gutenberg Editor is Not Available In My WP Site?
- How to prevent WordPress from auto creating ol li on list elements?
- How do I add a sign up form to my blog?
- WordPress blog assign unqiue body class
- I am getting “0” in the starting of my post description at home page
- How can I make my Blog category unindexed in Google?
- Recent Posts Listed by Author, Can I exclude authors?
- How to modify display of blog listing page?
- Internal and External Blog
- Can I make a parent page of the blog and have it display a paragraph/thumbnail of certain entries?
- How can I set a vote on the comments?
- Making a column vector in wordpress blog using Latex
- How do you allow users to subscribe to a WordPress blog?
- Blog on a separate server from WooCommerce WITHOUT effecting SEO?
- what is the address of default home page?
- Creating new page overwrites old page
- How to set condition for all posts with one label
- Blogs got Deleted automatically
- Integrate wordpress blog into existing html site
- Retrieve details of my wordpress site
- Blog post stuck in drafts
- I need to customize wordpress “previous” “next” links
- I Have No List Of Blogs – Empty Blog Folder Recreating Itself
- How to change the layout of blog posts to that a compressed snippet shows rather than full text
- Can I create mini-WordPresses on my WordPress?
- How to create library of HTML snippets to use in posts
- Adding a WordPress Blog to a current WordPress site
- Two blogs one page
- Blog Displays Only Sticky Posts
- Uploading a external squeeze page within WP
- Posts page drop down is not selecting the selected page
- URL of blog when using index.php as blog and front-page.php as homepage
- Not showing up on WordPress Reader
- Blog as a part of a WordPress site?
- Fatal error: require() [function.require]: Failed opening required in wordpress
- how to show content of latest blog post with read more link?
- Auto-posting Facebook posts to blog [closed]
- How to access the so called “Posts page”
- Home page of blog displays no posts
- How to turn off “you have to login to comment” on blogs
- How can I get blog content from SFTP?
- How do I convert a mathematical Microsoft Word document to a WordPress blog post?
- Inserting ads within content
- How to change the blog title with add_filter? details below
- Remove certain post-formats from showing in blog?
- Putting a Category of posts under a Page
- Should I install blog on subdomain or subdirectory?
- How to remove in-line style of WordPress’s post content only?
- What is the “pub” theme? [closed]
- Display Only Certain Category In a Custom Page Template
- How to order posts on each different category?
- Customizing a blog page layout
- How do I turn off the blog and archives?
- Add posts from other WordPress blog to the current one
- How to create a blogs category page with Blog-Types Plugin
- Changing The Default Header POST Title and Description text by category in wordpress
- excude a specidic category from showing in the “relative posts”
- Sticky Post Doesn’t always work
- Import WordPress content to my website
- Single Post Gallery Using Shortcode
- blog post not accesible on click [closed]
- Displaying Most Recently Edited Post
- How to generate an HTML link automatically from URL in a users’ post
- How to publish pages under a subdomain url?
- Why the blog posts is not showing?
- Page updates appear in Preview but not live version?
- Can I add a blog subfolder to my website and use a different theme
- How do I make just one of my pages a Blog Page?
- Custom navigation bar via wp_list_pages is broken for blog roll
- Add /blog to the “post” post type url
- I want to change the background color on my blog posts
- Posting a comment on a blog post loads another blog post and comment is linked to the new blog post