All Collections
Knowledge Base
Wordpress only shows dates until one year ahead
Wordpress only shows dates until one year ahead

Show events on your website that planned over one year from now

Geertje avatar
Written by Geertje
Updated over a week ago

Our WP plugin limits the events to the next year. So events more than one year from now, will by default not be shown.

There is a way to change this manually. You would have to go into the Wordpress plugin, so sometimes it might be useful to get advice from a developer - the one who created your website.

You will find more on displaying an artist's website in this article.

Step 1

You need to manually edit this file on your server:

Step 2

Change the number of days:

`$to = date('Y-m-d', strtotime(date("d-m-Y", time()) . " + 365 day"));`

You can do that in your admin, if you use this to get to the plugin editor in WP.

wp-admin/plugin-editor.php?file=aboss_wordpress-master%2Flib%2Faboss%2Fapi%2Fevents.php&plugin=aboss_wordpress-master%2Faboss_events.php

After changing the number of days, your events will be shown on your website. It might take some time before all is loaded.

Did this answer your question?