• Resolved nbostic

    (@nbostic)


    Is there a way to make a form that creates a new entry for a CPT to redirect to the new entry on submission?

Viewing 1 replies (of 1 total)
  • Plugin Author Konrad Chmielewski

    (@hwk-fr)

    Hello!

    Thanks for the feedback. Yes it is possible. Every actions generate a query var that let you retrieve information about the newly generated E-mail, Post, Term, User. To retrieve those information, you should set an “Action Name”, so you can easily retrieve it using {query_var:custom-action-name}.

    For the Post Action, the newly created Post URL will be stored in the permalink key. So you can set {query_var:custom-action-name:permalink} in the “Redirection” setting.

    See screenshots: https://imgur.com/a/W2aiGXT

    Note that I’m currently working on a fully fleshed documentation that will explain all those features. It should be out pretty soon.

    Hope it helps!

    Have a nice day.

    Regards.

Viewing 1 replies (of 1 total)

The topic ‘Form redirect to new post’ is closed to new replies.