2018-12-22, 04:31:33
I found an easier way to display only posts with a date in the future instead of filtering the other ones out (as with nm_custom_display_future). I edited line 25 in functions.php in /plugins/news-manager/inc/ and i just turned the < sign into the > sign.
With the method you suggested it displays only the first post that is in the future but with the method i just described it displays all future posts.
I have just one problem. With my method as it works now, the entries are in the wrong order. So, an entry with the date 2019-01-05 is at the top and an entry with the date 2018-12-28 is below it while it should be the other way round.
Can anyone help?
With the method you suggested it displays only the first post that is in the future but with the method i just described it displays all future posts.
I have just one problem. With my method as it works now, the entries are in the wrong order. So, an entry with the date 2019-01-05 is at the top and an entry with the date 2018-12-28 is below it while it should be the other way round.
Can anyone help?