• Resolved kath7720

    (@kath7720)


    Hi there,

    I’m assisting a non-profit with some website/workflows help and Postie is a great solution for a regular task. I’m thinking that what I want to do requires the shortcode add-in, but before I spring for it, I want to be sure it is the answer.

    Side note: I’m a tinkerer NOT a developer.

    The task: Our website uses a custom post type with a custom field for a document that is uploaded weekly. The person who does it is uncomfortable logging into WordPress and doing this, hence welcoming the ability to “email” it to the website.

    The only available field in this custom post type is a field called “file upload.” I need the value of this custom field to be the email attachment. Is that possible with the shortcode add on? Is there another way I should be doing this?

    Since this is the only task we’ll be using Postie for right away, I have set the default post type to equal this custom post type. That part is working beautifully.

    Thank you for your help!

Viewing 1 replies (of 1 total)
  • Plugin Author Wayne Allen

    (@wayneallen-1)

    The shortcode addon will not help in this case. What you are asking for is custom logic, which while not difficult will require someone who is a developer.

    Essentially you need to use the postie_post_after filter to get the attachment name and set the custom field value. See https://postieplugin.com/postie_post_after/

Viewing 1 replies (of 1 total)
  • The topic ‘Attachments as Custom Field’ is closed to new replies.