Boy, I never thought that would be so complicated...
I have publications (with different articles in them... but that's another topic)... They are custom types and the issue number is the title...
In them, I have a custom field called "Date Edition" (in French, ex: 1 novembre 2018).
What I need to do is basically replicate that page: hidden link
So, my guess is that I'm going to need two Views: one to get the year and the second one that will get all the publications of that year...
I started by trying to create a filter that would be between January 1st of a specified year (for testing, I entered a constant, like 2017) and december 31st of the same year (I could use January of next year to make sure, but anyway, they are always labeled as the first of the month)...
I then discovered that for a weird reason, we can't filter by date... We need to use a numberic field... So, if I use constant, it works... but, since that will probably be in a View that will call it and pass to is a year, I tried to use shortcodes... BUT, there might be something I don't understand, as if I choose
Date Edition field with number between shortcode for first line, then I can only enter lowercase letter and numbers... so, I used as the parameter "startdate"... and then a second shortcode called "enddate"...
When I insert this View in a page, it automatically gives me ONE field called wpcf-date-edition and the value that I must put there is a timestamp... But there is no way to calculate that... So, from my research, all I can do is create a function that would convert a year to a timestamp... But I'm not totally comfortable with that and with using PHP... hence why I bought Views (Toolset)... Is there a way to do it visually? If not, I have no idea how to create the function (I can put it in Code Snippets plugin) and how to call/use it in my view...
Can you help me? Is there documentation on that?