The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Custom Content Type Manager
How To Attach Form Submissions To Custom Type (3 posts)

  1. ecoevolver
    Posted 3 years ago #

    Hi There,

    I've created a custom content type called "Plants", and each "plant" I'd like to attach gravity form submissions. For example, I have a daily maintenance form. I'd like all forms submitted for a particular plant to be listed on that Plant's page.

    So you can see a record of form submissions on the plant page. I don't need to load the data from the gravity forms, just the title and link to the data.

    Can someone point me in the direction of how i might do this?


  2. ecoevolver
    Posted 3 years ago #

    I'm thinking this the other way around...How do I query the database to grab all Posts of type "Plant". If I can get a list of id's I can store the plant id in the gravity form.


  3. fireproofsocks
    Plugin Contributor

    Posted 3 years ago #

    If you want to grab a list of posts, you can use WP's built-in functions (which I do not recommend), or use the CCTM's included GetPostsQuery class, either in your template files or via a shortcode:


Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic


No tags yet.