• Resolved Dmitry

    (@outlawgt)


    I created a post form for users to submit user-submitted posts.

    I tested out the form and filled out the fields but when I view the post it seems to only show the title and not the metadata included in the post fields.

    How do I show the metadata in the post? for example, the users name, picture, details, it shows it in the preview but not in the post itself.

    Also how do I get the posts to show up on a specific page once I approve them. Great plugin by the way I’m new so please bare with me lol

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Patrick – WPMU DEV Support

    (@wpmudevsupport12)

    Hi @outlawgt

    I hope you are doing well.

    We are happy to hear you like the plugin, our team work hard to provide a great plugin.

    By default, the post data field will have the default fields, post content, title, featured image, tags and category.

    If you would like to extend the content you can use the regular fields with a custom field mapping: https://wpmudev.com/docs/wpmu-dev-plugins/forminator/#custom-fields so this will use the WordPress custom fields.

    You can also use ACF and map the ACF fields but some fields type may not work.

    But to render those data on the frontend you will need to customise your post template using some WordPress functions: https://www.wpbeginner.com/wp-tutorials/wordpress-custom-fields-101-tips-tricks-and-hacks/

    Some page builders like Oxygen, Divi, Elementor Pro and others has the option to bring the custom field data to the post template without any custom coding, so in case you are using any builder other than Gutenberg, I suggest taking a look at it.

    Also how do I get the posts to show up on a specific page once I approve them. Great plugin by the way I’m new so please bare with me lol

    Well, Forminator will create a regular WordPress post so any plugin to show posts would work for example https://wordpress.org/plugins/display-posts-shortcode/ in case you are using a page builder it probably has a native widget.

    Best Regards
    Patrick Freitas

    Thread Starter Dmitry

    (@outlawgt)

    Hi patrick,

    Thanks for the reply,

    So if I wanted to have fields like this example site https://getonlinevotes.com/contest/fabover40-7/

    I would need to edit the template files or get something like ACF to compliment forminator?

    In the link above my dev used toolset to create the custom posts and fields since toolset has a learning curve I thought forminator could make the proccses more easy without editing templates to add the user-submitted fields in the post.

    Thanks

    Plugin Support Adam – WPMU DEV Support

    (@wpmudev-support8)

    Hi @outlawgt

    Yes, you would need to either customize template file or use ACF or similar (Toolset should work fine too) to create custom fields and set their display.

    You only need to remember that:

    1. Formiantor doesn’t “detect” data format in custom field. If you use ACF or Toolset or similar, you can create custom field that use different data formats – a regular text field or URL field or data field and so on; Forminator will ONLY send raw text data to them so best to use regular text fields.

    2. Fields that you create in ACF (or other plugin) need to have names same as labels that you used in “postdata” field of the form – so the would be properly mapped.

    Best regards,
    Adam

    Plugin Support Kasia – WPMU DEV Support

    (@wpmudev-support2)

    Hello @outlawgt ,

    We haven’t heard from you for over a week now, so it looks like you don’t need our assistance anymore.

    Feel free to re-open this ticket if needed.

    Kind regards
    Kasia

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Show post content.’ is closed to new replies.