@aesqe, I got the correct attachments list by modify the input of ID in main-form.php: <?php echo file_gallery_list_attachments($count_attachments, $_POST['post_id'], $attachment_order, $checked_attachments, $attachment_orderby); ?>
Now the attachments of current post get loaded. I’m not sure if this is a bug or it’s just my theme’s problem.
by the way, the question #2 still not solved. If I set link to parent-post, I can see a shortcode is printed in editor. But, if not set to parent-post, I get nothing. What is supose to happen when click Insert a file or a gallery?
Viewing 1 replies (of 1 total)
The topic ‘[Plugin: File Gallery] Attachment list loads wrongly’ is closed to new replies.