• Resolved Kimball31

    (@kimball31)


    Is there a way to add a WP post_excerpt field to a Custom Form?

    On a whim, I tried these two fields in my Custom Form but neither one got submitted:
    A:
    <input id=”user-submitted-excerpt” name=”user-submitted-excerpt” type=”text” value=””
    placeholder=”excerpt” required=”” class=”usp-input”>

    B:
    <input id=”post_excerpt” name=”post_excerpt” type=”text” value=””
    placeholder=”excerpt” required=”” class=”usp-input”>

Viewing 1 replies (of 1 total)
  • Plugin Author Jeff Starr

    (@specialk)

    The plugin only processes known fields, so adding new ones won’t really do anything other than appear on the form itself. A possible workaround would be to:

    1) Use the Custom Form
    2) Enable the Custom Field

    Then in your theme template, you can display the excerpt by calling the custom field (instead of using the_excerpt() or similar).

Viewing 1 replies (of 1 total)
  • The topic ‘Submit post excerpt?’ is closed to new replies.