Registration form shortcode not working in template file Home › Forums › User Registration › Registration form shortcode not working in template file This topic contains 3 replies, has 2 voices, and was last updated by kwilliams 2 years, 1 month ago. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts January 17, 2018 at 11:17 pm #1155 kwilliamsParticipant First of all, this plugin is a great simple solution for user registration! My issue: I’m trying to incorporate this registration form into a template file. I’m using the shortcode provided to me like so: <?php echo do_shortcode(‘[user_registration_form id="11164"]‘); ?> This renders the form just fine but when I click submit all that happens is the page refreshes without registering a user. This works just fine when I place it directly into a page via the editor on WordPress. I really need to include this form in my template. Is there something I’m doing wrong here or is there another method I can try to get this form to work properly? Thanks! January 18, 2018 at 4:23 am #1159 sanjeev3Member Hello kwilliams, The shortcode should and is working fine in template files too. The shortcode is also fine. Can you please provide your site link so that we can replicate the issue and we will figure out the possible solution. Thanks. Regards, WPEverest Support January 18, 2018 at 1:45 pm #1161 kwilliamsParticipant Hi, you can view the website here: https://lloydjonescapital.com/investments/ I also tested this issue on my local machine using a different wordpress theme and experienced the same issue. I appreciate your help! Edit: Actually, it works using the do_shortcode method when included in other parts of the website with the exception of the custom post type I’m using. January 18, 2018 at 3:13 pm #1164 kwilliamsParticipant After a bit more troubleshooting, it appears that the registration form doesn’t want to work on post templates (default or custom posts, single or archive). It works just find on custom page templates. Author Posts Viewing 4 posts - 1 through 4 (of 4 total) You must be logged in to reply to this topic.