Modify an existing post type
Create a new form and set Post Management
as action.
You can select the post type to be modified in two ways.
Select the post from the new form modal
Pick up the desired post type and select the Post to edit, like in this example:

Injecting pid in the shortcode
Add pid to the shortcode:
[acpt_form id="e45b2639" pid="123"] // where 123 is the ID of the post
This particular syntax can also be used in a post loop:
if ( have_posts() ) {
while ( have_posts() ) {
the_post();
echo do_shortcode('[acpt_form id="e45b2639" pid="'.get_the_ID().'"] ');
}
}
Be careful, if the post ID is wrong, the form will not be displayed.
Last updated