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 🥺🥺🥺
-
Hello @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
Best regards.
I need a custom code to display third party shotcode
https://astrocash.com.ng/?cff-form=1
https://photos.app.goo.gl/PmyGFkZW7yJraGAZ7 this is the image of the calculator filed plgin am using
Hello @stephenboluwatife1
As I said in the previous entry, the plugin does support third-party shortcodes into the form structure.
Best regards.
Okay how can I add html code to display the content in the form
Hello @stephenboluwatife1
Insert an “HTML Content” field in the form and enter the HTML tags as its content.
Best regards.
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 );
}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 3.9.0
*
* @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;
}Hello @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. We will happily answer this and any other questions you can have on our own site.
Thank you.
The topic ‘shotcode error’ is closed to new replies.