I’m afraid it won’t be possible without any coding, but… It shouldn’t be so hard to achieve.
I would approach it this way:
- Schedule post for publication using native post date.
- Store the real publication date as some custom field.
- Add custom action to
transition_post_status
hook and replace the publish date with the one stored in custom field.
.
function replace_publish_date( $new_status, $old_status, $post ) {
if ( 'publish' == $new_status && 'future' == $old_status ) {
wp_update_post( array(
'ID' => $post->ID,
'post_date' => get_post_meta( $post->ID, 'real_publish_date', true )
) );
}
}
add_action( 'transition_post_status', 'replace_publish_date', 10, 3 );
Related Posts:
- Unable to select an old date in wordpress
- How to get date for each post?
- Converting Unix timestamp to wordpress date
- Modify Date Format to German
- Serve visitor post time adjusted to their timezone
- Styling the date format with date_i18n
- Date and time format for UK in a custom post type [closed]
- What are the “U” and “G” time formats?
- date() returns incorrect value if used from WordPress theme, but correct otherwise
- How to get date using timezone saved in options? [duplicate]
- Format Date for Manual Insertion into post
- Translate current_time
- Display published time for today’s posts only
- convert time to WordPress user’s local time
- Show different time stamp based on time
- Can’t convert ACF datepicker value to DateTime oject – gives me a boolean
- Count time from registration date to today
- Update existing post times to random times?
- Timezone for Plugin
- How to get Unix Local Time?
- How to display Date and Time in Tamil Language?
- Get current week’s day and time outside the loop
- suffix title with “EXPIRED” when scheduled post has reached it’s published date
- Use the_date with link
- automatic send email at custom time
- Change the date and time in wordpress
- How to second orderby in “pre_get_posts” by meta value or combine single date and time to timestamp
- Advanced Custom Fields and date picker, show posts only if the day is today no matter the year
- Get system timestamp in wordpress
- How to customize Date Format for American visitors?
- Java SimpleDateFormat for YYYY-MM-DDThh:mm:ssTZD
- How do I use PHP to get the current year?
- R Programming Error in cov.wt(z) : ‘x’ must contain finite values only
- Convert a Unix timestamp to time in JavaScript
- Convert number to month name in PHP
- Post doesn’t show date if there’s another post with the same date
- The purpose of the post_date_gmt?
- Why my uploaded picture was loaded into /uploads/2015/02 not /uploads/2016/01?
- How to integrate get_post_time with date_i18n function?
- Permitting WordPress to accept dates outside of 1902-2038
- Get date of last update outside of loop
- WordPress Custom Query to show posts from last x years
- How to show the real post date in a draft
- How to display date such “x ago”
- Date, Time, and Timezones
- Keeping post_date same as the pending post_date on privately publishing the post
- How to remove published date from RSS feed
- Date comparison : which date format?
- XML export posts from one single day
- Bulk edit post date in wordpress
- Automatically move pending posts after 30 days and, update the post date, when users update the posts
- month name translation
- Count days from registration date to today
- WordPress returns a wrong date
- Remove “at” string from wordpress comment date
- How to add 2 hours to the wordpress time formed with current_time(“mysql”, false)?
- Date query not inclusive despite parameter being true
- WordPress post dating – pre 1901?
- Use meta_query to display events by date in custom field
- Unable to set right time in admin and frontend template
- the_modified_date returns published date
- Page Revision date displaying on google search
- Change date from 2015/02/23 to “1 min ago”
- Display page only if user registered before a specific date
- Display post date as 04/26/2013
- Calculate future date
- Advanced custom fields: Customise date picker’s start date (need to choose year 1500 onwards) [closed]
- timestamp and scheduled post irregularities
- wordpress convert timestamp to date not correctly
- display month in french in wordpress/php?
- Show post updated date instead of published
- Get date numerical and separate?
- Add a link to display posts with a specific tag within a date range
- About Time conditionals
- How can I show many posts an author has per week?
- If modified on same day, show only time
- After wp_insert_post(), date_i18n() and date() outputs are adjusted to GMT
- Convert GMT time to local time in Gutenberg Block Editor
- Mini app that shows one unique quote each day. 56 rotating posts rotating for each themed weekday. It works, but I need your advice
- How to add a sortable date column in an admin page?
- Events are all showing the current date
- Print last modified date only on posts
- Make WordPress use timezone for email Date header
- Do multiple jobs on date change without WordPress cron job
- Escaping date string in url with wordpress
- Separately formatting date elements
- Is there anything special I have to think of when setting post_date_gmt when inserting a new post?
- Copyright: Get first and last date of post type
- Wrong date returned by get_the_time
- Get_the_date doesnt show todays date [closed]
- How replace post date with event date
- Are there any know limitations on the date field, especially how old dates can be?
- Conditional: IF post creation date is in the first half OR last half of the year [closed]
- Return date in French
- How to restrict an author scheduling their post date to a maximum X days ahead from the current date
- Changing default WP-Site creation date
- How do I publish portfolio items with a future date?
- Change post date for testing purposes
- How can I compare publish and update dates for a single post?
- Bulk Updating Post Date in 1 day Increments