when I try to get attachments of a specific post with a post format that is not standard I get an empty array. However when I use the same exact code with standard post types, it works just right returns all the right attachments.
This is the code I am using inside the loop:
$children = get_children(array(
'post_parent' => $post->Cus_ID,
'post_type' => 'myattachment'
If anyone can help me out, I would be greatful.
Thanks and regards,