• Resolved Craig Hordlow

    (@chordlow)


    I’m building a press release submission site, and I’m trying to customize the display of posts with two kinds of data:

    1. Profile info collected at registration that will be displayed in posts – such as “company URL”, contact person for press releases (name, email, phone, etc.). I don’t want people to have to retype this info every time this submit a post. Currently I see how to collect the info on a registration form, but I don’t see how to add it to posts when they are displayed.
    2. Info collected with a custom field on post form – such as a subtitle. I see how to add a text field on the form for a subtitle, but I don’t see how to display it on posts.

    I hope I described that well.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Hello @chordlow,

    1. That means you want to add author custom information with the submitted post. You cannot do it directly with post form but use custom code. WP User Frontend has two actions which run after submitting a post form, so you just need to hook your functions with them. Here are two actions:

    wpuf_add_post_after_insert
    wpuf_edit_post_after_update

    Please check the example code there.

    2. To display custom field data with the post just enable Custom Fields in Post from User Frontend > Settings > Frontend Posting

    Thanks

Viewing 1 replies (of 1 total)
  • The topic ‘Displaying Registration & Custom Field Post Data’ is closed to new replies.