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

Plugin request: Advanced Query Loop #71

Open
ryanwelcher opened this issue Oct 16, 2024 · 0 comments
Open

Plugin request: Advanced Query Loop #71

ryanwelcher opened this issue Oct 16, 2024 · 0 comments
Labels
[Component] Editor Related to using the post editor or site editor

Comments

@ryanwelcher
Copy link
Collaborator

ryanwelcher commented Oct 16, 2024

As we're adding new post types to the Developer blog (see #68 and #69), we will need more control over the query loops in the various templates to be able to show more than a single post type. This is currently not possible with the existing Query Loop block.

I would like to request that we add my Advanced Query Loop plugin to the site. This would provide the control we need without having to push code. Changes can be more easily reverted and revisioned as part of the content. Additionally, adding items to the main query requires that the homepage template inherit the query which it currently does not.

I understand that there will need to be a code-level review of the plugin and all of the code is available here for review.

There are some controls for creating post meta queries that may cause some concern. To that end I would propose that 1) it's a small user base for this site and we don't use any post meta queries so we can just not use that feature or 2) I can introduce some code-level controls that turn off those features ether via a PHP constants or some other means.

Happy to discuss further and open to other options as well.

@ryanwelcher ryanwelcher added the [Component] Editor Related to using the post editor or site editor label Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Component] Editor Related to using the post editor or site editor
Projects
None yet
Development

No branches or pull requests

1 participant