Hi,
I have built a looper to show all PDF attachments of a certain page.
The problem ist, that only 10 entries are output.
This is my query string:
post_type=attachment&post_mime_type= application/pdf&numberposts=-1&post_status=-1&post_parent={{dc:post:id}}
I did set “numberposts” to anything, but it stays the same.
When I change the value in Wordpress > Backend > Settings > Read > “Blog pages show a maximum of … posts” from 10 to to a higher value, then it works.
But this is not workaround, because on my blog page the number of posts changes, too, of course.
Hope you can see whats going on here.
Best regards and many thanks,
Hannes