Just got this "fresh" task this morning.
I have a website that using the following syntax
$thenews = get_page_by_title(date("Y"));
But in the website it's displaying not the latest news.
What other parameter should I include in this syntax?
To be honest I just start explore WordPress this morning but quite familiar with PHP
Another problem is I only have the CMS module from vendor,
I have no source file to play along.