Tagged Questions
0
votes
2answers
69 views
Determine if ID is page or post and query the ID
I want to look up a page id and determine if it's a page or post. Then query that id and display stuff like title, featured image, etc.
This works for Pages:
query_posts('page=' . ...
0
votes
1answer
970 views
Display posts from an array of ID's
The result of the query so far is the print of the array, Array ( [0] => 309 [1] => 10 ), 309 & 10 are the correct id's of the posts I want to display, and "No posts were found" the result of ...