Add custom fields to pages

By: Michael Clark | Asked: 05/31/2022
ForumsCategory: General questionsAdd custom fields to pages
Michael ClarkMichael Clark asked 2 years ago
Is it possible to add custom fields to pages that were _not_ created with the Create Posts action?
Bobby Clapp replied 2 years ago

Maybe this -> https://wordpress.org/plugins/meta-box/

1 Answers
Victor Font answered 2 years ago
You can use ACF to define fields or you can do it manually in PHP.
Michael ClarkMichael Clark replied 2 years ago

<p>Yeah. I was hoping for some magical way in the Formidable app, I should have been more clear.</p><p>Having the ability to set conditions on pages, sections, and elements is *very* compelling and useful. I used to scaffold with Formidable by taking my information architecture doc, and creating all the pages by importing a CSV of pages into a form. Then, before adding *any* content, I'd review whether there were any highly custom/specific workflows that needed to be accommodated where custom fields and conditional logic at the page level would be an ideal and sustainable fit.</p><p>On one project, the customer wanted to control the volume and velocity of orders (food service during a pandemic that had never done online ordering). The boss could toggle item availability with a tap on his phone, and with custom fields, I made it so he could toggle his whole shop on or off with a tap. Completely different digital workflows based on the value of a single custom field. Yay.</p><p>Didn't start this project like that, though. It's a major overhaul of an older project and I simply spaced on it. So I was wondering if there was some snippet floating around out here somewhere I could look at to see if there's a way to get the pages into Formidable without nuking the content. I guess I could just do my usual thing and migrate the content. It's not that much, yet. :P</p>

Victor Font replied 2 years ago

Once a custom field is created on a page, it can be accessed in a variety of ways either using Formidable functions or WordPress functions. Formidable uses the WordPress infrastructure to create the custom fields in a post/page.

Now, when you say "see if there's a way to get the pages into Formidable without nuking the content.", do you mean you want to create form entries from the WordPress post? If so, the knowledge base explains how to do this: https://formidableforms.com/knowledgebase/create-posts/#kb-create-entry-from-post

Michael ClarkMichael Clark replied 2 years ago

Thanks,Victor!

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community
crossarrow-right