Support » Plugin: File Gallery » [Plugin: File Gallery] Attachment list loads wrongly

  • Hello Aesqe,
    Thanks for the wonderful plugin! It offers all the features that I love. However, the features not fully dancing for me yet.

    1. When I create a new post, in the File Gallery Attachment List, all attachments in WP Library get loaded. I guess it should load only the attachments that attached to current post?

    2. When I check a file and click Insert a Single File or Insert a Gallery, nothing happens. After save post, from the Library list, I can see no file is attached to the post.

    3. If I click refresh, all files gone. It says 0 attachments even when I already uploaded a new file to current post(can see it is attached to the post in WP Library list).

    What should I do to get the attachment list showing current post’s attachments?


Viewing 1 replies (of 1 total)
  • @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.