Title: shotcode error
Last modified: October 10, 2022

---

# shotcode error

 *  Resolved [stephenboluwatife1](https://wordpress.org/support/users/stephenboluwatife1/)
 * (@stephenboluwatife1)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/shotcode-error/)
 * I try adding this shotcode [wpfrom_d1] to the form of user but it did not display
   the content on the shotcode it suppose to show please help me fix this issues
   I try adding shotcode to the form in calculator but not display please help 🥺
   🥺🥺

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

 *  Plugin Author [codepeople](https://wordpress.org/support/users/codepeople/)
 * (@codepeople)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/shotcode-error/#post-16081555)
 * Hello [@stephenboluwatife1](https://wordpress.org/support/users/stephenboluwatife1/)
 * Thank you very much for using our plugin. Our plugin renders the forms on the
   client-side (the browser) with JS. We cannot guarantee third-party codes do not
   break our form structures and for this reason, our plugin does not support third-
   party shortcodes.
 * If you need a custom coding service to integrate third-party plugins into the
   forms generated by our plugin, do not hesitate to contact us directly through
   our website:
 * [https://cff.dwbooster.com/contact-us](https://cff.dwbooster.com/contact-us)
 * Best regards.
 *  Thread Starter [stephenboluwatife1](https://wordpress.org/support/users/stephenboluwatife1/)
 * (@stephenboluwatife1)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/shotcode-error/#post-16082851)
 * I need a custom code to display third party shotcode
 * [https://astrocash.com.ng/?cff-form=1](https://astrocash.com.ng/?cff-form=1)
 * [https://photos.app.goo.gl/PmyGFkZW7yJraGAZ7](https://photos.app.goo.gl/PmyGFkZW7yJraGAZ7)
   this is the image of the calculator filed plgin am using
 *  Plugin Author [codepeople](https://wordpress.org/support/users/codepeople/)
 * (@codepeople)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/shotcode-error/#post-16082855)
 * Hello [@stephenboluwatife1](https://wordpress.org/support/users/stephenboluwatife1/)
 * As I said in the previous entry, the plugin does support third-party shortcodes
   into the form structure.
 * Best regards.
 *  Thread Starter [stephenboluwatife1](https://wordpress.org/support/users/stephenboluwatife1/)
 * (@stephenboluwatife1)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/shotcode-error/#post-16082963)
 * Okay how can I add html code to display the content in the form
 *  Plugin Author [codepeople](https://wordpress.org/support/users/codepeople/)
 * (@codepeople)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/shotcode-error/#post-16082975)
 * Hello [@stephenboluwatife1](https://wordpress.org/support/users/stephenboluwatife1/)
 * Insert an “HTML Content” field in the form and enter the HTML tags as its content.
 * Best regards.
 *  Thread Starter [stephenboluwatife1](https://wordpress.org/support/users/stephenboluwatife1/)
 * (@stephenboluwatife1)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/shotcode-error/#post-16083009)
 * I try adding this html contect but it did not display
 * function get_current_user_id() {
        if ( ! function_exists( ‘wp_get_current_user’)){
   return 0;     }     $user = wp_get_current_user();     return ( isset( $user-
   >ID ) ? (int) $user->ID : 0 ); }
 *  Thread Starter [stephenboluwatife1](https://wordpress.org/support/users/stephenboluwatife1/)
 * (@stephenboluwatife1)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/shotcode-error/#post-16083019)
 * Also try adding this same issues it did not display
 * function _wp_get_current_user() {
    global $current_user;
 *  if ( ! empty( $current_user ) ) {
    if ( $current_user instanceof WP_User ) {
   return $current_user; }
 *  // Upgrade stdClass to WP_User.
    if ( is_object( $current_user ) && isset( $
   current_user->ID ) ) { $cur_id = $current_user->ID; $current_user = null; wp_set_current_user(
   $cur_id ); return $current_user; }
 *  // $current_user has a junk value. Force to WP_User with ID 0.
    $current_user
   = null; wp_set_current_user( 0 ); return $current_user; }
 *  if ( defined( ‘XMLRPC_REQUEST’ ) && XMLRPC_REQUEST ) {
    wp_set_current_user(
   0 ); return $current_user; }
 *  /**
    * Filters the current user. * * The default filters use this to determine
   the current user from the * request’s cookies, if available. * * Returning a 
   value of false will effectively short-circuit setting * the current user. * *
   [@since](https://wordpress.org/support/users/since/) 3.9.0 * * [@param](https://wordpress.org/support/users/param/)
   int|false $user_id User ID if one has been determined, false otherwise. */ $user_id
   = apply_filters( ‘determine_current_user’, false ); if ( ! $user_id ) { wp_set_current_user(
   0 ); return $current_user; }
 *  wp_set_current_user( $user_id );
 *  return $current_user;
    }
 *  Plugin Author [codepeople](https://wordpress.org/support/users/codepeople/)
 * (@codepeople)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/shotcode-error/#post-16083028)
 * Hello [@stephenboluwatife1](https://wordpress.org/support/users/stephenboluwatife1/)
 * Your block of code is PHP, a server-side programming language, the form is generated
   in the browser, the client-side. To call server-side code from the form, you 
   need to use the “SERVER SIDE Equations” add-on distributed with the Developer
   and Platinum versions of our plugin.
 * But we are not allowed to support any customers in these forums.
 * For pro or commercial product support please contact us directly on our site.
   This includes any pre-sales topics as well.
 * Commercial products are [not supported in these forums](https://wordpress.org/support/guidelines/#do-not-post-about-commercial-products).
   We will happily answer this and any other questions you can have [on our own site](https://cff.dwbooster.com/contact-us).
 * Thank you.

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

The topic ‘shotcode error’ is closed to new replies.

 * ![](https://ps.w.org/calculated-fields-form/assets/icon-256x256.jpg?rev=1734377)
 * [Calculated Fields Form](https://wordpress.org/plugins/calculated-fields-form/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/calculated-fields-form/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/calculated-fields-form/)
 * [Active Topics](https://wordpress.org/support/plugin/calculated-fields-form/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/calculated-fields-form/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/calculated-fields-form/reviews/)

 * 13 replies
 * 2 participants
 * Last reply from: [codepeople](https://wordpress.org/support/users/codepeople/)
 * Last activity: [3 years, 8 months ago](https://wordpress.org/support/topic/shotcode-error/#post-16083028)
 * Status: resolved