There are two options:
- Create a separate
single.php
for posts and show the date there only. - Use a condition:
if ( is_single() )
{
?><div class="date"><strong><?php the_date(); ?></strong></div><?php
}
Related Posts:
- Determine if page is the Posts Page
- How to get ‘post_content’ without stripping tags?
- Post preview mechanism architecture
- Post featured image column on admin post list page
- Search Custom Post Type Pages and Custom Fields in 2 Dropdowns?
- Counting words in a post
- the_post_navigation seems to ignore same category filter
- How to programmatically create posts in wordpress?
- How to Sort Custom columns in admin
- Shortcode Not displayed at the Right Place [duplicate]
- How to avoid duplicate posts on front page?
- is there a better way of combining this?
- How to output comments number of a post per day?
- Remove some articles from the list in WPAdmin for a user
- Pagination – Posting First Page Content
- get_permalink executes link without https
- Auto Refresh Post List after X seconds
- How to show video from specific category on sidebar?
- Display posts with comments closed, with pagination?
- How to show featured image in custom post type dashboard post page
- Notification to Admin or Author upon new post [duplicate]
- Displaying a widget only on long posts (over X characters)
- Remove permalink from images when inserting into post
- How to create a load more post entries like Twitter?
- WordPress blog post cloned and stolen?
- What is the Better way to manage posts in WordPress?
- Is there a way to apply WordPress categories at the block level?
- Featured Image uploaded, attached and set but only appearing in the media library
- Insert woocommerce products programmatically with featured image and gallery
- wp-cli post create & media import issues
- Getting the current author (it has changed) of a post, not the original author
- Post body text occupying featured image space before it loads
- Hightlight unread posts or new posts since last login
- User levels and post visibility
- Multi row post list
- Editing 375 posts simultaneously? Maybe from the database?
- Why does WP_Post not contain its permalink?
- What happens if I delete all the rows that represents a post revision from the posts table into WordPress database?
- How to make default “Privacy Policy Page” a normal page?
- How to create wordpress class with post meta? [closed]
- Changing default WP-Site creation date
- In post.php how can I remove onbeforeunload?
- Custom taxonomy archive page problem
- post__in not working with pre_get_posts, but post__not_in does work
- Query posts and filter at query time by value of custom meta
- All posts display default index.html
- Delete post revisions only for a single post
- Blog page error ‘Index of /blog’
- wp_set_object_terms NOT working on CPT, but wp_set_post_terms does
- Update post meta within save_post action
- tribe_get_start_time displays the current date and time on other post types than tribe_events
- Auto delete posts based on content text
- Count the number of a post types associated with another post type
- How to get the latest URL of my blog?
- How do post IDs work in WordPress?
- Get Users Post ID
- Hide parts of the post content after typing it’s name or searching it by category
- search content of pages and list in wp-admin
- add_rewrite_rule and template redirect not working
- adding my posts (author posts) in menu
- How to separate each individual blog post?
- Allowing Users to Register Themselves and Post : Does WordPerss Handle these Problems?
- get parent fields title, content excerpt etc
- Changing permalink of WordPress
- Rest API Paginate until all posts are imported
- Group first, 2nd, 3rd, etc posts by category terms
- Query to fetch custom taxonomy along with post title
- exclude particular category in api
- wp_trash_post() duplicates post to trash
- How to backup WP blog posts to computer, not new site
- Make categories appear random
- Create Posts from API response without duplicates
- I want to change the WordPress comments file
- How to find the edit link of the WordPress Post from the URL
- Blog Page doesn’t show summary but full content
- Get posts from category from custom query
- Changing a users posts to drafts upon role change
- Show 5 posts and than 3 posts offset with pagination
- How to show posts ordered by random [duplicate]
- Alternative content between posts no repetition
- Start loop from specific post ID
- Connection dropped due to file size
- How to Get Position of a Post from a category and tag
- Custom author search
- WordPress loop uses unmodified posts array, why?
- Create new post on user registration
- Ajax – Post Categories and Load More
- Skip posts, but keep posts per page
- My blog “page” used to show a list of posts, but now it’s just showing the page content?
- how to add a facebook page latest posts into my wordpress site
- Displaying categories items among posts
- Display ONLY Latest Post From Several Categories
- Combining multiple conditional statements [closed]
- WordPress Page Column Problem [closed]
- If meta_key exists then don’t select this post?
- Is there a block to print post link standalone in a block theme?
- Export Posts Without Categories In An XML File
- How to change Post title background size?
- Making a private post visitable by link?
- Batch Scanning and Deleting Empty WordPress Posts