• Resolved ianlebeau

    (@ianlebeau)


    I have created a form and was wondering if there was a way to display the entries on the front-end? Like in a page template file?

Viewing 1 replies (of 1 total)
  • Plugin Author fabianlindfors

    (@fabianlindfors)

    Hi!

    Entries in AF is just a regular custom post types and as such can be used just like any other post type. In a page template file you could create a new WP_Query and request posts of post type af_entry to get all entries. If you want to get entries for a specific form you can create a meta query on the meta key entry_form which points to a form key. ??

    Hope this helps!

Viewing 1 replies (of 1 total)
  • The topic ‘Display entries in a template file’ is closed to new replies.