Assuming you know the post ID for the specific post/type it’s easy enough yes, simply call get_the_date()
with a specific ID.
Adjust 1 to the appropriate value.
<?php echo get_the_date( '', 1 ); ?>
Related Posts:
- How to get posts published between a date and today?
- How to detect single.php (but not single-portfolio.php)?
- How to get post creation date?
- Changing the post date and time with function
- Custom Single Post By Category
- Is it possible to Schedule Attachments in WordPress?
- Using single.php from plugin folder instead of default template folder
- using wp_update_post on save_post
- Custom permalink structure only for default posts
- Related Posts by Multiple Tags?
- How do I create a link that will always show the latest post?
- How to put last edited entry on top of the blog-post list?
- Query posts from current year
- Update existing post dates to random dates
- Post X of Y in single.php / sidebar.php
- HTML code in Custom field
- featuring old articles without messing up with the archive
- How to have different content in the loop and single
- Single.php Active Category Class
- How to display an icon when a new post is published and then remove it when a specific time past?
- How to output comments number of a post per day?
- Human Time Diff, change mins to minutes
- Display custom post types by date field
- How to add shortcode tags in single.php [closed]
- get_terms parent for current product only
- How can I display a specific user’s first published post?
- custom single.php not working
- Can wordpress differentiate between added and updated posts?
- Fetch posts from current week (Sunday to Saturday)
- How to display different single post template based on author?
- how load content as pop-up using ajax
- How to set post expiration date and time and move the page to archive after expiration [closed]
- Disable single post page
- how to know if the post has pagination () or not
- Remove arrows from previous and next link
- “next_posts_link” and “previous_posts_link” display me NOTHING
- How to disable single post view in wp
- Custom Post Templates
- Add code just after Post content
- Pagination on single post page?
- Display post from specific date
- Get random posts between specific dates / of specific age
- Restrict post navigation to current sub menu
- XML-RPC and post_date
- Automatically republish old posts
- Can’t get the_content of the parent page from its single post?
- Show all posts in sidebar in single.php
- Replace ‘published on date’ with ‘modified on date’ on Posts
- pre_get_posts query between 2 dates (date stored in custom post meta)
- How can I show many posts an author has per week?
- If modified on same day, show only time
- How to show single post page as home page
- Using wp_list_categories like the the_category (showing just current categories of a post)
- How can I make a post that belongs to a category or have specific tags, display different from the other single posts?
- Display all posts that were published before full post on single.php
- Update all comments time to random dates?
- Add Read More Tag to a post content (Single.php)
- WordPress Sidebar menu for posts based on date – guidance needed
- If in_category not working for multiple single.php pages
- date issue with category post retrival
- Single.php – Get Current Parent Category
- How to get date of post when using wp_get_recent_posts()?
- Worpdress function for difference dates
- Insert sometext after first h3 in content
- Thumbnail Image to go in the post aswell
- Compare date of user’s last posts
- Adding post date to ACF field
- Get the category of post
- Only show related posts when another post has same term
- List posts of assigned categories in list of all categories on single.php
- Is possible to do this from function.php
- How can I set and update the the_date according to a custom field of the post
- Query post for today, if no post get the previous one
- Custom Single Post Type not referring to single-post-type.php File
- Set post beginning date and final date
- Hide Certain Tags on Single Post Page
- Skip posts, but keep posts per page
- How to display an icon when a new post is published and then remove it when a specific time past?
- Thumbnail With Next/Prev Links Not Showing Next Post?
- Add wp-link-pages to post
- Pagination and Related Posts
- How to organise post by category and date
- Display metabox with date
- Single post page from static home not working
- Get current post’s child page?
- 1 post, 2 templates
- Last three posts not being put in order by date. How to fix this?
- How to change text (date) in post base on the day
- How to display a certain template element only for posts published within certain time range?
- the_time() cannot be placed correctly
- Wrap div-tag around posts in page
- Insert Shortcode exactly at the end of the content
- WordPress More tag doesn’t work on Single post
- How to remove a date from wordpress post
- No matching template found when using single.php
- Show Next/Previous without Link
- Exclude posts by date – related post
- How to get total posts count for each date?
- How to get orders that contains a product by date?
- Display related posts that match as many similar tags as possible?