Using a child theme of WP 2013 theme...
In Settings > Reading, 'Front page displays' I have selected 'static page' and assigned it a page titled Home. For that page, I've assigned a custom template.
That template calls a custom shortcode that displays a form for creating a custom post. And a loop to show the 10 most recent post of that cpt.
Everything works fine - except that on submit, it refreshes to the archive page for the category assigned when creating the custom post.
So it searches for that category.
If I call the same shortcode on a different page, such as Contact, that isn't a front page, then on submit it will refresh to that page.
Why does it search for the category when submitted from the front page? And how can I stop it?