Custom Fields
Re-Envisioned
Support MB Custom Post Type Custom Field in backend to dynamic text in post

  • Creator
    Topic
  • #30461
    Resolved Steevn
    Participant

    Hi,

    I don't really know where yo put this. Hopefully this is correct.

    I'm trying to create a post type (eg: documents) in which I have put a couple of pre-made documents (eg: privacy policy). The client can go find that post, open it up and fill in custom fields (eg: Company name, address, ...), and after updating the post, the fields are automatically updated in the document.
    The document is created in the basic Gutenberg WordPress editor.

    Is there a way to create a custom field set (group) for a custom post type, in which if you fill in the custom fields, those fields update certain words in the Gutenberg editor.

    Example:

    Custom field: [NAME] = Steevn

    Gutenberg Text:
    This is the document of [NAME].

    Text on the frontend:
    This is the document of Steevn.

    Hopefully this is possible and thanks beforehand for the help!

    Beste regards as well

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.