Filter attributes for mailpoet_archive shortcode
complete
A
Anton Milardovic
We use the same mailing list for our "BENN" school newsletter and school "newswire" announcements. The mailpoet_archive shortcode will list all posts sent to the same mailing list. It would be great to be able to filter them based on at least title (ie. title_contains="BENN") so that the newsletter archive page only shows the newsletters.
It would also be great if the archive could have a date range filter (date_from="" & date_to="" perhaps?), as every year I actually convert the newsletters to PDF and delete them from mailpoet in order to keep the archive clean.
See the page where this would help us here: https://stbenedict.wcdsb.ca/about-us/benn-newsletter/
Thanks for an otherwise fantastic tool!!
Ján Mikláš
complete
Since version 4.27.0, mailpoet_archive shortcode now supports multiple options to limit the output.
You can read more in our docs https://kb.mailpoet.com/article/217-display-a-list-of-past-newsletters-on-a-page
https://github.com/mailpoet/mailpoet/releases/tag/4.27.0
Ján Mikláš
Thanks for sharing the feedback, Anton Milardovic. While this is not yet released, you can take a look at the draft pull request for possible filter options - https://github.com/mailpoet/mailpoet/pull/5146. We'll aim to release this during September.
Ján Mikláš
in progress
R
Roland Gehweiler
Controlling the tag [mailpoet_archive] would be great, by date or number of newsletters displayed, would be perfect.
A
Alex Brown
Date range would be very useful!