• Resolved et3rnal

    (@et3rnal)


    Hi,

    I want to detect a text (maybe inside the subject just like the categories, or any other way) then insert that text in a post “Custom Field” with a specific name.

    After some search I found out about the “filter” should help me do it, but there is no much information about them?.
    I hope someone already came up with such a filter :p.

    thanks for the great plugin.

    https://wordpress.org/plugins/postie/

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

    (@wayneallen-1)

    After much searching and trying to figure out how to code it myself (without any luck!) I found this old post which recommends using the ‘Custom Shortcodes’ plugin which automatically adds a custom field based on a custom field within the post.

    It’s an old plugin but I’ve just tested it on WP 4.0 and it works! Hurray!

    So now it’s a case of incorporating the shortcode in to the email that creates the postie post:

    [custom name=”field-name” value=”field-value”]

    Hope this helps anyone else looking for a solution to this.

    Thread Starter et3rnal

    (@et3rnal)

    Great thx :), in my case im about to ignore “postie” and use different approach to do what i want. however postie doing a great job till now :).

    can you explain, how you insert the string in the mail, so that postie recognize it?

    @jatsound

    It depends how you are collecting the emails, but I have a contact form (using ContactForm7) and have just included the shortcode in to the email that the form sends to me when people submit it via my website.

    So in the ‘Message body’ I have included

    [custom name="Author Email" value="[your-email]"]
    [custom name="Author Name" value="[your-name]"]

    Hope that helps 🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Custom Field with postie’ is closed to new replies.