Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
gettting the year/date for a post not working in my WP install #1
Not sure why but the line
When I changed it to $post_year = get_the_date('Y');
I'm on WP 5.0.3.
Hmmm, and I have no idea why I wrote what looks redundant, probably lifted from another example.
Made an adjustment in the plugin, thanks. It should not be needed, but just to be sure, I am passing the ID of the post too