Title: When do shortcodes get loaded?
Last modified: August 30, 2016

---

# When do shortcodes get loaded?

 *  Resolved [Darryl.R](https://wordpress.org/support/users/darrylr/)
 * (@darrylr)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/when-do-shortcodes-get-loaded-1/)
 * Hi
 * After which WP hook do the shortcodes for this plugin get loaded?
 * Contact form short codes work after `<?php require_once('wp-load.php'); ?>` is
   loaded on a page.
 * My website is completely locked to the public; and I’ve used contact form 7 to
   capture user registration requests, but I want a more fluent system. I was hoping
   that I could include your shortcode in a custom page outside of WordPress that
   will allow users to register with more detail. For example:
 *     ```
       <?php require_once('wp-load.php'); ?>
       <html>
       <head>
       <title> User Registration Request </title>
       </head>
       <body>
       <?php echo do_shortcode( '[wppb-register]' ); ?>
       </body>
       </html>
       ```
   
 * Thanks
 * [https://wordpress.org/plugins/profile-builder/](https://wordpress.org/plugins/profile-builder/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [Cristian Antohe](https://wordpress.org/support/users/sareiodata/)
 * (@sareiodata)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/when-do-shortcodes-get-loaded-1/#post-6781951)
 * That should work just fine, however please test it out. All you have to do is
   install the free version and see if it works.
 *  Thread Starter [Darryl.R](https://wordpress.org/support/users/darrylr/)
 * (@darrylr)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/when-do-shortcodes-get-loaded-1/#post-6781953)
 * Hi
 * Thank you
 * Yes, I got it to work, I see the form, however when I submit the form I’m getting
   the following error:
 * > ERROR: Sorry, there was an error. Please be sure JavaScript and Cookies are
   > enabled in your browser and try again.
 * Thanks
 *  Plugin Author [Cristian Antohe](https://wordpress.org/support/users/sareiodata/)
 * (@sareiodata)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/when-do-shortcodes-get-loaded-1/#post-6781954)
 * That’s not from our plugin.
 * Are you using the “WP-SpamFree Anti-Spam” plugin. I have found that the error
   could be generated by that plugin. If you are using it can you try disabling 
   it and try again?
 *  Thread Starter [Darryl.R](https://wordpress.org/support/users/darrylr/)
 * (@darrylr)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/when-do-shortcodes-get-loaded-1/#post-6781958)
 * Ok, that seems to have sorted it. Its WP-Spamshield that I’m using.
 * Thanks for the assistance!
 *  Plugin Author [Cristian Antohe](https://wordpress.org/support/users/sareiodata/)
 * (@sareiodata)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/when-do-shortcodes-get-loaded-1/#post-6781973)
 * I’m glad that worked out for you!
 * Also, I was wondering, once you will have started using PB for a while, will 
   it be too much to ask for you to leave a review of PB on [http://wordpress.org/support/view/plugin-reviews/profile-builder](http://wordpress.org/support/view/plugin-reviews/profile-builder)?
   One or two sentences will do it and it may help us to reach more people as well
   as get feedback from existing users.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘When do shortcodes get loaded?’ is closed to new replies.

 * ![](https://ps.w.org/profile-builder/assets/icon-256x256.png?rev=2961144)
 * [User Profile Builder - Beautiful User Registration Forms, User Profiles & User Role Editor](https://wordpress.org/plugins/profile-builder/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/profile-builder/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/profile-builder/)
 * [Active Topics](https://wordpress.org/support/plugin/profile-builder/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/profile-builder/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/profile-builder/reviews/)

## Tags

 * [hook](https://wordpress.org/support/topic-tag/hook/)
 * [Registration](https://wordpress.org/support/topic-tag/registration/)

 * 5 replies
 * 2 participants
 * Last reply from: [Cristian Antohe](https://wordpress.org/support/users/sareiodata/)
 * Last activity: [10 years, 5 months ago](https://wordpress.org/support/topic/when-do-shortcodes-get-loaded-1/#post-6781973)
 * Status: resolved