It’s not displaying, because there is ‘the_post()’ called after first ‘of ( have_posts() )’ (3rd line)
This call makes the loop move to the second post. So if you do the proper loop afterwards, the first post has already been done
Related Posts:
- how to override woocommerce specific loop or archive-product.php [closed]
- How can I create an alternative home page?
- Multiple Queries and Excluding Repeating Posts?
- get_option issues
- Show post page only if the user has bought a specific product
- Adding Pagination on a Custom Author Page
- Exclude custom taxonomy tag from loop
- Loop through custom fields with similar label / common chars in label
- Pagination Issues using WP_Paginate Plugin
- CPT Loop with ACF and passing ID between Loops
- How can I display a PHP foreach loop’s answers by AJAX
- toggle Multiple Loop with tittle
- How to Fix an Archive.php That Displays All Posts?
- Exclude current post but keep the same posts-per_page amount
- Make the home page template my archive/category page template without code duplication
- wordpress custom fields loop
- How to show related post with category DESC (ASC) IDs of ID current post
- Avoid showing the same phrase in the loops
- Multiple loops on same category with different design
- Custom query pagination with php parameter as arg problem
- Multisite – Getting Meta query to select from wp_2 tables
- How to append the excerpt to the content in the single post page?
- Multiple Owl Carousels on the same page with navigation problem
- Pull A Single Post Prior To Running wp_query
- Highlight specific user with custom field value
- custom loop issue
- Secondary loop doesn’t work
- Post thats in Two Categories, only want to display name for one
- Loop display only 5 posts
- Limitless amount of posts in custom archive page
- Is there anything that Joomla or Drupal can do that can’t be done in WordPress? [closed]
- Any post install tips after installing WordPress 3.0.1?
- Version Control: Entire site or just pieces?
- Getting a stack trace when an error occurs?
- Customizing the Subject Field in WordPress’ Notification Emails?
- How to move wp-content (or uploads) outside of the WordPress directory
- Maintaining synced staging/production WP sites
- WordPress Multi Site Best Practice
- Sub posts and non unique post_name
- How to let a single post have its own domain name
- Redirect to requested page after (custom) login
- Page load requires a trailing “/” [closed]
- How to instantly delete posts/pages permanently?
- How to retrieve an image from a post and display it before excerpt of a post? [duplicate]
- Comments Confusion
- Adding all sub-pages to the menu manager
- Hide devices selection from customizer?
- Add options to the “Screen Options” section on the “Menus” editor
- Split Conference WordPress Page in different years
- Make custom user table column filterable
- large chunks of text went missing
- How to change popular term checklist title when edit post?
- Save & Publish disabled for two dimensional array Customizer
- Deep customization of wp-login.php
- Custom CSS at Appearance > Edit CSS is missing after update [closed]
- How to store page visit counts?
- Load File (Function & Variable Value) from Child Theme
- Featured Image If Else Condition
- how to add custom logo to my template
- WordPress noob, assign custom stylesheet using @import or if? Didn’t work for me
- I want to print a message in post ” After one month from publish date”
- How to query details of images in gallery that is attached to a post
- How to create custom search page
- Where to store reusable content that is not a page
- WordPress broken after changing URL
- How to make the Pages in WordPress Customized?
- Custom “wp_login.php?action=lostpassword” and reset password
- Custom theme – how to link the image without posting it
- wp_enqueue_script JS code runs too late (after user begins interacting)
- Get custom text if in Category
- Conditional Logic on CF7 dropdown options
- Change admin_title of a plugin using code snippet/functions
- Validate user login in php
- Adding a custom field to a slug
- Query Product categories what have a custom field
- How to create custom backend admin menu in different languages?
- Make Widget appear on Dashboard
- Delete page titles
- Woocommerce dependent attributes
- WordPress Customizer: Check for value of CSS selector and replace it
- How to add custom Author Info Box to blog posts “only” and NOT custom post templates
- Bio comes up when the visitor clicks on a picture
- How to find and replace (or add) specific word in a specific category?
- WooCommerce – Adding custom HTML to specific product pages
- How do I move my sites to a child theme without loosing customisation?
- Displaying all Custom fields on post except some
- How to create new page can get custom field other post in wordpress
- How to appoint different users to different pages?
- Display single post inside accordion based on form submission results
- Is there a way to hide a user’s posts from their Activity feed?
- customize footer widgets area
- Setting up staging area
- Accessing + retrieving custom database in WordPress
- updated permalink structure on localhost does not work
- Word Press Theme Customiser and Child theme Function.php
- Security Issues with custom user role or changing core role capabilities?
- adding new html css to wordpress section from codepen [closed]
- Disable all Fonts that are Standard in WordPress and replacing them with a custom Font?
- Custom Menu (only showing direct cildren) ACF not showing
- Custom product sorting archive page