try
$future_timestamp = strtotime('+1 week', get_the_date('Y-m-d'));
echo date('Y-m-d', $future_timestamp);
or
$future_timestamp = get_the_date('U') + (60 * 60 * 24 * 7);
echo date('Y-m-d', $future_timestamp);
Related Posts:
- Separately formatting date elements
- Comment time is same as the post time
- Display the last date, regardless of articles
- Proper formatting of post_date for wp_insert_post?
- What’s the difference between get_the_time and get_the_date?
- Default timezone hardcoded as UTC?
- How to convert DateTime() to display time based on WordPress timezone setting?
- Get date of last update outside of loop
- Running WP Cron on specific local time
- Converting Unix timestamp to wordpress date
- How to display date such “x ago”
- Date, Time, and Timezones
- What is the best workaround for supporting all existing DATEs?
- Date format with genitive case of the month name is not working
- Is it safe to use ‘date_default_timezone_set’ in plugin file?
- Modify Date Format to German
- How do I display posts by day?
- Serve visitor post time adjusted to their timezone
- Echo Messages By Checking current_time()
- How to add 2 hours to the wordpress time formed with current_time(“mysql”, false)?
- Date query not inclusive despite parameter being true
- Finding difference in days
- How to get time difference between publish date and now?
- Use meta_query to display events by date in custom field
- How would I bulk change posting date?
- If else statement based on date_diff value
- How do I create a dynamically-updated copyright statement?
- How do you format the date as a two digit year? (ex. “10.12.10” instead of “10.12.2010”)
- How can I display the current time? [closed]
- Creating a function within functions.php to change the date
- Date and time format for UK in a custom post type [closed]
- WordPress outputs mm/dd but it should be opposite
- date() returns incorrect value if used from WordPress theme, but correct otherwise
- Advanced custom fields: Customise date picker’s start date (need to choose year 1500 onwards) [closed]
- How to get date using timezone saved in options? [duplicate]
- timestamp and scheduled post irregularities
- display month in french in wordpress/php?
- Set the publication date independent of the scheduled publication date
- Get date numerical and separate?
- How can I show many posts an author has per week?
- Timezone UTC to PST
- Convert GMT time to local time in Gutenberg Block Editor
- UTC/local time in Worpdress
- Convert CST published date time to MST timezone
- Display date and time in comments
- Time Issue xx hours ago
- Get WordPress current date/time
- How can i display time minus 6 hours
- Show the_date with link
- Format Date for Manual Insertion into post
- Translate current_time
- Display time as “12:00 noon” instead of “12:00 pm”
- How do I make a page not visible at a certain time? [closed]
- Display published time for today’s posts only
- Changing default WP-Site creation date
- wordpress blog posts’s time
- Where does the time get pulled from in the_time()
- How can I compare publish and update dates for a single post?
- Human time difference in months instead of days. How?
- Bulk Updating Post Date in 1 day Increments
- How to change the date and time in REST API for comments?
- How to setup language of a date in a plugin
- Default Timezone setting in WordPress – is that global?
- Date is wrong on ‘all posts’ page
- Randomizing Post Links Outside of Loop – No Author or Date
- Date time doesn’t show correctly in qTranslate [closed]
- Timed post and tweet?
- wordpress built-in Jalali date convertor
- How to set post date in post_type so that it’s same as latest post in category
- WordPress Translate Date Function is giving Error
- WordPress wrong dates bug
- Apply filters on date format
- get_the_date() returns english Year & Day when language is Arabic
- Compare ACF Date field to today or yesterday
- How to fix mysql2date() for 5.3.2 version?
- Can’t convert ACF datepicker value to DateTime oject – gives me a boolean
- Count time from registration date to today
- Can’t add to time? [closed]
- Timezone for Plugin
- How to get Unix Local Time?
- How do you update post date (year only) in a separate custom field?
- Render the published date/time formatted in ISO 8601 using Timber (.twig)
- Change the year of the whole site
- How to display Date and Time in Tamil Language?
- Include post_date in search
- Display Year and Month from custom field + Age Calculator
- Calculate how much time passed comparing WordPress comment and current time
- Use the_date with link
- automatic send email at custom time
- Block post updates and deletion after a set period
- 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
- Query sub subpages based on specific date?
- Adding a class to last post in the_date
- Get system timestamp in wordpress
- Can someone explain why wordpress uses two column for storing time values?
- Standard API for rendering a date form
- Date is showing in unreadable format. How to convert to readable date?
- Convert custom field date format to “WordPress default”