• Resolved crossic

    (@crossic)


    Hello dear professionals.

    I was trying to search the forum for similarities but I wasnt lucky enough, so I would love to ask for help.

    I need to have a specific form (looks like somehow like on the link mentioned above) and based on that form I need to have a new post to be generated and be placed in right categories.

    I am not able to achieve the desired look of generated post. I want the post looks like:

    name, added files to be shown there, description text, hidden text (not displayed at all) and the “copy to clipboard” button (which will copy the text which wont be displayed – something like hidden text string)

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Jair – WPMU DEV Support

    (@wpmudevsupport15)

    Hi @crossic,

    I hope you are doing well today!

    I created a similar form based on the URL you have provided. Please import it to your site and adjust accordingly.
    https://justpaste.it/ag3n3

    You can find more info on how to import the forms here : https://wpmudev.com/docs/wpmu-dev-plugins/forminator/#import-export

    Kind regards,
    Zafer

    Thread Starter crossic

    (@crossic)

    Hi Zafer,

    thank you so much for getting back that quick, unfortunately your form dost the same like my one :X It generates the post, but the picture is not included, text string and copy to clipboard button is not there either :X

    I would love to get the post which looks like this one:

    https://twinauras.twinstar-wow.com/2024/02/25/blood-ui/

    Plugin Support Laura – WPMU DEV Support

    (@wpmudev-support8)

    Hi @crossic

    Thank you for response!

    Please note that Forminator is not responsible for how the post is actually displayed. It creates posts based on WordPress standards and the way it is presented to the user/visitor is a separate thing – by default depends on the theme but if it needs to be customized, you may need to create a child them and additional post templates and/or use some additional custom code or plugins to change the way post shows and behaves. Furthermore, it won’t generate output/HTML that would normally be created by your page builder.

    Getting back to your initial requirements:

    1. on the example post images are in post content – form can only add a) featured image (so your theme/post template would need to use that) b) or can map uploaded image to custom post field – then again, your theme/post template would need to read that custom field and display image from it;

    2. hidden text – that again means user of custom post fields: add a text field to the form and map that field to “Custom fields” of the “post data” on the form; then whatever is entered into that text field would be stored as post custom meta data and whether you display it or not, it’s up to you/your theme.

    Here is more about fields mapping to custom meta:

    https://wpmudev.com/docs/wpmu-dev-plugins/forminator/#custom-fields

    In general, to achieve what you want you’d mostly need to utilize custom fields and then create a custom page template that displays content the way you want based on those custom fields (that is, aside the post title and “description” – content – and categories, which are all standard post elements).

    3. As for the missing button – that’s not related to Forminator at all; it cannot add any functions/features to the posts and should not do it. It’s completely up to the theme’s/site’s functions (so either needs to be coded into theme or as an additional custom code or using some 3rd-party additional plugin).

    Kind regards,
    Adam

    Thread Starter crossic

    (@crossic)

    Thank you so much for the answer. I thought it has to be done by custom edits, I was just hoping someone has already had something similar 🙂

    I got it to work already. Thank you so much 🙂

    Thread Starter crossic

    (@crossic)

    I might have found another trouble for I didnt find answer in the documentation, is there a possibility to have a chance set only the specific categories to be displayed in category select of post creating form?

    • This reply was modified 2 years ago by crossic.
    • This reply was modified 2 years ago by crossic.

    Hi @crossic

    Please follow this guide and code https://wordpress.org/support/topic/forminator-post-data-only-specific-article-categories-allowed/#post-13786691 which seems to be still valid and works well.

    Kind Regards,
    Kris

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Specific post form’ is closed to new replies.