It’s a bit hard to answer with not much information, but here are some things you can try and ask yourself:
- Reset your permalinks (Settings > Permalinks > Save Changes)
- What happens when you set WP_DEBUG to true in your wp-config.php file?
- Is this a custom post type, or was anything recently changed that may have caused this?
Related Posts:
- posts_per_page displays only 2 posts instead of 4 posts
- insert thumbnail image from php script
- How to modify this function to exclude also the post belonging to a specific category?
- Inject post (from specific category) between posts in Loop
- Build a content and excerpt grid loop with paging and options for # of posts
- Why does “get_option” pull in the older value in options.php, rather than the newer value, on submission of a form?
- How to add 2 posts under another post? Formatting should be intact
- Disable External Pingacks on WordPress Posts and Only Allow ‘Self Pings’
- if statement on database query
- New Plugin Review
- Use template for posts with a particular category grandparent
- Count number of published posts by type
- Redirect to another page using contact form 7? [closed]
- Security for data obtained from the database
- Which PHP page is the Default Posts Page
- Display Data in Table from External Database in WP using Shortcodes
- Function works everywhere, how to keep it to execute when creating a new post
- How to retrieve the data from the sever and displaying it in a page?
- Pagination on Custom Post
- WP_Query: getting posts where custom field exists
- WP_Query | IF within $args array | Help me only add specific arguments if the argument is not blank
- Array to string conversion on array_map
- Store metakey value as an array
- Increment paged on WP_Query
- change the default order of posts only for specific categories
- How to use mysql LIKE with wpdb?
- Reading settings in the home page precisely home.php
- Post not populating for custom post type based on category selection
- Custom query vars filters problem with pagination
- get post id from wp_insert_post for get_template_part
- Modify main query before it run without pre_get_post
- How to add data to a custom field at the wp_users table?
- Do not duplicate posts with multiple categories in multiple loops
- array_rand not working correctly?
- WP_Query() load selected post
- How to get post category list as select in front-end?
- Why when I create a new post I found 2 record related to this post into the posts database table?
- Displaying Event within two given time frames
- SQL error with custom query
- Wp Query : Order by distance lat,lon
- remove specificly the last tag in all posts
- Let current user know pending posts counts using wp_query
- Output product category link from WP_Query
- Add posts to custom table in database instead of wp_posts
- Isn’t Returning Value While Using SELECT COUNT(*) FROM {$wpdb->prefix}
- “pre_get_posts” orderby custom date field in different format?
- Database entry removed on browser refresh, Ajax PHP jQuery
- Change wordpress’ database data using ajax – how to get current user id?
- How to exclude meta no index pages from wp_list_pages
- How to Send Pingbacks for all Posts in WordPress?
- Create a new account on site B with data from the purchase of site A
- WordPress sorting posts by date and title using a dropdown
- WP query posts BUT show the most recent and one per author
- Ajax filter with loadmore button
- Query on a repeater date (acf)
- Delete post meta by serialized meta value
- Need to show 7 posts from actual date
- Check the database for a postmeta field
- Can I disable auto increment of WordPress Posts Database to utilize previously deleted records?
- Send POST request to Flask app from functions.php file
- Getting info about selected posts using one WP_Query
- Modify post image in full size
- How to center all text body in single.php at once?
- WP_Query To Display Product Of Brand On Taxonomy Page
- How to display last whole post on the homepage
- Custom Post type Ajax search results
- Getting page / post URL on publish and / or update
- Displaying POST content with HTML tags and all
- Generate random access token to a post page
- Using Tag Groups: Displaying groups and adjacent tags of current post
- How do I get the featured post to share on Social Media and show on Individual Post pages?
- My query keeps looping infinitely ! how to stop it?
- How can I display a query in a page?
- direct query to post_meta table
- Only Get A Certain Number of Posts From WP_Query
- Display Year and Month from custom field + Age Calculator
- Can’t put a hyperlink on Featured Post’s Image
- Published custom posts missing
- WordPress get_post_meta issue
- List of child pages fetch next results at link click
- List sibling pages widget, exclude current page
- Query category-specific, paginated posts and allow viewer to change sort order
- Insert wordpress tags below posts via functions.php
- Check if values exists DB
- Why does WP_Query show only the same post even with different categories and endwhile?
- Trying to see if page is category or single and displaying title with appropriate heading tag
- How to get category pages to look like a certain archive page?
- Custom query_posts() parameter
- How to display the date under the post title?
- Add multiple HTML attributes to an Elementor button
- WooCommerce: write featured image dimensions to custom fields in product’
- Execute multiple PHP Snippets causes error?
- How do I get a function to work in single.php
- a problem in class in class-wp-hook.php
- transition_post_status hook, works – but not if the post is new
- /page/2/ redirect to 404
- How to use a conditional statement in a post loop but not count towards the “posts_per_page” if false
- Add adjacent post function inside custom recent post function
- Bulk data save in custom table
- wp_logout action hook is not firing