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

The filter on bbp_has_forum doesn't catch $args from original query #4

Open
matrixino opened this issue Dec 5, 2013 · 1 comment
Open
Assignees

Comments

@matrixino
Copy link

When using this plugin in combination with an alternate forum display (for example showing first-level subforums on the home too) the output is just a repeated list of main forums. I add a citation from the mod's author topic on bbpress forums.

I checked the code of this plugin and it uses a filter on bbp_has_forums
that tries to catch the $args from the original query but they are not
transmitted through the filter in bbPress, so it uses the default ones and
doesn’t take care of the post_parent argument. You should try to contact
the author of the plugin, maybe he can alter the query without parsing all
args again. The Codex says it is possible with $query->set().

A discussion about this here: http://bbpress.org/forums/topic/forums-index-in-the-same-layout-as-other-bb-software/#post-137581

@ghost ghost assigned ZanderAdam Dec 5, 2013
@ZanderAdam
Copy link
Owner

Thanks for letting me know. I'll start looking into this.

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

No branches or pull requests

2 participants