Multiple Posts at Once & Multiple Meta-Data fields at once
-
I don’t know if this should be two separate questions, but they are distinctly related so I’m putting them together. I have a site where I would like to use the JSON API to retrieve multiple Posts by ID at once. Is this possible? If so, what does the syntax look like?
The second part of the question is I have “turned on” a number of metadata fields for viewing. I would also like to search for posts using multiple custom fields at once (i.e. City and State custom fields). Is this possible? Whenever I put them into the URL at the same time (i.e. meta_key=City&_meta_value=Minneapolis&meta_key=State&meta_value=Minnesota), it always ignores the first pairing and only searches based on the second pairing. Am I missing something here?
- The topic ‘Multiple Posts at Once & Multiple Meta-Data fields at once’ is closed to new replies.