Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I'm trying to create a loop that only displays the post types: "photo" and "gallery".

If it's a gallery I would like to display only one of the images, preferably the first.

I'm a little confused because the codex says that the "standard" post format is really the absence of any declared format, but if I'm making a custom loop, and the user does not select a format, will standard posts get through?

Thanks very much.

share|improve this question

closed as not a real question by toscho Jul 16 '12 at 23:28

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

2  
You should post some of your code. –  Wyck Sep 29 '11 at 20:01

Browse other questions tagged or ask your own question.