Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Get Posts from Specific Day/Week/Month across Years #45

Open
mrgoff93 opened this issue Mar 6, 2024 · 5 comments
Open
Labels
enhancement New feature or request

Comments

@mrgoff93
Copy link

mrgoff93 commented Mar 6, 2024

Thanks for working on this plugin and sharing your work on its development. Although it was mostly well over my head (I have no experience with this sort of Wordpress development), I went through the 4 videos of your live streams and found it interesting to see how you worked.

My blog is primarily a journal of nature observations that I've been writing and publishing for over 20 years now. I would like to be able to easily pull things together based on time of year and create something like an almanac based on a distillation of my observations.

To that end, I would like to be able to select posts that were published on a particular day (or week, or possibly month) across years.

Since WP_Query() has date parameters for month (1-12), week (1-53), and day [of month] (1-31), I'm hoping it's fairly straightforward to do.

I was thinking I might have a try at editing the example code, AQL-extension example code, but as someone who has never worked on this sort of thing, it may be well above my head.

Thanks

@ryanwelcher ryanwelcher added the enhancement New feature or request label Mar 10, 2024
@ryanwelcher
Copy link
Owner

Thanks for using the plugin. If I understand correctly, you want to be able to select a day for every year? For example, a query that shows all posts from Jan 1 from any year?

@mrgoff93
Copy link
Author

mrgoff93 commented Mar 10, 2024

Yes - that's right. I would like to be able to select all the posts from a selected Month-Day regardless of year.

I think of it as an "On this [selected] day in blog History" sort of option.

Thanks!

@carstingaxion
Copy link

Hello 👋🏻.

I had some similar intend and created a fork of @ryanwelcher|s repo to do that.

Bildschirmaufzeichnung.vom.24.05.2024.22.18.17.mp4

This may (not yet) be 100% of what you @mrgoff93 where looking for, but please have a look at carstingaxion#10 (comment)

@carstingaxion
Copy link

I hope we’ll find a way to merge all of this, because this now is possible with my contextual-query fork and the issue could be closed .

Have a look @mrgoff93

image

@ryanwelcher
Copy link
Owner

@carstingaxion thanks for all of your activity on this as of late! The best way to get this into AQL is via a pull request. You should be able to create one based on your fork.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants