Support » Plugin: WP Better Attachments » How to not attach images from custom fields?

  • Qarlo

    (@qarlo)


    Hello,
    I’m using Wp Better Attachments to rearrange images attached to some posts to then display them in a carousel in the order I want. In these same posts I’m also using a custom field created with the Advanced Custom Fields plugin to upload another image with a different purpose. This image must not appear in the Wp Better Attachment list, but everytime I update the post (clicking on the WordPress “update” button) the image gets added and I have to Un-attach it every time.

    Is there any option or anything else I can do to avoid this?

    Thank you!

Viewing 1 replies (of 1 total)
  • Plugin Author dholloran

    (@dholloran)

    Hi Qarlo,

    Not sure if there really would be a way. Anything that is uploaded to a post is technically an attachment.

    There may be some way to hook into the ACF upload and remove the attachment reference since this is something WordPress handles and WPBA just retrieves the attachments and adds somethings on top

    If you have ACF Pro you can use the repeater and replace WPBA totally not sure if that’s an option.

    Sorry that I couldn’t be more help.

Viewing 1 replies (of 1 total)
  • The topic ‘How to not attach images from custom fields?’ is closed to new replies.