-
Notifications
You must be signed in to change notification settings - Fork 35
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
Method to add meta clause to the search query #9
base: master
Are you sure you want to change the base?
Conversation
Added condition for meta values of posts, connected through posts2posts wordpress plugin https://github.com/scribu/wp-posts-to-posts/
same here... |
@brandonwamboldt this one seems like the better pr to try and merge, as it allows people to make their own |
@josegonzalez It's not quite how I'd want to do it, so I'm working on a bit more flexible way of doing a where on a joined table, that way it's not restricted to custom post types/regular post types (I primarily work with custom tables). |
Gotcha, works for me. We also use custom tables at work, so that would be ideal :) I would therefore close these two PRs |
Hello, @brandonwamboldt |
@antongorodezkiy I'll evaluate both, though that wasn't the issue I was referring to. You've hard coded the table as |
@brandonwamboldt oh, sorry) I really missed that hardcode. 👍 |
10ffb93
to
316a81e
Compare
Method to add meta clause to the search query