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 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 wp_update_post on save_post
- Custom permalink structure only for default posts
- 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
- 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
- Fetch posts from current week (Sunday to Saturday)
- How to display different single post template based on author?
- How to set post expiration date and time and move the page to archive after expiration [closed]
- 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
- Add code just after Post content
- Pagination on single post page?
- 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
- Show all posts in sidebar in single.php
- Replace ‘published on date’ with ‘modified on date’ on Posts
- How can I show many posts an author has per week?
- If modified on same day, show only time
- Using wp_list_categories like the the_category (showing just current categories of a post)
- Display all posts that were published before full post on single.php
- Add Read More Tag to a post content (Single.php)
- WordPress Sidebar menu for posts based on date – guidance needed
- date issue with category post retrival
- How to get date of post when using wp_get_recent_posts()?
- Insert sometext after first h3 in content
- Thumbnail Image to go in the post aswell
- Add get_the_tags() to Single Posts section via functions.php
- Is it possible to customize the post according to post format in single.php?
- Post type no single page
- How to get posts published on the latest date?
- Defined function isn’t showed on page
- How to update all posts at once?
- Assigning Two Different Post Dates For Single Post
- Using system date format
- get_previous_post() while accounting for sticky posts
- Modify this line to give alternate format date?
- Post: how to set created date after post has been published [closed]
- Auto update post title and slug when post status is changed
- wp_query if have posts show date but not in loop
- Retrieving posts by their date and category
- Getting an extra post’s meta data?
- wp-link-pages in header and footer of the post
- Plotting posts on a graph
- Making a wordpress page print friendly
- Order posts by date
- Can I style single post that are in multiple catergories?
- “Home” Page now only displaying the single latest post
- Get post publishing date from within custom HTML block
- Post date automatically +100 years into the future
- How to save template data into wp_post table (post_content column)
- WordPress – When visiting a `single post/ single.php` my category menu item link becomes active
- How do I change the template specifically for single posts?
- Show single post child category from a determined parent
- My website is showing today’s date instead of published date since db migration to a new wordpress
- How can I change the date format of the revision list?
- out of nowhere
- How can get the last post date of the user?
- How to get post creation date?
- How do i search post by jquery datepicker?
- How do I check if a post is password protected?
- display multiple posts and posts content on a single URL
- Compare date of user’s last posts
- Adding post date to ACF field
- Only show related posts when another post has same term
- 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
- Set post beginning date and final date
- Hide Certain Tags on Single Post Page
- Thumbnail With Next/Prev Links Not Showing Next Post?
- Add wp-link-pages to post
- Pagination and Related Posts
- Single post page from static home not working
- 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
- 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